-
Notifications
You must be signed in to change notification settings - Fork 285
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
[ENHANCEMENT] Evals with Explanation #1587
Comments
Thanks @jlopatec - I'm adding it as a stretch goal for next sprint. |
I think the explanations should be an optional flag though as it will eat into the completion token count. |
The optional flag is possible with function calling, but would require maintaining two separate prompts (or some clever manipulation of prompt templates) without function calling. |
Here's a non-function calling example from langchain. prompt snippet:
example response:
|
We would like to generate Evals with Explanations, text explanations along with the output value.
This is probably either Functions from OpenAI or a cleanly pull out the Rail from the output (for a more general solution).
"You are judging the output of a Q&A response please answer Correct or Incorrect along with a 1 sentence explanation"
"Yes.
The answer of X is ... "
Output: "Yes"
Explanation: "The answer of X is ... "
The text was updated successfully, but these errors were encountered: