OpenAI::EvalCustomDataSourceConfig
Inherits JSON::Serializable < Reference < Object
A CustomDataSourceConfig which specifies the schema of your item and optionally sample namespaces.
The response schema defines 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 : EvalCustomDataSourceConfigType = EvalCustomDataSourceConfigType::Custom, schema : Hash(String, JSON::Any) = Hash(String, JSON::Any).new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : EvalCustomDataSourceConfigType)
The type of data source. Always custom.