Skip to content

Commit

Permalink
Adjust writer/critic instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
shippy committed Apr 1, 2024
1 parent 86c89fb commit bb1cb94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/cover_letter_automation/agents/critic.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- **Engagement**: Does the cover letter grab the reader's attention and make them want to learn
more?
- **Whimsical tone**: Does the cover letter have a unique voice or perspective that sets it apart?
Can you try an unusual turn of phrase? That said, make sure to not go overboard with this.
- **Completeness**: Does the cover letter provide all the information required by the job
description?
Expand Down
7 changes: 3 additions & 4 deletions src/cover_letter_automation/agents/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
should you make anything up.
- **Completeness**: Ensure that the cover letter contains all the requirements the job description
asks for.
- **Whimsical tone**: Be professional, but not *too* formal; at the same time, be a little
whimsical, but don't go overboard with it. Try one or two unusual turns of phrase.
- **Principles of good writing.** Avoid cliches (e.g. "since the dawn of time"/"since the outset of
my career"). Use few adjectives and no adverbs unless necessary. Be concise. Use active voice.
- **Principles of good writing.** Be concise, but not at the expense of your specific work
experience. Avoid cliches. Use few adjectives and no adverbs. Use active voice.
- **Voice**: Be whimsical if prompted by the Critic. Otherwise, keep the tone professional.
Skip the header; address the cover letter to Sir/Madam unless the job description indicated
otherwise.
Expand Down
4 changes: 2 additions & 2 deletions src/cover_letter_automation/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def setup_and_start_session(
conversation = client.initiate_chat(
recipient=group_manager,
message="Please start the extraction from the job description, then write a cover letter based on a resume.",
summary_method="reflection_with_llm",
summary_method="last_msg", # Avoid a reflection price tag.
clear_history=True,
max_turns=20,
max_turns=22,
)

return conversation

0 comments on commit bb1cb94

Please sign in to comment.