A basic command line utility to generate cover letters using OpenAI's gpt 3 API. Has the ability to generate a simple cover letter based ona given resume and job description, as well as basic ai based editing capabilities (more advanced editing option TBA).
- Download the project with:
git clone https://github.com/Tsuchijo/CoverLetterGenerator.git
- enter the directory with
cd CoverLetterGenerator
then create a file named.env
- Sign into your OpenAI account then generate an API key: https://platform.openai.com/account/api-keys
- In the
.env
file paste inOPENAI_API_KEY=<OpenAI api key>
, inputting your OpenAI API key where the brackets are (without the brackets) - Activate the environment by running the comman
source envAI/bin/activate
- Go to the resume directory with
cd resume
and create a text file namedresume.txt
with the plain text version of your resume - Finally, run the python script with
python CoverLetterGen.py
- After its has generated your letter, you can type
save
to save, orquit
to quit, anything else you type will be used as a prompt to edit the cover letter (e.g. type "change the companies name from UBC EE Department to the UBC Electrical Engineering")