-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIC-py][eval] add structured model-based evals
- add `make_structured_llm_metric()` which takes some configs and creates a metric that queries an LLM with the text to evaluate and some evaluation criteria, and returns a structured eval result - wrap with `make_openai_structured_llm_metric()` - make example `gpt3_5_text_ratings()` - add tests that mock the openai call
- Loading branch information
1 parent
38ca486
commit 85febe4
Showing
7 changed files
with
599 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.