OpenAI::Eval
Inherits JSON::Serializable < Reference < Object
An Eval object with a data source config and testing criteria. An Eval represents a task to be done for your LLM integration. Like:
- Improve the quality of my chatbot
- See how well my chatbot handles customer support
- Check if o4-mini is better at my usecase than gpt-4o
Constructors
new(pull : JSON::PullParser)
Sourcenew(object : EvalObject = EvalObject::Eval, id : String = "", name : String = "", data_source_config : EvalDataSourceConfig = EvalCustomDataSourceConfig.new, testing_criteria : Array(EvalTestingCriteriaItem) = [] of EvalTestingCriteriaItem, created_at : Int64 = 0, metadata : Metadata = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at=(created_at : Int64)
The Unix timestamp (in seconds) for when the eval was created.
data_source_config=(data_source_config : EvalDataSourceConfig)
Configuration of data sources used in runs of the evaluation.
metadata
Sourcemetadata=(metadata : Metadata)
Source