Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dspy to improve the prompt #67

Closed
3 tasks
snakedye opened this issue Jun 21, 2024 · 0 comments · Fixed by #68
Closed
3 tasks

Use dspy to improve the prompt #67

snakedye opened this issue Jun 21, 2024 · 0 comments · Fixed by #68
Assignees
Labels
enhancement New feature or request

Comments

@snakedye
Copy link
Contributor

DSPy is a framework for algorithmically optimizing LM prompts and weights.

I should produce more optimize prompts and give us more reliable and accurate results.

Tasks:

  • Use dspy in the gpt wrapper.
  • Adapt the prompt file to be compatible with what's asked by dspy.
  • Run e2e tests with dspy.

Acceptance Criteria:

  • All the tests should pass.
  • It should not have an impact on the API.
  • The prompt needs to return a valid JSON.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant