Overview
DSPy (Declarative Self-improving Python) can automatically optimize prompts against evaluation datasets.
How it works
- Define task signature:
(job_description, resume) -> tailored_resume
- Provide 20-50 labeled examples of good tailoring
- DSPy tries different prompt strategies and selects the best
- Optimized prompts are saved and reused
Potential for ResumeFlow
- Optimize the section-wise prompts automatically
- A/B test different prompt strategies
- Adapt prompts per industry/role type
Prerequisites
Overview
DSPy (Declarative Self-improving Python) can automatically optimize prompts against evaluation datasets.
How it works
(job_description, resume) -> tailored_resumePotential for ResumeFlow
Prerequisites