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
2
votes
0 answers

Receiving an error when trying to run chatterbot on pi

I am new to working with Chatterbot. I am attempting to run chatterbot on my raspberry pi 4. After installing it, I attempted a basic program from chatterbot's documentation website: from chatterbot import ChatBot from chatterbot.trainers import…
mschling
  • 21
  • 2
2
votes
0 answers

Python chatbot default response is not working properly

Hi I am reusing a code of chat bot which I found from internet in python. It basically uses 3 logic adapters. Mathematical, time and best match. Best match has a default response to respond to unknown queries which chat bot gets. But for some reason…
2
votes
2 answers

How to store CHATBOT's unanswered questions in a text file

i'am newbie to python and building a chatbot using chatterbot library and i want to store those questions which are asked by users which chatbot could not answers(i mean storing unanswered questions) in a text file or database so that we can put…
2
votes
1 answer

AttributeError: 'ChatBot' object has no attribute 'get_responce'

I am trying to make chatbot but it has some unexpected errors. please help me to solve it. from chatterbot import ChatBot from chatterbot.trainers import ListTrainer import os bot =…
2
votes
1 answer

AttributeError: “ 'ChatBot' object has no attribute 'trains' ”

I'm trying to use chatterbot to create a chatbot in telegram and use the function train() to generate the ChatBot but visual code(my editor) and atom can't recognize the library. Before I use pip install chatterbot in cmd and launched: Successfully…
2
votes
1 answer

How to refresh training in chatterbot bot in python?

I made a simple chatbot using chatterbot library and python. The way I trained it is, I made it read a few text files containing chat examples, and it learns how to reply to messages based on those training examples. The problem I am facing is -…
Syntax-Tax
  • 21
  • 1
2
votes
1 answer

clean whitespaces using chatterbot preprocessors

I write "hi hello", after cleaning whitespace using chatterbot.preprocessors.clean_whitespace I want to show my input as "hihello", bt chatterbot replies me another answer. How can I print my input after preprocessing?
2
votes
1 answer

chatterbot: my chatbot cannot be trained

Hey I am trying to train my chatbot with existing corpuses using chatterbot but I found that my chatbot cannot be trained. It seems to get stuck when it comes to the line bot.train(data). Here is my code: from chatterbot import ChatBot from…
2
votes
1 answer

Error while using chatterbot

I'm trying to make a simple QnA program using Python chatterbot. # -*- coding: utf-8 -*- from chatterbot import ChatBot bot = ChatBot( "SQLMemoryTerminal", storage_adapter='chatterbot.storage.SQLStorageAdapter', logic_adapters=[ …
Soryi
  • 43
  • 1
  • 5
2
votes
8 answers

Error while installing chatterBot

Whenever I try to install ChatterBot using command pip install ChatterBot it gives this error: Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by…
Sumant GK
  • 23
  • 1
  • 1
  • 3
2
votes
2 answers

Get JSON's attribute value in Chatterbot and Django integration

statement.text in chatterbot and Django integration returns {'text': u'How are you doing?', 'created_at': datetime.datetime(2017, 2, 20, 7, 37, 30, 746345, tzinfo=), 'extra_data': {}, 'in_response_to': [{'text': u'Hi', 'occurrence': 3}]} I…
Fahad Shahid
  • 136
  • 1
  • 6
2
votes
1 answer

UnrecognizedInputFormatException using Chatterbot

I'm getting an 'unrecognizedInputFormatException' while creating a Python Chatterbot instance. I'm using code based on the examples posted here. Here is the code: from chatterbot import ChatBot def main(): from chatterbot.training.trainers…
brohjoe
  • 854
  • 4
  • 17
  • 39
2
votes
1 answer

ImportError: No module named db when using chatterbot

I am trying to buid a chatbot. so i installed chatterbot package. the python code is following: from chatterbot import TalkWithCleverbot talk = TalkWithCleverbot() talk.begin() but i am getting the following error: Traceback (most recent call…
Jerin A Mathews
  • 8,572
  • 4
  • 26
  • 49
1
vote
1 answer

ERROR: Could not build wheels for preshed, thinc, blis, which is required to install pyproject.toml-based projects

I'm trying to install chatterbot using the command pip install chatterbot.An error is displayed: Collecting chatterbot Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB) Collecting mathparse<0.2,>=0.1 (from chatterbot) Using cached…
agfn
  • 29
  • 2
1
vote
1 answer

ChatterBot Not recognised Python

I am using python 3.7.2. I downloaded chatterbot using: pip install -U chatterbot==1.0.4 but the code doesn't recognise chatterbot but it recognises ChatterBot, but when ran, I get this error: File "e:/PythonProjects/Projects/ChatterBot/Bot.py",…
turtlesXD
  • 53
  • 6
1
2
3
17 18