OpenAI::CreateEvalLogsDataSourceConfig
Inherits JSON::Serializable < Reference < Object
A data source config which specifies the metadata property of your logs query.
This is usually metadata like usecase=chatbot or prompt-version=v2, etc.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : CreateEvalLogsDataSourceConfigType = CreateEvalLogsDataSourceConfigType::Logs, metadata : Hash(String, JSON::Any) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Metadata filters for the logs data source.
type_value=(type_value : CreateEvalLogsDataSourceConfigType)
The type of data source. Always logs.