-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Support one-shot prompts #26
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #26 +/- ##
==========================================
+ Coverage 96.57% 97.00% +0.43%
==========================================
Files 3 3
Lines 146 167 +21
==========================================
+ Hits 141 162 +21
Misses 5 5 ☔ View full report in Codecov by Sentry. |
The changes I think are good and I don't have much comment on that. I do have some thoughts on the |
Didn't know about |
Okay, I wasn't sure how complex these prompts may be. 😄 I do like what you did in your last commit to at least make the code more readable. |
This PR refactors the prompt management to add support for one-shot prediction. Specifically:
PromptBuilder
helper classprompts
module to export full prompt templates, instead of separate sets of system and instruction promptsTest outputs from the
generate.ipynb
notebook: