Class RunCreateResponse.DataSource.Completions
-
- All Implemented Interfaces:
public final class RunCreateResponse.DataSource.CompletionsA ResponsesRunDataSource object describing a model sampling configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunCreateResponse.DataSource.Completions.BuilderA builder for Completions.
public final classRunCreateResponse.DataSource.Completions.SourceA EvalResponsesSource object describing a run data source configuration.
public final classRunCreateResponse.DataSource.Completions.InputMessagespublic final classRunCreateResponse.DataSource.Completions.SamplingParams
-
Method Summary
-
-
Method Detail
-
source
final RunCreateResponse.DataSource.Completions.Source source()
A EvalResponsesSource object describing a run data source configuration.
-
_type
final JsonValue _type()
The type of run data source. Always
completions.Expected to always return the following:
JsonValue.from("completions")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
inputMessages
final Optional<RunCreateResponse.DataSource.Completions.InputMessages> inputMessages()
-
model
final Optional<String> model()
The name of the model to use for generating completions (e.g. "o3-mini").
-
samplingParams
final Optional<RunCreateResponse.DataSource.Completions.SamplingParams> samplingParams()
-
_source
final JsonField<RunCreateResponse.DataSource.Completions.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_inputMessages
final JsonField<RunCreateResponse.DataSource.Completions.InputMessages> _inputMessages()
Returns the raw JSON value of inputMessages.
Unlike inputMessages, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_samplingParams
final JsonField<RunCreateResponse.DataSource.Completions.SamplingParams> _samplingParams()
Returns the raw JSON value of samplingParams.
Unlike samplingParams, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunCreateResponse.DataSource.Completions.Builder toBuilder()
-
validate
final RunCreateResponse.DataSource.Completions validate()
-
builder
final static RunCreateResponse.DataSource.Completions.Builder builder()
Returns a mutable builder for constructing an instance of Completions.
The following fields are required:
.source()
-
-
-
-