OpenAI::CreateEvalCustomDataSourceConfig
Inherits JSON::Serializable < Reference < Object
A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs. This schema is used to define the shape of the data that will be:
- Used to define your testing criteria and
- What data is required when creating a run
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : CreateEvalCustomDataSourceConfigType = CreateEvalCustomDataSourceConfigType::Custom, item_schema : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, include_sample_schema : Bool | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
include_sample_schema
Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)
Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)
The json schema for each row in the data source.
type_value=(type_value : CreateEvalCustomDataSourceConfigType)
The type of data source. Always custom.