├── LICENSE ├── README.md ├── demo_2.txt ├── example.jpg ├── prompt_coach_chat.txt └── prompt_cover_letter.txt /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 David Shapiro 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CoverLetterGenerator 2 | Finetune GPT-3 to ask a few questions and generate a perfect cover letter 3 | 4 | ## Research 5 | 6 | - https://hbr.org/2014/02/how-to-write-a-cover-letter 7 | - https://www.glassdoor.com/blog/guide/how-to-write-a-cover-letter/ 8 | - https://blog.hubspot.com/marketing/best-cover-letter-examples 9 | 10 | 11 | ## Finetuning? Or no? 12 | 13 | Not necessary! Just use the combination of two different prompts. One for the chatbot, one for the cover letter. 14 | 15 | Here's the companion video: https://youtu.be/W3ewMRFoxis -------------------------------------------------------------------------------- /demo_2.txt: -------------------------------------------------------------------------------- 1 | The following is a conversation between a career coach and job seeker. The career coach asks the job seeker lots of questions to learn about them so they can write an awesome cover letter. The career coach also asks about the company and job they want, as well as their work history, strengths, and passions. Finally, once the coach has enough information, they write an impressive cover letter. 2 | 3 | COACH: Hey there, what's your name? 4 | SEEKER: My name is Wile E Coyote. 5 | COACH: Nice to meet you, Wile! So, what company are you looking to work for? 6 | SEEKER: I want to work for the Eat the Roadrunner Foundation. 7 | COACH: Great! What job are you looking for? 8 | SEEKER: I want to eat the roadrunner. 9 | COACH: I see. Well, what are your strengths? 10 | SEEKER: I am very hungry, and motivated to catch the roadrunner. I excel at designing and setting traps, such as by using rockets, cages, and automated mallets. 11 | COACH: Those are great strengths! And what are you passionate about? 12 | SEEKER: ROADRUNNER FLESH!!! 13 | COACH: Okay, I think I have enough information to write an impressive cover letter. 14 | COVER LETTER: 15 | 16 | To Whom It May Concern, 17 | 18 | I am writing to apply for the position of Roadrunner Eater at the Eat the Roadrunner Foundation. I am confident that I am the perfect candidate for this job, as I have a great deal of experience in hunting and trapping roadrunners. My strengths include my hunger and motivation, as well as my creativity in designing traps. I am passionate about eating roadrunners, and I am confident that I can be an asset to your organization. 19 | 20 | Thank you for your time and consideration, 21 | 22 | Wile E Coyote -------------------------------------------------------------------------------- /example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daveshap/CoverLetterGenerator/c53378e557b43ac047915b71cf51da4a3112e82d/example.jpg -------------------------------------------------------------------------------- /prompt_coach_chat.txt: -------------------------------------------------------------------------------- 1 | The following is a conversation between a career coach and job seeker. The career coach asks the job seeker lots of questions to learn about them so they can write an awesome cover letter. The career coach also asks about the company and job they want, as well as their work history, strengths, and passions. Finally, once the coach has enough information, they write an impressive cover letter. 2 | 3 | COACH: Hey there, what's your name? 4 | SEEKER: My name is Dave. 5 | COACH: Hi Dave! Tell me a little bit about the company and job you're interested in. 6 | SEEKER: I want to work at Acme Dynamite as a product specialist. I love blowing stuff up! 7 | COACH: That sounds like a really fun job! What are some of your strengths? 8 | SEEKER: I freaking love dynamite. I know everything there is to know about it! Did you know that the largest non-nuclear explosion ever created was an underwater demolition project? 9 | COACH: No, I didn't know that! That's really interesting. What is your work history like? 10 | SEEKER: Well, I used to be an ordnance tech with the US Army 11 | COACH: That's great! What did you do in that role? 12 | SEEKER: Mostly I set demo charges to dispose of failed ordnance or demolish structures. 13 | COACH: That sounds like a really exciting job! I'm sure you have a lot of experience with dynamite. What are you passionate about? 14 | SEEKER: DYNAMITE!!!! 15 | COACH: Ha, I can tell! Well, I think I have enough information to write an awesome cover letter for you. Good luck with your job search! 16 | COVER LETTER: 17 | 18 | To Whom It May Concern, 19 | 20 | I am writing in regards to the open product specialist position at Acme Dynamite. I am immensely excited about the prospect of working for such a fun and innovative company! 21 | 22 | I bring with me a wealth of experience with dynamite, both in my previous role as an ordnance tech with the US Army and in my personal life. I am passionate about dynamite and I firmly believe that I have the skills and knowledge to excel in this role. 23 | 24 | In addition to my experience with dynamite, I am also a highly motivated and detail-oriented individual. I am confident that I can be an asset to the Acme Dynamite team and I look forward to contributing to your success. 25 | 26 | Thank you for your consideration and I look forward to hearing from you soon. 27 | 28 | Sincerely, 29 | 30 | Dave -------------------------------------------------------------------------------- /prompt_cover_letter.txt: -------------------------------------------------------------------------------- 1 | Given the following chat log, write an impressive cover letter. The cover letter should be bold, impactful, and professional. Include details such as strengths and passions, but also address the company directly. 2 | 3 | 4 | COACH: Hey there, what's your name? 5 | SEEKER: My name is Wile E Coyote. 6 | COACH: Nice to meet you, Wile! So, what company are you looking to work for? 7 | SEEKER: I want to work for the Eat the Roadrunner Foundation. 8 | COACH: Great! What job are you looking for? 9 | SEEKER: I want to eat the roadrunner. 10 | COACH: I see. Well, what are your strengths? 11 | SEEKER: I am very hungry, and motivated to catch the roadrunner. I excel at designing and setting traps, such as by using rockets, cages, and automated mallets. 12 | COACH: Those are great strengths! And what are you passionate about? 13 | SEEKER: ROADRUNNER FLESH!!! 14 | COACH: Okay, I think I have enough information to write an impressive cover letter. 15 | 16 | 17 | COVER LETTER: --------------------------------------------------------------------------------