Questions tagged [chatbot]
A chatbot is an automated program that communicates with humans. Abilities can range from canned responses, to neural networks and other learning programs, to responding to commands.
chatbot
4,321
questions
90
votes
4
answers
39k
views
Differences between Langchain & LlamaIndex [closed]
I'm currently working on developing a chatbot powered by a Large Language Model (LLM), and I want it to provide responses based on my own documents. I understand that using a fine-tuned model on my ...
75
votes
3
answers
58k
views
How do Markov Chain Chatbots work?
I was thinking of creating a chatbot using something like markov chains, but I'm not entirely sure how to get it to work. From what I understand, you create a table from data with a given word and ...
73
votes
2
answers
74k
views
Any tutorials for developing chatbots? [closed]
As a engineering student, I would like to make a chat bot using python. So, I searched a lot but couldn't really find stuff that would teach me or give me some concrete information to build a ...
35
votes
6
answers
55k
views
How to create a smart chat-bot? [closed]
I know that it's still an open problem so I don't expect to see complete answers here. I just want to find some approaches to solve the next problem:
I have a model (assume that is's bot's memory), ...
33
votes
7
answers
25k
views
import langchain => Error : TypeError: issubclass() arg 1 must be a class
I want to use langchain for my project.
so I installed it using following command : pip install langchain
but While importing "langchain" I am facing following Error:
File /usr/lib/python3.8/...
33
votes
11
answers
40k
views
How can I program a simple chat bot AI?
I want to build a bot that asks someone a few simple questions and branches based on the answer. I realize parsing meaning from the human responses will be challenging, but how do you setup the ...
32
votes
5
answers
9k
views
Difference between Rasa core and Rasa nlu
I tried to understand the difference between Rasa core and Rasa NLU from the official documentation, but I don't understand much. What I understood is that Rasa core is used to guide the flow of the ...
30
votes
4
answers
17k
views
What is the difference between Dialogflow bot framework vs Rasa nlu bot framework?
What is the difference between Dialogflow bot framework vs Rasa nlu bot framework ?Any other open source frameworks available in market with NLP support?
25
votes
3
answers
34k
views
Android Espresso wait for text to appear
I am trying to automate an Android app that is a chatbot using Espresso. I can say that I am completely new to Android app automation.
Right now I am struggled with waiting. If I use Thread.sleep, it ...
20
votes
3
answers
27k
views
How to set expiration time for hmset in node redis?
I used to do client.setex(key, 900, value) for storing single key-value.
But, I want to store an object with expiration time.
I come up with function hmset, but I don't know how to make expiration ...
18
votes
6
answers
29k
views
How to integrate dialogflow with website?
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 ...
18
votes
1
answer
4k
views
How to access Dialogflow V2 API from a webpage?
I have a webpage where I want to use dialogflow chatbot. This is a custom chat window, so I don't want to use one click integration. I am able to access the chat agent V1 API using javascript/ajax (by ...
16
votes
1
answer
12k
views
How to disable a slackbot button after clicking on it
I'm creating buttons for a slackbot using something like:
const messageB = {
"attachments": [
{
"text": "Essa mensagem foi útil?",
"callback_id": "...
16
votes
11
answers
11k
views
Facebook Messenger bot not sending messages in order
I'm playing around with building a simple Facebook Messenger chatbot and I'm having trouble sending messages in sequence.
In the example above, it should have printed "Hello!", "1", "2", "3" in order....
16
votes
3
answers
1k
views
Bot Framework messes up dialog state
I'm currently making a chatbot with Microsoft's Bot Framework. In my flow I have a final dialog that lets the user know, that they are participating in the competition. There is also an error-handling ...
15
votes
3
answers
7k
views
Latest in (open source) chatbot/fake AI?
What is the lastest in open source chatbot/fake AI 'technology' ? Is ELIZA/ALICE/MegaHAL still 'current', or have there been made any advances in the past decade ?
15
votes
5
answers
14k
views
How do I integrate AWS Lex chatbot to my website? [closed]
My website is doing customer service & support ticket system.
But the way of integrating AWS lex seems not as easy as FB is.
The thing I wanna do is letting Lex Bot reply tickets for the customer ...
12
votes
5
answers
10k
views
How to test Messenger Bots offline? Local webhooks
I'm starting with Messenger Platform API. I want to make simple Messenger Chatbot. Here is tutorial I follow.
As you see, to start I need to set up webhook (step 2). So basically: web server that ...
12
votes
5
answers
6k
views
What is the right way to save/track state inside a Facebook Messenger bot?
If my bot asks different questions and if the user answers each of them, how do I find out which answer relates to which question. There is a field called metadata that you can attach to the ...
12
votes
5
answers
8k
views
Can I customize messages received through Slack's AWS Chatbot integration?
Currently we have set up AWS Chatbot integration for Slack to receive notifications about CodePipeline - results of CodeBuilds and status of all stages of CodePipeline. I have noticed that the out of ...
12
votes
4
answers
4k
views
Telegram API messages order
I am building a telegram bot.
This means I am managing several chats at once (each with a unique chat id).
When a user sends a message to the bot replies with an answer.
I am using the telegram ...
11
votes
3
answers
592
views
How to send a response card using AWS Lambda in C#
Hi I am developing a chatbot on amazon lex and I want to send a response card using the lambda function but on using response card function inside the close response format it gives the error of null ...
11
votes
1
answer
4k
views
Rich text format for response text in facebook chatbot
I want to format(change font size/text color/apply text style - bold/underline/italic etc) the response text send to user in Facebook chatbot.
I do not see any such support in the messenger API. ...
10
votes
8
answers
14k
views
PermissionDenied: 403 IAM permission 'dialogflow.intents.list'
I'm trying to get the list of the intents in my Dialogflow agent using Dialogflow's V2 APIs but have been getting the following error:
PermissionDenied: 403 IAM permission 'dialogflow.intents.list' ...
10
votes
1
answer
8k
views
How to store and retrieve the chat history of the dialogflow?
I want to redirect the chat from Google dialogflow to a human. For this, I want to get the history of the conversation made by the user. Is there any platform where the history is being stored? If yes,...
10
votes
1
answer
898
views
how to get chat history from azure table storage
Since we are forced to drop the stateclient and move to a custom storage, in my case an azure table storage. Using my storageexplorer I can see that it already saved conversation data on my azure. How ...
9
votes
1
answer
3k
views
Is it possible to have multiple Chat Bots under one Project on Google Cloud
Recently I ran out of project space building chatbots with DialogFlow. I don't think I am using the best standard with projects on Google Cloud (any tips would be great!) and since I tried creating a ...
9
votes
1
answer
2k
views
Microsoft Bot Framework Custom Facebook Messages
I've started to work on my chatbot using Bot Builder SDK in C# and Microsoft Bot Framework. I've deployed my bot and can interact with it. Currently I'm focusing on facebook messenger. I already can ...
9
votes
2
answers
3k
views
In a chatbot conversation using dialogflow, Is there a way to make the bot speak first?
Is it possible to format a conversation so that the bot initiates conversation using dialogflow in a web demo integration?
The objective is to say something like “Hi, I’m a bot, I can do x” to ...
8
votes
5
answers
5k
views
How to deserialize custom payload response in Dialogflow v2?
I'm developing my own chatbot for messenger with Dialogflow v2 and the Node.js client SDK. But I've a problem with custom payloads. When I use the console provided by Dialogflow, I have a response ...
8
votes
6
answers
4k
views
Facebook webhook making multiple calls for the same message?
I made and echo bot on AWS with Python and serverless.
I keep getting the same request again and again.
I read the faq where it says u have to deliver a status code 200 else it will keep retrying the ...
8
votes
6
answers
12k
views
Where can I get the LUIS subscription key?
I'm trying to create a simple chat bot on Microsoft Bot Framework and I want to add LUIS app ID and LUIS subscription key to my application.
Where can I get the subscription key?
8
votes
2
answers
5k
views
Anyone knows Facebook chatbot sending limit?
If a merchant needs to send Facebook messages via mobile numbers (chatbot), what is the rate limit?
This is a link on this topic but it does not talk about the actual limit:
https://developers....
8
votes
3
answers
17k
views
Facebook status update through php
I want to develop a bot which will update the status of a facebook account using php.
Please guide me on this
8
votes
1
answer
8k
views
Calling from one intent to another intent in AWS LEX
I am a newbie in the AWS arena. Now I am working on AWS LEX. I want to call from one intent to another intent. I have found the following question but as I cannot comment I have created another one.
...
7
votes
1
answer
16k
views
Send message to Google Chat using the REST API (Google example not working in 2020)
Where do I even begin... (Google, why must you hurt me this way?)
Background Info
I have created a new chatbot using Google Apps Script, which receives messages from users in Google Chat and responds ...
7
votes
6
answers
17k
views
Error 263 for command: open Welcome.mp3 The specified device is not open or is not recognized by MCI
import speech_recognition as sr
import requests
from gtts import gTTS
from playsound import playsound
import os
import subprocess
bot_message = ""
message = ""
myobj = gTTS(text=...
7
votes
1
answer
3k
views
wit.ai: how does it identify intent and classifies entities from user expressions
I have been studying wit.ai for several days. I have found the key points of wit.ai bot engine:
Story based - create story for greeting, order pizza, order laptop, ask forecast
Role based entity - ...
7
votes
4
answers
18k
views
Chatterbot Module Error ("AttributeError: module 'collections' has no attribute 'Hashable'")
I have been working on my own chatbot using the chatterbot module in python. Here is my code so far:
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
from chatterbot.trainers ...
7
votes
2
answers
3k
views
Split compound sentences into simple sentences
I am looking for a sentence segmentor that can split compound sentences into simple sentences.
Example:
Input: Andrea is beautiful but she is strict.
(expected) Output: Andrea is beautiful. she is ...
7
votes
3
answers
4k
views
How to store and check synonym of string in Java
I'm making a program which can response to what user said, something like chatter bot. But I wonder if I can make it understand if two or more words have the same meaning.
For example, I make it to ...
7
votes
2
answers
7k
views
Could not load file or assembly 'Microsoft.WindowsAzure.Storage' or one of its dependencies. When running chat bot C#
I am trying to run my chat bot after I made some modifications within Visual Studio. My code works correctly when run locally with the bot framework emulator, but when published to my chat bot stored ...
7
votes
1
answer
3k
views
How do I create multiple Facebook bots with a single platform?
I have a Facebook bot and I have connected it with a Facebook page. However to have it publicly available I have to wait the approval from Facebook.
Not a problem if you have to make one single bot, ...
7
votes
2
answers
344
views
Does the for GAE XMPP service still work with Hangout/G+ today, to implement a Chatbot?
I've just followed the tutorial on https://cloud.google.com/appengine/docs/java/xmpp/ and https://cloud.google.com/appengine/articles/using_xmpp and written a chatbot on the GAE XMPP service, assuming/...
6
votes
3
answers
6k
views
What user profile info is available on the Facebook Messenger Platform?
The messenger platform docs shows an example of how to get the user profile info via their API (see this).
I could quite understand if the example shown actually contains all the info possible to ...
6
votes
1
answer
9k
views
Link to a telegram bot with pre-written command
I'm writing a telegram bot now and I have a question. As I know any user can link to a bot using "@" symbol, like this @my_bot. Is there any possibility to make such a link, that when a user ...
6
votes
1
answer
6k
views
How to import utterances into LUIS.ai
The old version of the LUIS console used to have an "import utterances" function. The new console does not seem to have this function anymore.
In addition, the API (I think) used to have this option, ...
6
votes
2
answers
2k
views
set parameters in EventInput in Dialogflow V2 API
I desperatly try to set parameters in a
dialogflow.types.EventInput
in python.
This doc says the parameters need to be of type Struct.
I read here that the parameters needs to be a google....
6
votes
2
answers
5k
views
Keras seq2seq - word embedding
I am working on a generative chatbot based on seq2seq in Keras. I used code from this site: https://machinelearningmastery.com/develop-encoder-decoder-model-sequence-sequence-prediction-keras/
My ...
6
votes
1
answer
3k
views
AWS Lex: How to display a welcome message when first opened?
Is it possible to to display a welcome message in a standalone bot (Node.js)?
I would like to have the intent in the builder and invoke in my lambda function or from the front end node app. From the ...