TGChatGPTBot is a powerful and intuitive chatbot that uses the OpenAI API to provide natural language conversation support to Telegram users. Whether you need help with customer service inquiries, product recommendations, or just want to have a friendly chat, TGChatGPTBot is here to help!
- Intelligent natural language processing
- Personalized responses based on user input
- Multi-language support
- Integration with external APIs for extended functionality
- Quick and easy setup
To start using TGChatGPTBot, simply add it to your Telegram contacts and start chatting! The bot will automatically detect your language and provide personalized responses to your messages.
Run the following commands to start TGChatGPTBot.
- Clone the repository to your local machine.
git clone https://github.com/TheNekJT/TGChatGPTBot.git && cd TGChatGPTBot
- Install the required dependencies listed in
pyproject.toml
. You can use pip to install them automatically by running:
pip install -e .
- Create a .env file in the root directory of the project and add your Telegram bot token and OpenAI API key to it as
TELEGRAM_BOT_TOKEN
andOPENAI_API_KEY
environment variables, respectively. For example:
export TELEGRAM_BOT_TOKEN="YOUR_TELEGRAM_BOT_TOKEN"
export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
- Run the
main.py
script in your terminal to start the bot. For example:
python main.py
- Once the bot is running, open Telegram and start a conversation with it to test its functionality.
If you would like to contribute to TGChatGPTBot, please fork the repository and submit a pull request. We are always looking for ways to improve the bot and welcome any feedback or suggestions.
TGChatGPTBot is developed and maintained by TheNekJT. Special thanks to the OpenAI team for their incredible API and support.