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.

There are different kinds of chatbots: Those that try to appear to be human, those that perform useful tasks for the participants or administrators of the chat (like posting links to an faq in regular intervals) and those that exists only for the fun of someone, similar to the twitterbot big_ben_clock

4197 questions
6
votes
1 answer

DialogFlow - set allRequiredParamsPresent from webhook?

I'm using a cloud function to respond to webhooks as described in the documentation. On DialogFlow, I made all the parameters optional, and instead I want to control which parameters are required dynamically. Is it possible to set…
arao6
  • 3,316
  • 5
  • 30
  • 51
6
votes
2 answers

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.protobuf.Struct. But it does not work for me. Is there…
TVK
  • 1,042
  • 7
  • 21
6
votes
2 answers

Webhooks for slot filling

I am having trouble with slot/parameter filling in dialogflow. I am not able to search any good documentation for how to use webhooks/backend-code for parameter filling. My use case is, I want to extract date but if the user is not providing YEAR…
sid8491
  • 6,622
  • 6
  • 38
  • 64
6
votes
2 answers

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 models looks like this: # define training…
6
votes
1 answer

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 docs i can see that it can be done with…
Chris O
  • 712
  • 2
  • 9
  • 20
6
votes
2 answers

Multiple Responses with Dialogflow (aka Api.ai)

I'm trying to create a chatbot which once "greetings" process is done goes on and initiate a new topic without any user query. It has to be something like the following: bot : hello user : hello bot : how old are you? user : 35 bot : Great. bot :…
Twister013
  • 183
  • 2
  • 2
  • 16
6
votes
1 answer

How to remove Powered by Api.ai sign from chat box?

Does anyone know how to remove "Powered by Api.ai" sign from chat box? I found one suggestion that says I need paid account to remove this sign, but api.ai is absolutely free. There is no paid account. Confusing.
Jonagold
  • 81
  • 1
  • 9
6
votes
1 answer

Parsing email and phone number entities?

Is there a way to train Watson to recognize email entities and phone numbers without resorting to regular expresses?
Steven Musumeche
  • 2,886
  • 5
  • 33
  • 55
6
votes
2 answers

issues with Claudia.js text responses and Alexa

I'm working on a Claudia.js bot that can be reached through Slack, FB messenger, and as an Alexa skill. Supposedly in claudia, you can return plain text and the framework will give it back to the "frontend" correctly... What I have currently have…
two7s_clash
  • 5,755
  • 1
  • 27
  • 44
6
votes
1 answer

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, but now it does not seem to be there. Am I…
JPThorne
  • 610
  • 11
  • 17
6
votes
1 answer

How can I get users to select multiple options as input within a facebook messenger chatbot?

I am working on a form-fill bot, which takes takes user input in free text format, throws 3-4 relevant set of questions and give the relevant search results from the website. In this process, how can I collect information from users for questions…
6
votes
3 answers

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 retrieve (meaning: first_name, last_name,…
Shaish
  • 714
  • 2
  • 10
  • 21
5
votes
4 answers

How best to store data for a chatbot?

I was looking on the internet for chatbots. It was only fun. But now, I love this subject so much that I want to develop my own chatbot. But the first thing is to look for a good way to manage the "brain" of my chatbot. I think that it's the best…
Paul Warkentin
  • 3,899
  • 3
  • 26
  • 35
5
votes
4 answers

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 import ChatterBotCorpusTrainer my_bot =…
Jakob Long
  • 51
  • 1
  • 1
  • 4
5
votes
6 answers

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="Hello I am Shilpa Sheety Speak Anything I am Listening", lang='en',…