OpenAI::EvalStoredCompletionsSource
Inherits JSON::Serializable < Reference < Object
A StoredCompletionsRunDataSource configuration describing a set of filters
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : EvalStoredCompletionsSourceType = EvalStoredCompletionsSourceType::StoredCompletions, metadata : Metadata | Nil = nil, model : EvalStoredCompletionsSourceModel | Nil = nil, created_after : EvalStoredCompletionsSourceCreatedAfter | Nil = nil, created_before : EvalStoredCompletionsSourceCreatedBefore | Nil = nil, limit : EvalStoredCompletionsSourceLimit | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_after
Sourcecreated_after=(created_after : EvalStoredCompletionsSourceCreatedAfter | Nil)
Sourcecreated_before
Sourcecreated_before=(created_before : EvalStoredCompletionsSourceCreatedBefore | Nil)
Sourcelimit
Sourcelimit=(limit : EvalStoredCompletionsSourceLimit | Nil)
Sourcemetadata
Sourcemetadata=(metadata : Metadata | Nil)
Sourcemodel
Sourcemodel=(model : EvalStoredCompletionsSourceModel | Nil)
Sourcetype_value=(type_value : EvalStoredCompletionsSourceType)
The type of source. Always stored_completions.