Skip to content

A Telegram bot built with Nest.js and node-telegram-bot-api, integrated with AI to help users prepare for job interviews and improve their theoretical knowledge through profession-specific and skill-based questions.

License

Notifications You must be signed in to change notification settings

Zoomish/Interview-Assistant

Telegram Bot for Interview Preparation

This repository contains a Telegram bot built using Nest.js and the node-telegram-bot-api. The bot leverages AI to help users improve their theoretical knowledge and prepare for job interviews by asking profession-specific and skill-based questions.

Features

  • Interview Preparation: Simulates interview scenarios by asking relevant questions based on the user's profession and skills.
  • Skill Development: Assists users in improving their theoretical knowledge with targeted questions.
  • AI Integration: Generates dynamic and adaptive questions using artificial intelligence.
  • User-Friendly: Accessible and interactive interface through Telegram.

Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm
  • A Telegram Bot Token (create one via BotFather)

Installation

  1. Clone the repository:

    git clone https://github.com/Zoomish/Interview-Assistant.git
    cd Interview-Assistant
  2. Install dependencies:

    npm install
  3. Create a .env file in the root directory and add the following:

      GEMINI_API = your-gemini-api-key
      TELEGRAM_TOKEN = your-telegram-bot-token
      POSTGRES_USER = your-bd-user
      POSTGRES_HOST = your-host-user
      POSTGRES_PASSWORD = your-password-user
      POSTGRES_DATABASE = your-database-user
      POSTGRES_PORT = your-database-port

Running the Bot

Development Mode

npm run start:dev

Production Mode

npm run build
npm run start

Deployment

The bot can be deployed on any Node.js-compatible platform. For cloud deployment, consider services like Heroku, AWS, or Google Cloud.

Project Structure

  • src: Contains the source code
    • app: Main application module
    • bot: Telegram bot logic and handlers
      • services: Business logic and AI integration
    • config: Configuration and environment setup

Usage

  1. Start the bot on Telegram using the /start command.
  2. Choose your profession and skills.
  3. Answer questions to practice your knowledge and prepare for interviews.
  4. Get instant feedback and explanations for your answers.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

About

A Telegram bot built with Nest.js and node-telegram-bot-api, integrated with AI to help users prepare for job interviews and improve their theoretical knowledge through profession-specific and skill-based questions.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •