Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericrisco/infojobs-hackaton
InfojobsGPT is a Telegram bot that streamlines job searching and profile generation using OpenAI and Infojobs APIs.
https://github.com/ericrisco/infojobs-hackaton
chatbot github openai telegram telegram-bot
Last synced: 25 days ago
JSON representation
InfojobsGPT is a Telegram bot that streamlines job searching and profile generation using OpenAI and Infojobs APIs.
- Host: GitHub
- URL: https://github.com/ericrisco/infojobs-hackaton
- Owner: ericrisco
- License: mit
- Created: 2023-05-16T16:59:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-28T22:41:54.000Z (over 1 year ago)
- Last Synced: 2024-11-17T12:52:17.489Z (about 2 months ago)
- Topics: chatbot, github, openai, telegram, telegram-bot
- Language: JavaScript
- Homepage: https://t.me/infojobsgpt_bot
- Size: 250 KB
- Stars: 40
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 🧠🧑💼 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
- [Node.js](https://nodejs.org/)
- [OpenAI API](https://platform.openai.com/)
- [Infojobs API](https://developer.infojobs.net/)
- [Telegram API](https://core.telegram.org/)
- [MongoDB](https://www.mongodb.com/)## 📝 Try the bot
You can test the bot on Telegram at the following link: [@infojobsgpt_bot](https://t.me/infojobsgpt_bot)
## 📝 Installation
1. Clone the repository
```sh
git clone
```2. Install NPM packages
```sh
npm install
```3. Create a .env file with the following environment variables:
```sh
PORT=5000
TELEGRAM_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MONGODB_URI="mongodb+srv://:@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](https://t.me/botfather).
- You can get an Infojobs Client ID and Client Secret [Infojobs API team](https://developer.infojobs.net/).
- You can get an OpenAI API token by signing up for the [OpenAI API](https://beta.openai.com/).
- You can get a MongoDB URI, a MongoDB username, and a MongoDB password by signing up for [MongoDB Atlas](https://www.mongodb.com/cloud/atlas).
- You can get a GitHub API token by following the instructions [Github](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).4. Run the dev server
```sh
npm run dev
```