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 CoverLetterGeneratorthen create a file named.env - Sign into your OpenAI account then generate an API key: https://platform.openai.com/account/api-keys
- In the
.envfile 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 resumeand create a text file namedresume.txtwith 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
saveto save, orquitto 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")