Skip to content

This application named by telegram-bot-vacancies and integrates with Telegram bot functionalities into the project. Also integrate the OpenAI API to generate personalized cover letters for the last chosen vacancy by the user. The opencsv library is employed to efficiently read files containing vacancy information.

License

Notifications You must be signed in to change notification settings

dima666Sik/telegram-bot-vacancies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot vacancies 🤖💬🎉

Project Video

This application named by telegram-bot-vacancies and integrates with Telegram bot functionalities into the project. Also integrate the OpenAI API to generate personalized cover letters for the last chosen vacancy by the user. The opencsv library is employed to efficiently read files containing vacancy information. This bot functionality will be expanded.


List of Contents


Description

Preview, I hope you enjoy it 😊

Welcome to telegram-bot-vacancies application. This project is built using Java 21, telegram bot api, openai api.
I am using chatGPT for generation of a cover letter to last chosen vacancy by user. All technologies you can see in the part of this README.md under the heading Technologies.


Technologies

  • Telegram Bot API: The Telegram Bot API is utilized to integrate Telegram bot functionalities into the project. This enables efficient communication and interaction with users on the Telegram platform.
  • OpenAI API: We integrate the OpenAI API to generate personalized cover letters for the last chosen vacancy by the user.
  • opencsv: The opencsv library is employed to efficiently read files containing vacancy information.
  • lombok: Lombok is used to reduce boilerplate code in the project. With its annotations, Lombok simplifies the codebase, making it more concise and readable while maintaining the necessary functionality.
  • Spring Boot: The project is built on the Spring Boot framework, which offers a robust and streamlined development experience. Spring Boot's features, including dependency management and auto-configuration, contribute to the creation of scalable and maintainable applications.

Features

You can:

  • ☑️️ Using command Telegram bot;
    • ☑️ /start;
    • ☑️ /help;
  • ☑️ Choose lvl searching vacancies;
    • ☑️ Junior;
    • ☑️ Middle;
    • ☑️ Senior;
  • ☑️ Choose certain vacancy from all those was read from .csv file;
  • ☑️ Watch on the vacancy in detail;
  • ☑️ Generate of a cover letter for the last chosen vacancy by the user;
  • ☑️ Back to the choice vacancies/Back to choose lvl searching vacancies;

Usage

  1. I would you recommended to clone my project from the GitHub.
    If you want to do this, please use this command:
git clone https://github.com/dima666Sik/telegram-bot-vacancies.git
  1. To run this project, you will need to install:
    • JDK 21 or higher;
  2. Please reload this Maven project to install all dependencies.
  3. Also, you will need to insert your own token and key into telegram.bot.token.access and openai.key into file application.properties.
telegram.bot.token.access=<your-own-telegram-bot-token-access>
telegram.bot.username=BotVacancies
file.name.vacancies=vacancies.csv

openai.api.url=https://api.openai.com/v1/chat/completions
openai.key=<your-own-openai-token-access>
openai.model=gpt-3.5-turbo
openai.temperature=1
openai.max-tokens=256
openai.top-p=1
openai.frequency-penalty=0
openai.presence-penalty=0
  1. Make sure that you have a file in your code vacancies.csv from where vacancies will be read.
  2. If you can see, we have in root project Dockerfile. We can start our project on docker without starting on IDE. U can see a script into Dockerfile.
FROM openjdk:21-jdk

#optional
LABEL authors="<author>"  

ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} tg-bot-vacancies.jar
EXPOSE 3030

ENTRYPOINT ["java", "-jar", "/tg-bot-vacancies.jar"]
  1. Feel free to make changes to code that you clone to yourself Git.

Author Info @DK

Back To The Top

About

This application named by telegram-bot-vacancies and integrates with Telegram bot functionalities into the project. Also integrate the OpenAI API to generate personalized cover letters for the last chosen vacancy by the user. The opencsv library is employed to efficiently read files containing vacancy information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published