Class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource
-
- All Implemented Interfaces:
public final class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource
A ResponsesRunDataSource object describing a model sampling configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Builder
A builder for CreateEvalResponsesRunDataSource.
public final class
RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source
Determines what populates the
item
namespace in this run's data source.public final class
RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Type
The type of run data source. Always
responses
.public final class
RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.InputMessages
Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie,
item.input_trajectory
), or a template with variable references to theitem
namespace.public final class
RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams
-
Method Summary
-
-
Method Detail
-
source
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source source()
Determines what populates the
item
namespace in this run's data source.
-
type
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Type type()
The type of run data source. Always
responses
.
-
inputMessages
final Optional<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.InputMessages> inputMessages()
Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie,
item.input_trajectory
), or a template with variable references to theitem
namespace.
-
model
final Optional<String> model()
The name of the model to use for generating completions (e.g. "o3-mini").
-
samplingParams
final Optional<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.SamplingParams> samplingParams()
-
_source
final JsonField<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.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<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_inputMessages
final JsonField<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.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<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.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 RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Builder toBuilder()
-
validate
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource validate()
-
builder
final static RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Builder builder()
Returns a mutable builder for constructing an instance of CreateEvalResponsesRunDataSource.
The following fields are required:
.source() .type()
-
-
-
-