Skip to content

Using llm with langchain to generate cover letters based on company data found on the internet and the person's profile

Notifications You must be signed in to change notification settings

Gazeux33/MotivAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MotivAI

This project is an ia agent created with langchain in python and which aims to create cover letters by being able to search the internet for information on the company in question and adapt to a template letter, your profile and a job offer if there is one, using the power of an llm of your choice.

Chain graph

How to use it

Installing dependencies

pip install -r requirements.txt

Fill API key

you need to fill the .env file with your tavily APi Key

TAVILY_API_KEY=<your key>

Setup your local llm

To run this project you need a local llm on a local server. For this you can use LM Studio Recommended model : meta-llama-3.1-8b-instruct

Fill your data

Then your own data in the data.json

Run it

python main.py -n "Company Name"

# Generate a cover letter in English
python main.py -n "Company Name" -l "en"

# Generate a cover letter with a specific job offer
python main.py -n "Company Name" -l "en" -o "path/to/job_offer.txt"

Acknowledgements

About

Using llm with langchain to generate cover letters based on company data found on the internet and the person's profile

Topics

Resources

Stars

Watchers

Forks