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
0
votes
2 answers

Rasa Core: utter_template() missing 1 required positional argument: 'tracker'

I am using Rasa core v10.2, with custom actions, but getting utter_template() missing 1 required positional argument: 'tracker' error on the run function. Custom action file: (actions.py) from rasa_core.actions import Action from rasa_core.events…
Mohit
  • 1,045
  • 4
  • 18
  • 45
0
votes
1 answer

NLP - multiple intents for modifying an intent of a sentence?

Say I have a sentence like 'I refuse to fly' or 'I'd like to fly'. I also have a sentence like 'I don't want to sit'. When training custom intents in one of the available NLU engines (rasa/wit/luis), what's the best way to go for modeling: Naively I…
Lior
  • 40,466
  • 12
  • 38
  • 40
0
votes
1 answer

What is the better way to tag entities for NER using CRF

I am currently working on a custom named-entitie recognizer so as to recognize 4 types of entitiy: car, equipment, date, issue. To do so, I use rasa_nlu with NER_crf from sklearn-crfsuite. However, before tagging hundreds of sentences, I asked…
0
votes
1 answer

duckling module for rasa

I try to train my bot based on rasa_nlu. Below is my config file and i have problems because entity like "next month" is recognized by ner_spacy to be something else than time data. I want this type of entity to be recognized only by duckling…
0
votes
0 answers

Intent recognition using only one intent

I am currently trying to extract from texts some sentences/groups of words that mean "there was an anomaly on this satellite at this date regarding this equipment" using rasa_nlu. I have thought to intent detection because I had already used wit.ai…
0
votes
1 answer

particular format of number is matching

Rasa NLU version: 0.12.3 Operating system (windows, osx, ...): Ubuntu 18.04 Content of model configuration file: language: "en" pipeline: - name: "intent_featurizer_count_vectors" - name: "intent_classifier_tensorflow_embedding" …
0
votes
1 answer

Parsing Rasa NLU from multiple models

I am looking for parsing trained project with multiple models other than only the last model in the project. curl -XPOST localhost:5000/parse -d '{"q":"hello there", "project":"my_restaurant_search_bot"}' Please refer to…
Kishore Chandra
  • 596
  • 1
  • 5
  • 21
0
votes
1 answer

Installation of SpacCy Language Model in python not working

I'm following the Rasa Core "Building a simple Bot" tutorial. (https://core.rasa.com/tutorial_basics.html) It requires the installation of the SpaCy Language model: python -m spacy download en_core_web_md However, I get "AttributeError: module…
Paul Kremershof
  • 131
  • 1
  • 2
  • 8
0
votes
0 answers

How to solve ImportError even Rasa_nlu and tensorflow are installed successfully

I faced the following error after installing Rasa_nlu and Tensorflow. ImportError: Failed to import `tensorflow`. Please install `tensorflow`. For example with `pip install tensorflow`. Before getting the above error message, I have successfully…
0
votes
1 answer

Rasa-core, dealing with dates

I have a problem with rasa core, let's suppose that I have a rasa-nlu able to detect time eg "let's start tomorrow" would get the entity time: 2018-06-10:T18:39:155Z Ok, now I want next branches, or decisions to be conditioned by: time is in…
Kailegh
  • 199
  • 1
  • 13
0
votes
2 answers

rasa nlu multiple models python

def train_nlu(data, configs, model_dir): training_data = load_data(data) trainer = Trainer(config.load(configs)) trainer.train(training_data) model_directory = trainer.persist(model_dir, fixed_model_name='weathernlu') return…
luffysup
  • 3
  • 3
0
votes
1 answer

Make a server listen to a specific port or Flask app running on another?

Versiones rasa-core : 0.9.0a3 rasa-nlu : 0.12.3 Problema I have a web-app chat and a Rasa server that is a chatbot and I want the chatbot to handle the message received from the first one. At the end of this tutorial…
Chat Bot
  • 67
  • 8
0
votes
3 answers

How to set default action in Rasa

Using vanilla Rasa NLU will cause Rasa core to make use of the outputs of the highest probability of an intent or entity value. In other words, even if the probability of an intent is low, and yet it is the highest of all the options, it is still…
user9748528
0
votes
1 answer

How can I create a custom input channel for rasa core?

I want to create a UI, from where the user can pass voice based messages to Rasa Core. The UI would be hosted on the local server. Can I create a custom input channel for the same and pass it to the Rasa Core?
0
votes
2 answers

identify new words as intents in rasa nlu

Have been using rasa nlu to classify intents and entities for my chatbot. Everything works as expected (with extensive training) but with entities, it seems to predict the value based on the exact position and length of the word. This is fine for a …
avinex
  • 61
  • 1
  • 6