Giter Site home page Giter Site logo

parulnith / building-a-conversational-chatbot-for-slack-using-rasa-and-python Goto Github PK

View Code? Open in Web Editor NEW
69.0 10.0 85.0 1.65 MB

A guide to creating a chatbot with Rasa stack and Python and deploying it on Slack

Python 1.84% Jupyter Notebook 98.16%
ai rasa chatbots python slack

building-a-conversational-chatbot-for-slack-using-rasa-and-python's Introduction

Building a Conversational Chatbot for Slack using Rasa and Python

This is a Github repo linked to the articles I wrote on Medium for Towards Data Science.

Building a Conversational Chatbot for Slack using Rasa and Python -Part 1

Building a Conversational Chatbot for Slack using Rasa and Python -Part 2

Through these articles, we are going to build a chatbot called ‘Robo’ capable of checking in on people’s mood and taking the necessary actions to cheer them up. We will then deploy it to Slack. It will be a fully function Slackbot capable of listening and responding to your requests. The demo screenshot below should motivate you enough to build one of your own.

Alt Text

building-a-conversational-chatbot-for-slack-using-rasa-and-python's People

Contributors

parulnith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

building-a-conversational-chatbot-for-slack-using-rasa-and-python's Issues

Error while trying to run run_app.py

Traceback (most recent call last):
File "run_app.py", line 1, in
from rasa_core.channels.slack import SlackInput
File "/usr/local/lib/python3.5/dist-packages/rasa_core/channels/init.py", line 17, in
from rasa_core.channels.console import CmdlineInput # nopep8
File "/usr/local/lib/python3.5/dist-packages/rasa_core/channels/console.py", line 2, in
import questionary
File "/usr/local/lib/python3.5/dist-packages/questionary/init.py", line 7, in
from questionary.prompt import prompt
File "/usr/local/lib/python3.5/dist-packages/questionary/prompt.py", line 8, in
from questionary.prompts import AVAILABLE_PROMPTS, prompt_by_name
File "/usr/local/lib/python3.5/dist-packages/questionary/prompts/init.py", line 2, in
from questionary.prompts import text
File "/usr/local/lib/python3.5/dist-packages/questionary/prompts/text.py", line 11, in
from questionary.prompts.common import build_validator
File "/usr/local/lib/python3.5/dist-packages/questionary/prompts/common.py", line 252, in
None]
File "/usr/lib/python3.5/typing.py", line 552, in getitem
dict(self.dict), parameters, _root=True)
File "/usr/lib/python3.5/typing.py", line 512, in new
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "/usr/lib/python3.5/typing.py", line 512, in
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "/usr/lib/python3.5/typing.py", line 1077, in subclasscheck
if super().subclasscheck(cls):
File "/usr/lib/python3.5/abc.py", line 225, in subclasscheck
for scls in cls.subclasses():
TypeError: descriptor 'subclasses' of 'type' object needs an argument

Import Error

ImportError: cannot import name '_BACKEND'
This is the error when using:
agent = Agent('domain.yml', policies=[MemoizationPolicy(), KerasPolicy(), fallback])

I am running the files on colab so Latest versions of Tensorflow(Version 1.8.0) and Keras(Version: 2.2.5) are running.
Also tried with version 2.0.0 of Tensorflow.
Facing the same issue. Kindly help.

Thank you,
Swetha Balaji

Faced issue while running your notebook on rasa core 0.12.4

It's running perfectly fine on the version you have specified.

Problem is with the custom action class. As per the latest document we need to use the string returned by the name function of the custom class in the domain.yml file under actions. But it wasn't working. Tried representing the way it was used for an earlier version, wasn't working too.

Any ideas to use it with the new version would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.