-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
allow provider to report updated prompt? #718
Comments
This request definitely makes sense - I'm thinking about the best way to implement and will provide some pointers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a framework that generates prompts on the fly (https://github.com/microsoft/genaiscript) which means that the prompt files built on the fly and sent to the LLM (This works great with the custom javascript provider model and we were able to integrate nicely with promptfoo)
This is problematic for the prompt source because it always ends up being the javascript source instead of the generated prompt, which disables a number of assertions that rely on the input.
Would there be a way to also provide the opportunity for the api provider to return the prompt it actually as part of the response? With a couple pointers, I would be happy to produce a PR.
The text was updated successfully, but these errors were encountered: