This repository contains the code for a Telegram chatbot powered by OpenAI's GPT-3.5 Turbo model. The chatbot is designed to help users practice data science interviews by asking relevant questions and providing a conversational experience.
- Data science interview practice mode.
- General conversation mode.
- AI-powered responses using OpenAI's GPT-3.5 Turbo model.
- Easy-to-use Telegram interface.
- Python 3.7 or higher
aiogram
libraryopenai
librarypython-dotenv
library
- Clone the repository:
git clone https://github.com/yourusername/datascience-interview-chatbot.git
cd datascience-interview-chatbot
- Create a virtual environment and install dependencies:
python -m venv env
source env/bin/activate
pip install -r requirements.txt
- Create a
.env
file and add your OpenAI API key and Telegram bot token:
echo "OPENAI_API_KEY=your_openai_api_key" > .env
echo "TOKEN=your_telegram_bot_token" >> .env
- Run the chatbot:
python chatbot.py
- Start a conversation with the Telegram bot by sending the
/start
command. - Use the
/help
command to view available commands. - Enable data science interview mode by sending the
/interview
command. - Answer the questions provided by the bot and practice your data science interview skills.
- Disable data science interview mode by sending the
/interview
command again.
_TODO: https://youtu.be/afYWLFzlYJE
Feel free to submit pull requests for new features or improvements. When submitting a pull request, please make sure to describe the changes made and how they benefit the project.
This project is licensed under the MIT License. See LICENSE for more information.