class

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(type_value : CreateEvalLogsDataSourceConfigType = CreateEvalLogsDataSourceConfigType::Logs, metadata : Hash(String, JSON::Any) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

metadata

Metadata filters for the logs data source.

Source
metadata=(metadata : Hash(String, JSON::Any) | Nil)

Metadata filters for the logs data source.

Source
type_value

The type of data source. Always logs.

Source
type_value=(type_value : CreateEvalLogsDataSourceConfigType)

The type of data source. Always logs.

Source