Skip to content

An AI powered project to help job seekers by crafting cover letters.

License

Notifications You must be signed in to change notification settings

dakshesh14/anukool

Repository files navigation

Anukool

An AI powered project to help job seekers by crafting cover letters. Host it on your local machine and use it to generate cover letters for your job applications.

anukool-demo.mp4

Setup

  1. Clone the repo
git clone https://github.com/dakshesh14/anukool.git
cd anukool
  1. Create a virtual environment
python3 -m venv venv
source venv/bin/activate
  1. Install the dependencies
pip install -r requirements.txt
  1. Add the environment variables and populate them
cp .env.example .env

By default, the app will use openai's model. If you wish to change that to llama-2, change the MODEL_NAME variable in .env file to llama-2-7b.ggmlv3.q8_0.bin.

Note: if you change the model to something other than openai's, you will have to download the model and place it in models folder. To download the model, run the following command(taking 7b model as an example):

cd models
wget https://huggingface.co/TheBloke/Llama-2-7B-GGML/resolve/main/llama-2-7b.ggmlv3.q8_0.bin?download=true

or in powershell 👇

Invoke-WebRequest -Uri "https://huggingface.co/TheBloke/Llama-2-7B-GGML/resolve/main/llama-2-7b.ggmlv3.q8_0.bin?download=true" -OutFile "models\llama-2-7b.ggmlv3.q8_0.bin" # in powershell

Additionally, you will have to populate the HUGGINGFACEHUB_API_TOKEN variable in .env file. To get the token, go to huggingface and copy the token.

  1. Add your pdf in docs folder.

  2. Run the script

python ingest.py # to ingest the pdf
uvicorn main:app --reload
  1. Open the browser and go to http:https://localhost:8000/ to view the app.

Contributing

Contributions are welcome! In fact to promote the open source culture, I launched this project in under GPL-3.0 License. Feel free to open an issue or submit a pull request.

Acknowledgements

  • FastAPI
  • LangChain
  • OpenAI
  • Llama-2
  • and others for their unwavering support.

Future Scope

  • Reduce hallucination
  • Add option for llama-2 model
  • Add option for users to download cover letter in pdf format

Conclusion

While this project is far from perfect, I wish that it will bring value to the community and the job seekers. I hope that it will help you in your job search. If you like this project, please consider giving it a star. If you want to connect with me, you can find me on the following platforms:

About

An AI powered project to help job seekers by crafting cover letters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published