-
-
Notifications
You must be signed in to change notification settings - Fork 206
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 test vars in function schema #775
Comments
Released in 0.59.0! |
@typpo Awesome! Thanks for the quick implementation. 🎉 I have one use-case which still wouldn’t be possible with this implementation: I want to pass in a JSON Array as a var so I can use it in a
Sorry for the minimalistic example, I’m on mobile right now I think this could just be handled as another case in Also I’m happy to open a new issue if you prefer. |
I'm trying to evaluate a prompt that uses function calls. However, the function schema depends on one of the variables in the test output. It looks like function calls currently are part of the provider config and not of the prompt, so I don't see a way to inject variables into a function definition. Is there any other way to adjust the function schema per test case?
The text was updated successfully, but these errors were encountered: