Questions tagged [rasa]

Use this tag for general questions concerning Rasa, the open source machine learning framework. For questions concerning Rasa NLU, the module for understanding user messages, use [rasa-nlu]. For questions concerning Rasa Core, the module for holding conversations and deciding what to do next, use [rasa-core]. For questions concerning Rasa X, the tool for improving assistants from real conversation data, use [rasa-x].

Rasa is an open source machine learning framework for building contextual AI assistants and chatbots. The web site is https://rasa.com/

The framework is composed of two main modules, NLU and Core, along with the Rasa X tool which provides assistance in building AI assistants with Rasa.

751 questions
3
votes
2 answers

Issue in installing ujson in ubuntu

I am trying to install ujson which is required dependency for the installation of RASA. The command I triggered is follows: sudo pip3 install ujson And got the following error message. WARNING: The directory '/home/kamaldeep/.cache/pip' or its…
3
votes
7 answers

Getting command not found: rasa on using rasa commands

I have installed rasa using: pip3 install rasa When I try to use rasa commands like: rasa init I get zsh errors: command not found: rasa error I am on Mac OS Catalina, using: Python version 2.7.16 Python3 version 3.7.6 pip version 19.2.3 My…
Nikhil Bansal
  • 163
  • 3
  • 16
3
votes
1 answer

How to add buttons in RASA chatbot?

I want a chatbot with buttons for example, How are you feeling? Sad or Happy. I want two-buttons(one for happy and one for sad) here and get input from the user and followed by other questions. What will be the stories.md, nlu.md, domain.yml, and…
Avinash
  • 485
  • 1
  • 7
  • 15
3
votes
6 answers

RASA - rasa run actions - localhost issues

I am learning Rasa using the RASA masterclass youtube channel. https://www.youtube.com/channel/UCJ0V6493mLvqdiVwOKWBODQ It has all worked until it has come to loading actions. Each time I use rasa run actions in the command prompt (the first of the…
ben121
  • 879
  • 1
  • 11
  • 23
3
votes
1 answer

Google Interactive Canvas with rasa

As Dialogflow is closed Source and hosted on Googles Server, is it possible to use interactive Canvas with e.g. RASA, or other alternatives? I was going through the tutorial of interactive canvas and always had to deploy on firebase or google cloud,…
3
votes
1 answer

AttributeError: module 'keras.backend' has no attribute '_BACKEND'

I am following a book on building chat bots and continue running into this error when attempting to start interactive learning. The full error is this: Traceback (most recent call last): File "train_initialize.py", line 18, in agent =…
3
votes
4 answers

Rasa Timeout Issue

When running Rasa (tried on versions 1.3.3, 1.3.7, 1.3.8) I encounter this timeout exception message almost every time I make a call. I am running a simple program that recognises when a user offers their age, and stores the age in a database…
MrRedstone
  • 45
  • 1
  • 3
3
votes
0 answers

sanic.exceptions.MethodNotSupported: Method GET not allowed for URL /model/parse

I am working on a rasa chatbot. For training the chatbot, I added all the training data to the nlu.md file. I added the stories to the stories.md file. I configured the domain.yml file and I also created a few custom actions that the bot should run…
Sashaank
  • 880
  • 2
  • 20
  • 54
3
votes
1 answer

Chatbot to use pdf documents as source

I am looking at creating a simple chatbot which can use a pdf file as it's source. For example, the input to the chatbot can be a bank's terms and conditions document and the chatbot would respond to a question which are related to the contents of…
Ashok KS
  • 659
  • 5
  • 21
3
votes
1 answer

How to use DucklingHTTPExtractor in RASA?

I’m trying to extract entities using `DucklingHTTPExtractor. Here is the relevant code: pipeline: - name: "SpacyNLP" - name: "SpacyTokenizer" - name: "RegexFeaturizer" - name: "SpacyFeaturizer" - name: "CRFEntityExtractor" - name:…
vivekanon
  • 1,813
  • 3
  • 22
  • 44
2
votes
1 answer

How to edit and confirm form slots in Rasa framework?

I'm building a booking bot using Python and Rasa. I want to add a confirmation step when user fills in all slots in my form. The requirements are: User may confirm the values. User may change the values. Bot must be expandable to handling other…
2
votes
0 answers

Unable to execute the command rasa run actions

I am using python 3.10.11 and rasa 3.6.0 After editing actions.py file by adding custom action code when I try to execute rasa run actions I am getting an error ModuleNotFoundError: No module named 'rasa_sdk_plugins' Hence the code isn't getting…
2
votes
0 answers

Rasa run -m models –enable-api –cors“ * ”–debug” not connecting to webchat

I'm facing with the problem is same as this link (https://forum.rasa.com/t/rasa-run-m-models-enable-api-cors-debug-not-connecting-to-webchat/26728/8) So help me pleaze
2
votes
2 answers

How to create a custom connector in rasa for Viber connectivity

How to create a custom connector in rasa for Viber connectivity • This is my current custom connector file. the file name is viber.py and I am using rasa 2.8 ( I had to hide the hostname in webhook) from http.client import HTTPResponse from…
2
votes
0 answers

Relative SpaCy model import with variable name in YAML

I’m creating a pipeline to make it easy to train many bots. For this purpose I’ve tried to do add the following variable into my rasa config.yml pipeline: language: "../../language_models/${LANG_MODEL}" recipe: default.v1 pipeline: - name:…
1 2
3
50 51