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

Chatterbot/spacy: Can't find model 'en'

from chatterbot import ChatBot chat = ChatBot('cctmx') while True: peticion = input('>>>: ') respuesta = chat.get_response(peticion) print("Bot: " + respuesta) this error comes out when run Traceback (most recent call last): File…
1
vote
1 answer

Python Library ChatterBot installation Error

pip version: 20.1 I try to install with python terminal pip install chatterbot. it is throwing me following exception: ERROR: Command errored out with exit status 1: command: 'c:\users\burair\appdata\local\programs\python\python38-32\python.exe'…
Burair abbas
  • 77
  • 1
  • 7
1
vote
0 answers

Chatbot project using chatterbot & chatterbot-corpus is giving wrong output to all the questions which i ask

I am trying to create a chatbot project using python 3.6 & Pycharm as IDE but the answers which it is giving as an output is not appropriate & make absolutely no sense. So my question is how do i train it or what changes should i do so it will give…
1
vote
0 answers

chatterbot.logic.SpecificResponseAdapter is not working

I want to develop my own custom chatbot but I get some issue during the development, I want to use Specific Response Adapter in chatterbot. There is a sample of code. from chatterbot.trainers import ListTrainer from chatterbot import ChatBot from…
1
vote
0 answers

How to make a Bot listen to a conversation in the background, but respond only if his name is quoted in a sentence

I am developing a ChatBot for Telegram named "Joker". It works perfectly in a private conversation. Has a whole training set up to answer several questions. But when placed in a group, it responds to all messages sent to the group, creating a chat…
Jacob
  • 11
  • 2
1
vote
0 answers

Python Chatterbot select similar text if no response is found

How could I select similar text instead of a random response if no response is found in Chatterbot? Been on this issue for hours, cannot find a solution... My input is: What's up brotha Similar text found: I'm with you brotha (0.63 confidence) But…
knaitas
  • 59
  • 3
  • 7
1
vote
1 answer

chatbot : how to get default response when no response found in training data

I have made a simple Chatbot which can answer static queries. It is working ok so far But the problem is when a query is asked which is not in training data, it is just picking any random statement. I want Chatbot to answer some default statement…
Shikha
  • 321
  • 1
  • 4
  • 19
1
vote
1 answer

How to separate JSON output for Chatterbot

I'm creating a simple chatbot with Python and the chatterbot library. I've been able to get something able to work, where the user inputs something and the bot responds based on a .json of patterns and responses. Every time I execute the bot is able…
Draxalot2
  • 77
  • 7
1
vote
7 answers

Unable to install chatterbot using pip

I am getting below error when i execute the command pip install chatterbot after step "Installing build dependencies". Can someone please let me know how I can correct it or is there any other way to install it? ERROR: Command errored out with exit…
Suchint Deori
  • 11
  • 1
  • 1
  • 3
1
vote
3 answers

Can not install chatterbot in Anaconda

While installing chatterbot in Anaconda using Python 3.7 I am getting the following error: Found existing installation: PyYAML 3.13 Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which…
1
vote
1 answer

why isn't chatterbot working in this code?

I have a code that imports chatterbot. I run python -m spacy download en python terminal1.py. terminal1.py '''' import spacy from chatterbot import ChatBot # Uncomment the following lines to enable verbose logging # import logging #…
1
vote
2 answers

Can't figure out this problem of Chatterbot

I am currently using elementary OS and I am trying to figure out how to use Chatterbot Library in python. I have installed the chatterbot library with: sudo pip3 install chatterbot I have also installed chatterbot-corpus: pip install…
1
vote
1 answer

Chatter bot returns wrong response when question string reversed

yaml file: - - Invalid Password - contact xyz@gmail.com I am using python Chatterbot library, if I ask Invalid Password it returns the response contact xyz@gmail.com, but if I ask Password Invalid it gives me the default response which I have set…
Yamini
  • 129
  • 1
  • 10
1
vote
1 answer

How to get response of chatterbot in image/hyperlink format?

Not able to get response of ChatterBot as image/hyper link. I tried to place html image tag in my training data set i.e., . Training data set: image_response_data_set.yml categories: - myown conversations: - - can you show me smiley image? -
user10522061
1
vote
1 answer

'Chatbot' is not defined in Chatterbot

I am making a chatbot through Chatterbot. I am facing the problems as follow: when I run the code, it shows error, but the ChatBot is imported from chatterbot at the beginning? File ".../SquirralBot.py", line 5, in class SquirralBot: …
dragonfly
  • 503
  • 2
  • 6
  • 18