You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that appear in the conversation context — extract and include their FULL content.
460
+
* Information the user shared across multiple messages in the conversation.
461
+
* Any relevant details from knowledge base search results in the context.
462
+
The more complete the user_info, the better the resume. Include names, contact info,
463
+
work experience with dates, education, skills, projects, certifications — everything available.
464
+
- user_instructions: Optional style or content preferences (e.g. "emphasize leadership",
465
+
"keep it to one page"). For revisions, describe what to change.
466
+
- parent_report_id: Set this when the user wants to MODIFY an existing resume from
467
+
this conversation. Use the report_id from a previous generate_resume result.
468
+
- Returns: Dict with status, report_id, title, and content_type.
469
+
- After calling: Give a brief confirmation. Do NOT paste resume content in chat. Do NOT mention report_id or any internal IDs — the resume card is shown automatically.
470
+
- VERSIONING: Same rules as generate_report — set parent_report_id for modifications
471
+
of an existing resume, leave as None for new resumes.
472
+
"""
473
+
474
+
_TOOL_EXAMPLES["generate_resume"] ="""
475
+
- User: "Build me a resume. I'm John Doe, engineer at Acme Corp..."
476
+
- Call: `generate_resume(user_info="John Doe, engineer at Acme Corp...")`
477
+
- WHY: Has creation verb "build" + resume → call the tool.
478
+
- User: "Create my CV with this info: [experience, education, skills]"
- User: "Build me a resume" (and there is a resume/CV document in the conversation context)
481
+
- Extract the FULL content from the document in context, then call:
482
+
`generate_resume(user_info="Name: John Doe\\nEmail: john@example.com\\n\\nExperience:\\n- Senior Engineer at Acme Corp (2020-2024)\\n Led team of 5...\\n\\nEducation:\\n- BS Computer Science, MIT (2016-2020)\\n\\nSkills: Python, TypeScript, AWS...")`
483
+
- WHY: Document content is available in context — extract ALL of it into user_info. Do NOT ignore referenced documents.
484
+
- User: (after resume generated) "Change my title to Senior Engineer"
485
+
- Call: `generate_resume(user_info="", user_instructions="Change the job title to Senior Engineer", parent_report_id=<previous_report_id>)`
486
+
- WHY: Modification verb "change" + refers to existing resume → set parent_report_id.
487
+
- User: "How should I structure my resume?"
488
+
- Do NOT call generate_resume. Answer in chat with advice.
489
+
- WHY: No creation/modification verb.
490
+
"""
491
+
446
492
# All tool names that have prompt instructions (order matters for prompt readability)
0 commit comments