rasa-nlu

'rasa' is not recognized as an internal or external command, operable program or batch file

不羁的心 提交于 2020-05-15 10:54:10
问题 Unable to run the rasa init command and getting following error: 'rasa' is not recognized as an internal or external command, operable program or batch file. I have following version of RASA in my environment: rasa-core 0.13.2 rasa-core-sdk 0.12.2 rasa-nlu 0.14.6 rasa-sdk 1.2.0 回答1: Hopefully you got it working by now, but if not you can either 1) Try setting the Python path in Advanced System Settings > Environment Variables . (ideally we want it in a top-level folder) 2) Re-install Python

How to deploy rasa chatbot

半城伤御伤魂 提交于 2020-02-27 03:44:12
问题 I have build a chatbot using rasa framework. Now I want deploy it over my website but I dont want deploy it using chatterbot or Docker. I am googling but I am not getting it. How to deploy the chatbot on my website? 回答1: Install Rasa Core and Rasa using pip / anaconda as it is described here (Rasa Core) and here (Rasa NLU). Train your Core and NLU model Start NLU as server using python -m rasa_nlu.server --path projects (see here for the docs). Do this using a tool like nohup so that the

How rasa_nlu using lookup_tables for entity extraction?

百般思念 提交于 2020-01-16 08:16:08
问题 I am trying to develop a chatbot using rasa nlu and rasa core. But I am not getting the link how rasa_nlu using lookup_tables for entity extraction. I had already go through (http://blog.rasa.com/improving-entity-extraction/) link but not getting it. How should lookup_table used for to extract the entity? 回答1: Requirements : If you want to use lookup tables, make sure: you have the components intent_entity_featurizer_regex and ner_crf in your NLU pipeline the entities you want to match fit

automatically generating intent and entity from a complete sentence

痴心易碎 提交于 2020-01-13 19:20:12
问题 I am building a bot with Rasa.ai.When training the bot with Rasa NLU, we use a training data file where the text, intent, entity etc. are specified. For example for a simple restaurant chatbot, the training file data.json may contain { "text": "central indian restaurant", "intent": "restaurant_search", "entities": [ { "start": 0, "end": 7, "value": "central", "entity": "location" }, { "start": 8, "end": 14, "value": "indian", "entity": "cuisine" } ] } We use this to train the model. But we

How to improve accuracy of Rasa NLU while using Spacy as pipeline?

风格不统一 提交于 2020-01-06 05:00:07
问题 In Spacy documentation it is mentioned that it uses vector similarity in featurization and hence in classification. For example if we test a sentence which is not in the training data but has same meaning then it should be classified in same intent in which training sentences have classified. But it's not happening. Let's say training data is like this- ## intent: delete_event - delete event - delete all events - delete all events of friday - delete ... Now if I test remove event then it is

How to resolve Misaligned Entity Annotation error in RASA NLU

被刻印的时光 ゝ 提交于 2020-01-05 02:31:08
问题 I am trying to import a LUIS schema model into RASA and trying to train it using the spacy + scikit pipeline. I am using RASA NLU v0.10.4 But when I try to load the LUIS model schema the ner_crf component is throwing a Misaligned Entity Annotation warning. Although I have tagged the entities correctly in the LUIS model schema. Here is my config file: { "project": "SynonymsExample", "path": "C:\\Users\\xyz\\Desktop\\RASA\\models", "response_log": "C:\\Users\\xyz\\Desktop\\RASA\\logs",

Installing rasa on Windows

不羁岁月 提交于 2019-12-30 05:28:06
问题 I am trying to install rasa on Windows 10. I am done installing Python 3.6 and pip packege. When I am running pip install rasa_nlu I am getting the following error: c:\program files (x86)\python36-32\include\pyconfig.h(222): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2 I have tried most of the solutions like reinstalling Microsoft

How to make a CURL call to rasa nlu trainer

﹥>﹥吖頭↗ 提交于 2019-12-25 18:24:58
问题 I had rasa nlu trainer running on xxxx port.I want to feed nlu trainer with a different source whenever a call made from my app(meteor) to rasa nlu trainer.I thought of curl request to nlu trainer but how can we fed --source flag of rasa nlu trainer with curl command? or Do I have an another option to feed rasa nlu trainer with a dynamic source path from my meteor application? PLease direct me. 回答1: As mentioned in their official documentation, you can make cURL Requests to RASA NLU using the

How to identify multiple entities in RASA

南笙酒味 提交于 2019-12-24 10:37:15
问题 I want to extract multiple entities from a user input. Example- "Service httpd is not responding because of high CPU usage and DNS Error" So here I want to identify below: Httpd High CPU usage DNS Error And I will be using this keywords to get a response from a Database. 回答1: Just annotate them accordingly, e.g. ## intent: query_error - Service [httpd](keyword) is not responding because of [high CPU usage](keyword) and [DNS Error](keyword) Having the sentence from above, Rasa NLU would

How to use Hindi Model in RASA NLU?

倖福魔咒の 提交于 2019-12-24 10:29:31
问题 I have build my model for Hindi language using FastText with spacy backend. I followed this tutorial to to build my model using FastText. This URL I have also linked my model with spacy by following command python -m spacy link nl_model hi Model is linked successfully you can check in the image below Now I am not finding any help for using hindi language, Like what kind of config files do I need to use, where to import hindi model and how to proceed now? I also have question like how our data