Questions tagged [chatterbot]

ChatterBot is a machine learning, conversational dialog engine for creating chat bots.

ChatterBot is a machine learning, conversational dialog engine for creating chat bots. https://chatterbot.readthedocs.io/

256 questions
1
vote
1 answer

Auto-update label with the pressing of a tkinter button

I'm trying to create a chatbot program with CHATTERBOT MODULE and TKINTER. It's almost ok, in fact my problem is that every button-click, the program creates me new labels, with command risposta.pack(). My intent is creating just one label and…
1
vote
1 answer

how to prepare data for domain specific chat-bot

I am trying to make a chatbot. all the chatbots are made of structure data. I looked Rasa, IBM watson and other famous bots. Is there any ways that we can convert the un-structured data into some sort of structure, which can be used for bot…
Niraj D Pandey
  • 151
  • 1
  • 7
1
vote
0 answers

Chatterbot response from a specific database

I've trained my chatbot with my own corpus of conversations. But now I want ChatterBot to generate responses from another database (so I want this to be kinda conversation with a famous person so that every response is a citation). The only thing I…
Polina
  • 21
  • 1
1
vote
1 answer

chatterbot python3 OperationalError: no such column: statement.conversation while training chatbot

I have an issue when chatbot.get_response() and (exactly the same problem) when trainer.tain() on a list of english strings. It says OperationalError: no such column: statement.conversation And then this one OperationalError:…
Polina
  • 21
  • 1
1
vote
1 answer

How to bind "ENTER KEY" in ScrolledText Widget in Tkinter

I have used scrolledText widget for user input in my chatbot. I bind the "ENTER" key to post user response to chat window, but it's not coming to new line in user input window. Below are my code: self.usr_input = ScrolledText.ScrolledText(self,…
1
vote
1 answer

How to handle abbreviations in questions for chatbot?

i have a scenario where a user can ask same question to chatbot in differnt ways. For example- the question can be "what is TB?" or it can be "what are transition benefits?". Answer to both the question is same but the way of asking question is…
1
vote
1 answer

What is the use of giving name of chatbot?

I started writing scripts for my own chatbot and i have one basic question which i could not solve using available documentation. While defining chatbot instance, we give a name of the chatbot. (Something like below): bot = ChatBot( 'John', …
1
vote
0 answers

How to add multiple lines response in chatterbot?

I am trying to build a simple chat bot using Pythons's chatterbot. I am training this bot with the help of ListTrainer. I have created a txt file containing questions-answers. Problem I am facing with it is that if answers contains multiple lines,…
AnalyticsPy
  • 245
  • 2
  • 14
1
vote
1 answer

how chatterbot is creating the in_response_to and in_response_to_contains list

I want to know after finding the closest match from the text section of the response table how chatterbot is generating the "in_response_to" list and the "in_response_to_contains" list. If somebody could enlight me this then it would be a great…
SOUVIK DEY
  • 13
  • 5
1
vote
1 answer

Is it possible to pull answers from an sqlite3 database file with pythons ChatterBot module?

Is it possible to train a chatbot (using ChatterBot) with an existing database? I have a relatively large sqlite3 db file with about 3GB worth of conversations. If it's at all possible to just pull answers from that database instead of converting…
suroh
  • 917
  • 1
  • 10
  • 26
1
vote
1 answer

Python chatterbot is learning anything apart from the learning data

I am trying to learn about Python library called Chatterbot. I provided learning data to it using files. But after few conversation it is learning the absurd things even when the data is already given to it using files. Please tell me how to control…
1
vote
0 answers

Django chatterbot response is not showing in chat window

i am trying Django chatterbot. when i want to interact with bot, bot's response is not showing in chat window. please check the attached image. There is no error in code when i am running it. i also tried python manage.py makemigrations python…
chandra
  • 85
  • 2
  • 13
1
vote
1 answer

How can I program multiple low confidence responses in Chatterbot?

I want my error handling to have humor and personality. according to docs, I can insert a default response for low confidence. http://chatterbot.readthedocs.io/en/stable/_modules/chatterbot/logic/low_confidence.html But I want to have the bot give a…
Sean Baity
  • 11
  • 2
1
vote
1 answer

Empty Chatterbot Conversation table in Django Admin

In Django admin, the chatterbot conversion table is empty after training has been performed using python manage.py train The above code populates the statement and response tables with the training data based on the yml file. This is fine. However,…
Taiwotman
  • 885
  • 14
  • 27
1
vote
2 answers

Overriding pre-defined answer in ChatterBot

I want to specify my own answer to a particular question for a chat bot written using ChatterBot library. Here is my code from chatterbot import ChatBot # Create a new chat bot named Charlie chatbot = ChatBot( 'Charlie', …