Important
This project was originally created not for the purpose of making money, only for research and learning purposes
Major Update (2025/01):
- Due to instability issues with GPT-4 model, we have defaulted back Gemini
- Update UI/UX Learning from janitorai
- See README for details and dependency updates.
- Python 3.9 or later
- Rename the file
.env.example
to.env
- Creat Folder: voice
- Running
pip3 install -r requirements.txt
to install the required dependencies
Caution
Always creat Voice Folder This project was originally created not for the purpose of making money, only for research and learning purposes
-
Creat folder name voice
-
Open a terminal or command prompt
-
Navigate to the directory where you installed the ChatGPT Discord bot
-
Run
python3 main.py
orpython main.py
to run the bot
To use the Gemini API features, follow these steps:
- Obtain your API key by visiting https://aistudio.google.com/app/apikey?hl=vi
- Paste the API name
GOOGLE_API_KEY
in.env
To use the ElevenLabs API features, follow these steps:
- Obtain your API key by visiting https://elevenlabs.io/app/settings/api-keys
- Paste the API name
ELEVEN_API_KEY
in.env
- Go to https://elevenlabs.io/app/voice-library/collections Copy VoiceID your favorite Voice
- Paste voiceID in speechToText.py
Note
Gemini API is subject to certain restrictions.
For more details, please visit https://ai.google.dev/gemini-api/docs/quickstart
- paste it into
.env
Warning
Certain personas may generate vulgar or disturbing content. Use at your own risk.
Warning This Bot is currently only in a trial phase, so it may encounter some errors and is being updated now and will continue to be updated in the future.