Skip to content

ericrisco/infojobs-hackaton

Repository files navigation

🧠🧑‍💼 InfojobsGPT

InfojobsGPT is an innovative Telegram chatbot that utilizes the OpenAI API and the Infojobs API to assist individuals in their job search. Using the GPT-3 model, it allows for natural language interaction, removing the need for predefined commands. Besides assisting in job searching, InfojobsGPT can generate job profiles for users, extract Infojobs profile, formulate queries to the Infojobs API, evaluate job offers, and, of course, tell bad jokes to brighten up your day. Additionally, InfojobsGPT can send you a job offer that matches your profile every day.

💻 Features

  1. Natural Language Interaction: Interact with the chatbot in natural language, without the need for predefined commands. Works the same as ChatGPT.
  2. Job Profile extract from InfoJobs: Extract your job profile from Infojobs through natural language.
  3. Job Profile Generation: Generate your job profiles through natural language.
  4. Job Profile Modification: Modify job profiles through natural language.
  5. Technology Extraction from GitHub: Extract the technologies used in your GitHub repositories through natural language.
  6. Job Search by Profile: Use your job profile to formulate queries to the Infojobs API and get job offers.
  7. Job Search by Prompt: Use a prompt to formulate queries to the Infojobs API and get job offers.
  8. Job Offer Evaluation: Compare a job offer with your profile and get feedback.
  9. Bad Joke Generator: Generate bad jokes related to AI, programming, and job searching.
  10. Daily Job Offers: Sends a job offer to your Telegram based on your job profile each day.

💻 Technologies

📝 Try the bot

You can test the bot on Telegram at the following link: @infojobsgpt_bot

📝 Installation

  1. Clone the repository

    git clone
  2. Install NPM packages

     npm install
  3. Create a .env file with the following environment variables:

    PORT=5000
    TELEGRAM_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    MONGODB_URI="mongodb+srv://<username>:<password>@xxx/yyy"
    MONGODB_USERNAME=xxx
    MONGODB_PASSWORD=yyy
    OPENAI_TOKEN=zzz
    AI_MODEL=gpt-3.5-turbo
    OPEN_AI_RATE_LIMIT_RETRIES=5
    OPEN_AI_DELAY_BETWEEN_RETRIES=20000
    INFOJOBS_CLIENT_ID=xxx
    INFOJOBS_CLIENT_SECRET=yyy
    INFOJOBS_REDIRECT_URI=xxxx/infojobs/callback
    GITHUB_API_TOKEN=xxx

    You need a Telegram bot token, an Infojobs API key, a MongoDB URI, a MongoDB username, a MongoDB password, an OpenAI API token.

    • You can get a Telegram bot token by talking to the BotFather.
    • You can get an Infojobs Client ID and Client Secret Infojobs API team.
    • You can get an OpenAI API token by signing up for the OpenAI API.
    • You can get a MongoDB URI, a MongoDB username, and a MongoDB password by signing up for MongoDB Atlas.
    • You can get a GitHub API token by following the instructions Github.
  4. Run the dev server

     npm run dev

About

InfojobsGPT is a Telegram bot that streamlines job searching and profile generation using OpenAI and Infojobs APIs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors