class

OpenAI::EvalStoredCompletionsDataSourceConfig

Inherits JSON::Serializable < Reference < Object

Deprecated in favor of LogsDataSourceConfig.

Constructors

new(type_value : EvalStoredCompletionsDataSourceConfigType = EvalStoredCompletionsDataSourceConfigType::StoredCompletions, metadata : Metadata | Nil = nil, schema : Hash(String, JSON::Any) = Hash(String, JSON::Any).new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

metadata
Source
metadata=(metadata : Metadata | Nil)
Source
schema

The json schema for the run data source items. Learn how to build JSON schemas here.

Source
schema=(schema : Hash(String, JSON::Any))

The json schema for the run data source items. Learn how to build JSON schemas here.

Source
type_value

The type of data source. Always stored_completions.

Source
type_value=(type_value : EvalStoredCompletionsDataSourceConfigType)

The type of data source. Always stored_completions.

Source