Code Monkey home page Code Monkey logo

chatgpt-telegram-bot's Introduction

Data Science Interview Chatbot

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.

Table of Contents

  1. Features
  2. Requirements
  3. Setup
  4. Usage
  5. Demo
  6. Contributing
  7. License

Features

  • Data science interview practice mode.
  • General conversation mode.
  • AI-powered responses using OpenAI's GPT-3.5 Turbo model.
  • Easy-to-use Telegram interface.

Requirements

  • Python 3.7 or higher
  • aiogram library
  • openai library
  • python-dotenv library

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/datascience-interview-chatbot.git
cd datascience-interview-chatbot
  1. Create a virtual environment and install dependencies:
python -m venv env
source env/bin/activate
pip install -r requirements.txt
  1. 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
  1. Run the chatbot:
python chatbot.py

Usage

  1. Start a conversation with the Telegram bot by sending the /start command.
  2. Use the /help command to view available commands.
  3. Enable data science interview mode by sending the /interview command.
  4. Answer the questions provided by the bot and practice your data science interview skills.
  5. Disable data science interview mode by sending the /interview command again.

Demo

_TODO: https://youtu.be/afYWLFzlYJE

Contributing

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.

License

This project is licensed under the MIT License. See LICENSE for more information.

chatgpt-telegram-bot's People

Contributors

sagar431 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.