Questions tagged [rasa-nlu]

rasa NLU is an open source tool for intent classification and entity extraction. Use this tag when referencing rasa stack, particularly their Natural Language Understanding modules.

660 questions
2
votes
1 answer

Rasa entities are not readable in custom message

am building a conversational chatbot for slack using rasa, and everything is working fine, so i decided to add some interactive messages with custom message and buttons, but the entities are not readable in custom message. Rasa version: 1.3.7 Python…
Mehdi Hadji
  • 105
  • 2
  • 10
2
votes
1 answer

POST request changes to OPTIONS in RASA

The postman post request return a response from RASA NLU, however when replicating the same thing via the browser, the post request changes from POST request to OPTIONS request and there is no response from RASA NLU API.
Prometheus
  • 1,148
  • 14
  • 21
2
votes
1 answer

Rasa how to get a value (slot) from a user

I want rasa to respond to a user when they ask for a forecast for a part number. From what I have read, I understand I need to use a slot, but I can't find a clear example that I can understand on how to get the part number from the user. It would…
PrestonDocks
  • 4,851
  • 9
  • 47
  • 82
2
votes
2 answers

ERROR: Failed building wheel for httptools

while trying to install rasa nlu i am getting following error: Building wheel for httptools (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'e:\anaconda\python.exe' -u -c 'import sys, setuptools, tokenize;…
sajjan
  • 92
  • 1
  • 10
2
votes
2 answers

Encountering error running custom actions in rasa

I recently started working on rasa. My chatbot is simple. Whenever a user asks a question, the bot filters data from a sqlite3 database and return the result. I added the training examples, created stories for flow, and wrote a custom action to…
Sashaank
  • 880
  • 2
  • 20
  • 54
2
votes
1 answer

Rasa init cannot be executed

my rasa init --no-prompt is throwing some import error ImportError: This version of TensorFlow Probability requires TensorFlow version >= 1.14; Detected an installation of version 1.13.2. Please upgrade TensorFlow to proceed. Although when i tried…
DataDoctor
  • 113
  • 1
  • 3
  • 11
2
votes
2 answers

RASA X The path 'config.yml' does not exist. Please make sure to use the default location ('config.yml') or specify it with '--config'

i was trying to integrate rasa to google assistant: https://blog.rasa.com/going-beyond-hey-google-building-a-rasa-powered-google-assistant/ Then after rasa train, I get this error (voice_bot) arjun@arjun-Lenovo-ideapad:~/Desktop/rasa_google$ rasa…
2
votes
2 answers

How to make the bot send out multiple messages in sequence over REST API? [Rasa]

I have a conversation where the bot send out multiple replies. For example: User: “Hi” Bot: “Hello” Bot: “How can I help you?” Here the bot sends out multiple messages. In interactive mode this is working fine. However, after I setup the REST API…
Temp O'rary
  • 5,366
  • 13
  • 49
  • 109
2
votes
1 answer

Rasa Form Action - Slot getting filled with same data twice

I am trying to use FormAction of Rasa. Below are my details: MyForm class MyForm(FormAction): """My form action""" def name(self): return "my_form" @staticmethod def required_slots(tracker: Tracker) -> List[Text]: …
MSS
  • 3,306
  • 1
  • 19
  • 50
2
votes
1 answer

while training using rasa nlu ValueError: Unknown data format for file x.json

I'm training a json file data for intent classification using rasa nlu. When I am doing the training with any .md file it is working but when I tried with .json file it is showing error. I tried to validate the json file it is in correct…
2
votes
1 answer

Run RASA with flask

I want to run RASA with --enable-api inside the python code rather than the command line. Below is my code which is not working. Let me know how can i do that. The issue is once i hit the service because the channel is 'cmdline' it comes to the…
Ironman
  • 1,330
  • 2
  • 19
  • 40
2
votes
1 answer

Store RASA chat history in local file system

I am using RASA to create chat bot. I want to store the chat history as .txt file in local file system. I found that RASA support chat history storage for Mongo DB, Redis and SQL. However i want to store the chat history in local file system. Any…
Ironman
  • 1,330
  • 2
  • 19
  • 40
2
votes
2 answers

Lookup table not working in training data of Rasa NLU

I have examples for a particular intent also showing the entity, and I want the model to recognize other words which could be entities for that particular intent, but it fails to recognize it. ## intent: frequency * what is the frequency of…
AMG
  • 55
  • 2
  • 7
2
votes
1 answer

Python RASA - Error "object() takes no parameters" while importing "from rasa_core.agent import Agent"

Import command: "from rasa_core.agent import Agent" gives me the following error --------------------------------------------------------------------------- TypeError Traceback (most recent call…
2
votes
1 answer

Asking user to fill slots in Rasa Chatbot

I am struggling to create a dialogue structure when I need to ask the user to fill the slots. Consider the following interaction. User: What is the scientific name of Eagles? Bot: There are 3 eagles. Choose one. - greater spotted eagle - tawny…
Sociopath
  • 13,068
  • 19
  • 47
  • 75