chatbot

Google Dialogflow Quick Replies formatting issues in Telegram

两盒软妹~` 提交于 2020-01-16 08:42:53
问题 I had create a chatbot using Dialogflow and integrated it with Facebook Messenger & Telegram. I noticed that for the Quick Replies in Telegram (Link 1) appears differently in FB Messenger (Link 2). Is there any way to make it nicer and more presentable in Telegram? Telegram Facebook Messenger This is my Quick Replies settings in Dialogflow. Dialogflow 回答1: in DialogFlow you can indeed (as Marc pointed out) use a Custom Payload for Telegram, here it is an example: { "telegram": { "text": "What

Google Dialogflow Quick Replies formatting issues in Telegram

只谈情不闲聊 提交于 2020-01-16 08:42:38
问题 I had create a chatbot using Dialogflow and integrated it with Facebook Messenger & Telegram. I noticed that for the Quick Replies in Telegram (Link 1) appears differently in FB Messenger (Link 2). Is there any way to make it nicer and more presentable in Telegram? Telegram Facebook Messenger This is my Quick Replies settings in Dialogflow. Dialogflow 回答1: in DialogFlow you can indeed (as Marc pointed out) use a Custom Payload for Telegram, here it is an example: { "telegram": { "text": "What

How to integrate the sentiment analysis script with the chatbot for analysing the user's reply in the same console screen?

给你一囗甜甜゛ 提交于 2020-01-16 08:19:31
问题 I want to make a chatbot that uses Sentiment analyser script for knowing the sentiment of the user's reply for which I have completed the Chatbot making. Now only thing I want to do is to use this Script to analyse the reply of user using the chatbot that I have made. How should I integrate this sentiment_analysis.py script with the chatbot.py file to analyse the sentiment's of user? Update: The overall performance will be like this : Chatbot: How was your day? User: It was an awesome day. I

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

What is the right approach for handling direct and contextual questions in dialogflow?

纵然是瞬间 提交于 2020-01-15 15:45:26
问题 I am creating a HR chatbot using Dialogflow. I am unable to figure out the right approach to have the bot handle both direct questions and questions asked in a contextual manner. For example: Contextual case: User: I want to know how many leaves i can get in a year Bot: You get x number of leaves User: Ok cool how do i apply for one then? Bot: Follow this process to apply for a leave Direct case (2 separate conversations with direct questions): Conversation 1: User: I want to know how many

What is the right approach for handling direct and contextual questions in dialogflow?

蹲街弑〆低调 提交于 2020-01-15 15:44:00
问题 I am creating a HR chatbot using Dialogflow. I am unable to figure out the right approach to have the bot handle both direct questions and questions asked in a contextual manner. For example: Contextual case: User: I want to know how many leaves i can get in a year Bot: You get x number of leaves User: Ok cool how do i apply for one then? Bot: Follow this process to apply for a leave Direct case (2 separate conversations with direct questions): Conversation 1: User: I want to know how many

How to fix AttributeError: module 'tensorflow' has no attribute 'reset_default_graph'

不打扰是莪最后的温柔 提交于 2020-01-15 10:08:47
问题 I'm trying to build an ai based chatbot based on a tutorial, they're using python 3.5 and tensorflow 1.0.0. I have crossed checked everything, my virtual environment is running from inside the anaconda explorer. I even ran it from the terminal and activated it. I'm importing everything correctly and all. Although I installed tensorflow 1.0.0 using anaconda terminal with virtual env activated, when I look it up in anacoda it says 1.1.0. I don't know if there is major difference in there or not

How to fix AttributeError: module 'tensorflow' has no attribute 'reset_default_graph'

两盒软妹~` 提交于 2020-01-15 10:06:01
问题 I'm trying to build an ai based chatbot based on a tutorial, they're using python 3.5 and tensorflow 1.0.0. I have crossed checked everything, my virtual environment is running from inside the anaconda explorer. I even ran it from the terminal and activated it. I'm importing everything correctly and all. Although I installed tensorflow 1.0.0 using anaconda terminal with virtual env activated, when I look it up in anacoda it says 1.1.0. I don't know if there is major difference in there or not

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 integrate dialogflow with website?

邮差的信 提交于 2020-01-12 04:49:07
问题 I created Intents, entities so and so using 'Dialogflow chat-bot', Now,I'm trying to integrate dialogflow with my website(html), I followed the documented instructions from the dialogflow official website, still I'm confused , after enabling the web demo option, How to edit the contents inside the attached image and how to launch chat-bot in my website? I followed instructions from : "https://dialogflow.com/docs/integrations/web-demo" Thank you 回答1: Dialogflow doesn't provide any direct way