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.
- Natural Language Interaction: Interact with the chatbot in natural language, without the need for predefined commands. Works the same as ChatGPT.
- Job Profile extract from InfoJobs: Extract your job profile from Infojobs through natural language.
- Job Profile Generation: Generate your job profiles through natural language.
- Job Profile Modification: Modify job profiles through natural language.
- Technology Extraction from GitHub: Extract the technologies used in your GitHub repositories through natural language.
- Job Search by Profile: Use your job profile to formulate queries to the Infojobs API and get job offers.
- Job Search by Prompt: Use a prompt to formulate queries to the Infojobs API and get job offers.
- Job Offer Evaluation: Compare a job offer with your profile and get feedback.
- Bad Joke Generator: Generate bad jokes related to AI, programming, and job searching.
- Daily Job Offers: Sends a job offer to your Telegram based on your job profile each day.
You can test the bot on Telegram at the following link: @infojobsgpt_bot
-
Clone the repository
git clone
-
Install NPM packages
npm install
-
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=xxxYou 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.
-
Run the dev server
npm run dev