https://github.com/theosorus/motivai
Using llm with langchain to generate cover letters based on company data found on the internet and the person's profile
https://github.com/theosorus/motivai
agents deep-learning generative-ai langchain-python llm lm-studio tavily
Last synced: 4 months ago
JSON representation
Using llm with langchain to generate cover letters based on company data found on the internet and the person's profile
- Host: GitHub
- URL: https://github.com/theosorus/motivai
- Owner: theosorus
- Created: 2025-01-22T16:30:40.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-01-27T09:48:33.000Z (9 months ago)
- Last Synced: 2025-05-29T13:28:57.515Z (5 months ago)
- Topics: agents, deep-learning, generative-ai, langchain-python, llm, lm-studio, tavily
- Language: Jupyter Notebook
- Homepage:
- Size: 309 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.- [Tavily Rrsearch tool](https://app.tavily.com)
- [Langchain documentation](https://python.langchain.com/docs/tutorials/)
## How to use it
### Installing dependencies
```bash
pip install -r requirements.txt
```### Fill API key
you need to fill the ```.env``` file with your tavily APi Key
```bash
TAVILY_API_KEY=
```
### Setup your local llmTo run this project you need a local llm on a local server. For this you can use [LM Studio](https://lmstudio.ai/)
Recommended model : [meta-llama-3.1-8b-instruct](https://huggingface.co/lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF)### Fill your data
Then your own data in the ```data.json```
### Run it
```bash
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
- https://github.com/Bredda/genai-talk-notebooks
- https://www.youtube.com/watch?v=yF9kGESAi3M