This project is a simple Telegram bot designed to answer user questions using the GPT-4 model. Users can ask their questions through the bot, and it will provide generated responses.
- Answers user questions using the GPT-4 AI model
- Welcomes users upon starting
- Responds to text messages
Before running the bot, ensure that the following are installed:
- Python
- The following libraries:
pip install -r requirements.txt
-
Clone this repository:
git clone https://github.com/AliFathi1325/AI_Bot.git
-
Create a
.env
file:In the project directory, create a file named
.env
and add your Telegram bot token:BOT_TOKEN=your_telegram_bot_token
-
Run the bot:
python your_script_name.py
(Replace
your_script_name.py
with the name of your Python file)
- After setting up the bot, go to Telegram and chat with your bot (using the username you chose for it).
- Start with the command
/start
and ask your questions.
If you would like to contribute to this project, we would love to hear your feedback and suggestions.