Class CreateEvalCompletionsRunDataSource
-
- All Implemented Interfaces:
public final class CreateEvalCompletionsRunDataSource
A CompletionsRunDataSource object describing a model sampling configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CreateEvalCompletionsRunDataSource.Builder
A builder for CreateEvalCompletionsRunDataSource.
public final class
CreateEvalCompletionsRunDataSource.InputMessages
public final class
CreateEvalCompletionsRunDataSource.Source
A StoredCompletionsRunDataSource configuration describing a set of filters
public final class
CreateEvalCompletionsRunDataSource.Type
The type of run data source. Always
completions
.public final class
CreateEvalCompletionsRunDataSource.SamplingParams
-
Method Summary
-
-
Method Detail
-
inputMessages
final CreateEvalCompletionsRunDataSource.InputMessages inputMessages()
-
model
final String model()
The name of the model to use for generating completions (e.g. "o3-mini").
-
source
final CreateEvalCompletionsRunDataSource.Source source()
A StoredCompletionsRunDataSource configuration describing a set of filters
-
type
final CreateEvalCompletionsRunDataSource.Type type()
The type of run data source. Always
completions
.
-
samplingParams
final Optional<CreateEvalCompletionsRunDataSource.SamplingParams> samplingParams()
-
_inputMessages
final JsonField<CreateEvalCompletionsRunDataSource.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.
-
_source
final JsonField<CreateEvalCompletionsRunDataSource.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<CreateEvalCompletionsRunDataSource.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_samplingParams
final JsonField<CreateEvalCompletionsRunDataSource.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 CreateEvalCompletionsRunDataSource.Builder toBuilder()
-
validate
final CreateEvalCompletionsRunDataSource validate()
-
builder
final static CreateEvalCompletionsRunDataSource.Builder builder()
Returns a mutable builder for constructing an instance of CreateEvalCompletionsRunDataSource.
The following fields are required:
.inputMessages() .model() .source() .type()
-
-
-
-