All Questions
67 questions
0
votes
1
answer
79
views
Initializing Hugging Face Transformer restarts program loop
Initializing hugging face transformer causes loops to restart. I have created simple loop which reads text and replies but the loop is restarting new thread when initalizing chatbot pipeline. Minimum ...
1
vote
0
answers
173
views
Problems with using the most recent version if Tensorflow
I've been wanting to give tensorflow a shot for designing a chatbot. However, guides i've seen feel like they were all using an older version of Tensorflow because the one i'm using is the most recent ...
0
votes
1
answer
89
views
How to turn off repeated response filter for my chatterbot
I am working on making a chatbot with the chatterbot library in python and it was sometimes not responding correctly, I turned on logging and found that it was because it was excluding responses that ...
0
votes
2
answers
273
views
Getting dependency error installing chatterbot
I am trying to create a chatbot using Python. When I run "pip3 install chatterbot" I get the error
ERROR: Some build dependencies for preshed<2.1.0,>=2.0.1 from
https://files....
-1
votes
1
answer
314
views
Chatterbot : wheel==0.41.3 is incompatible with wheel>=0.32.0,<0.33.0
whenever I type
pip install flask spacy chatterbot chatterbot_corpus nltk SpeechRecognition pyttsx3
I get
ERROR: Some build dependencies for preshed<2.1.0,>=2.0.1 from https://files....
-1
votes
2
answers
380
views
How to open a URL in a new tab on the client machine when a button is clicked
hope you are well, I am working on a project where I have a button to click in that text is there, so when I click that button, the URL should open in a new tab in the client machine but it is opening ...
0
votes
1
answer
427
views
Train Chatbot with only custom knowledge and not general knowledge using ChatGPT API
So now I am coding in Python a chatbot using the ChatGPT API, and the issue that I have is that I want the chatbot to only have custom knowledge that will be trained from a PDF file, and not general ...
0
votes
1
answer
101
views
Discord bot in python bug: RuntimeWarning: coroutine 'handle_response' was never awaited
I'm making a Discord bot and got an error. These are my files' code:
main.py
import bot
if __name__ == '__main__':
# Run the bot
bot.run_discord_bot()
bot.py
import discord
import responses
...
-2
votes
1
answer
244
views
I need some help to fix a python script that gives a humanoid voice to chatgpt and that allows me to talk with it using my own voice
I found the python script below that should be able to give a realistic humanoid voice to chat gpt,converting the text produced by it into a humanoid voice and using my voice with a mic to talk with ...
1
vote
1
answer
825
views
Fail to install FlexGen: ImportError: cannot import name 'define' from 'attr'
I am trying to install FlexGen on Ubuntu running under Windows Subsystem for Linux (WSL; but not WSL2). I have already installed a required PyTorch >= 1.12 and run python3 -m flexgen.flex_opt --...
0
votes
1
answer
127
views
I am trying to make a email chatbot but it spams how could i fix this?
I am trying to build a email chatbot but it has this bug where after it sends the first message, and then gets a response it keeps spamming the answered to the response it got until it gets another ...
-2
votes
2
answers
254
views
Trying to make a discord bot but on.message or message.content not working
I want the bot to use the gpt-3 API to answer questions but for some reason on.message is not working
import openai
import discord
openai.api_key = "apikey"
client = discord.Client()
@...
-1
votes
1
answer
139
views
How can I fix the problem, where when I try run the code, it doesn't respond, nor shows anything?
So, when I try to Run the code I made, it doesn't say, or show up anything, not even showing an error. I'm making a Discord Bot for a personal server with 3 files included (LBot.py, main.py, and ...
0
votes
0
answers
89
views
Python IF statement asks for input twice before proceeding
I am trying to code a chatbot.
I am working on a function where the user asks the chatbot how it is doing, it breaks my sentence into words and IF a keyword exists in the list, it proceeds to ask the ...
1
vote
1
answer
498
views
discord.ext.commands.errors.MissingRequiredArgument: extension is a required argument that is missing. | Discord.py error
I am new to Cogs and I was setting up an example cog and when I try to load
it shows MissingArguementError
Bot.py
import discord
from discord.ext import commands
import os
client = commands.Bot(...