rasa-nlu

Can Rasa chatbot initiate a conversation?

不打扰是莪最后的温柔 提交于 2021-02-09 08:40:30
问题 I'm planning to deploy the bot based on rasa with a monitoring engine. So if something goes wrong, I would like bot to start the conversation with a specific user. Is that possible? 回答1: An easy way to do so, would be to send a user message from your monitoring system to your input channel. So you basically mimic the user initiating the conversation. Note that I directly specify the intent using the / as prefix. Start Rasa Core with the REST api exposed: python -m rasa_core.run -d models -

Can Rasa chatbot initiate a conversation?

六眼飞鱼酱① 提交于 2021-02-09 08:34:17
问题 I'm planning to deploy the bot based on rasa with a monitoring engine. So if something goes wrong, I would like bot to start the conversation with a specific user. Is that possible? 回答1: An easy way to do so, would be to send a user message from your monitoring system to your input channel. So you basically mimic the user initiating the conversation. Note that I directly specify the intent using the / as prefix. Start Rasa Core with the REST api exposed: python -m rasa_core.run -d models -

Can Rasa chatbot initiate a conversation?

浪子不回头ぞ 提交于 2021-02-09 08:32:12
问题 I'm planning to deploy the bot based on rasa with a monitoring engine. So if something goes wrong, I would like bot to start the conversation with a specific user. Is that possible? 回答1: An easy way to do so, would be to send a user message from your monitoring system to your input channel. So you basically mimic the user initiating the conversation. Note that I directly specify the intent using the / as prefix. Start Rasa Core with the REST api exposed: python -m rasa_core.run -d models -

Can Rasa chatbot initiate a conversation?

醉酒当歌 提交于 2021-02-09 08:30:31
问题 I'm planning to deploy the bot based on rasa with a monitoring engine. So if something goes wrong, I would like bot to start the conversation with a specific user. Is that possible? 回答1: An easy way to do so, would be to send a user message from your monitoring system to your input channel. So you basically mimic the user initiating the conversation. Note that I directly specify the intent using the / as prefix. Start Rasa Core with the REST api exposed: python -m rasa_core.run -d models -

Can Rasa chatbot initiate a conversation?

孤人 提交于 2021-02-09 08:29:17
问题 I'm planning to deploy the bot based on rasa with a monitoring engine. So if something goes wrong, I would like bot to start the conversation with a specific user. Is that possible? 回答1: An easy way to do so, would be to send a user message from your monitoring system to your input channel. So you basically mimic the user initiating the conversation. Note that I directly specify the intent using the / as prefix. Start Rasa Core with the REST api exposed: python -m rasa_core.run -d models -

Running interactive program from within python

拟墨画扇 提交于 2021-02-07 10:37:19
问题 I want to achieve something which is very similar to this. My actual goal is to run Rasa from within python. Taken from Rasa's site: Rasa is a framework for building conversational software: Messenger/Slack bots, Alexa skills, etc. We’ll abbreviate this as a bot in this documentation. It is basically a chatbot which runs in the command prompt. This is how it works on cmd : Now I want to run Rasa from python so that I can integrate it with my Django-based website. i.e. I want to keep taking

rasa_nlu error while creating small chatbot

无人久伴 提交于 2021-01-29 17:52:11
问题 Iam getting the below error ModuleNotFoundError: No module named 'rasa_nlu', even though i installed rasa_nlu and rasa My code : from rasa_nlu.training_data import load_data from rasa_nlu.config import RasaNLUConfig from rasa_nlu.model import Trainer def train_nlu(data, config, model_dir): training_data = load_data(data) trainer = Trainer(RasaNLUConfig(config)) trainer.train(training_data) model_directory = trainer.persist(model_dir, fixed_model_name='weathernlu') if __name__ == '__main__':

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

怎甘沉沦 提交于 2020-12-31 15:13:27
问题 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 format. from rasa_nlu.training_data import load_data from rasa_nlu.model import Trainer from rasa_nlu import config from rasa_nlu.model import Interpreter def train_rasa(file_path): training_data = load_data(file_path) trainer = Trainer(config.load("config

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

杀马特。学长 韩版系。学妹 提交于 2020-12-31 15:05:45
问题 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 format. from rasa_nlu.training_data import load_data from rasa_nlu.model import Trainer from rasa_nlu import config from rasa_nlu.model import Interpreter def train_rasa(file_path): training_data = load_data(file_path) trainer = Trainer(config.load("config

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

╄→尐↘猪︶ㄣ 提交于 2020-12-31 15:02:40
问题 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 format. from rasa_nlu.training_data import load_data from rasa_nlu.model import Trainer from rasa_nlu import config from rasa_nlu.model import Interpreter def train_rasa(file_path): training_data = load_data(file_path) trainer = Trainer(config.load("config