Class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses
-
- All Implemented Interfaces:
public final class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses
A EvalResponsesSource object describing a run data source configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses.Builder
A builder for Responses.
-
Method Summary
Modifier and Type Method Description final JsonValue
_type()
The type of run data source. final Optional<Long>
createdAfter()
Only include items created after this timestamp (inclusive). final Optional<Long>
createdBefore()
Only include items created before this timestamp (inclusive). final Optional<String>
instructionsSearch()
Optional string to search the 'instructions' field. final JsonValue
_metadata()
Metadata filter for the responses. final Optional<String>
model()
The name of the model to find responses for. final Optional<ReasoningEffort>
reasoningEffort()
Optional reasoning effort parameter. final Optional<Double>
temperature()
Sampling temperature. final Optional<List<String>>
tools()
List of tool names. final Optional<Double>
topP()
Nucleus sampling parameter. final Optional<List<String>>
users()
List of user identifiers. final JsonField<Long>
_createdAfter()
Returns the raw JSON value of createdAfter. final JsonField<Long>
_createdBefore()
Returns the raw JSON value of createdBefore. final JsonField<String>
_instructionsSearch()
Returns the raw JSON value of instructionsSearch. final JsonField<String>
_model()
Returns the raw JSON value of model. final JsonField<ReasoningEffort>
_reasoningEffort()
Returns the raw JSON value of reasoningEffort. final JsonField<Double>
_temperature()
Returns the raw JSON value of temperature. final JsonField<List<String>>
_tools()
Returns the raw JSON value of tools. final JsonField<Double>
_topP()
Returns the raw JSON value of topP. final JsonField<List<String>>
_users()
Returns the raw JSON value of users. final Map<String, JsonValue>
_additionalProperties()
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses.Builder
toBuilder()
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses.Builder
builder()
Returns a mutable builder for constructing an instance of Responses. -
-
Method Detail
-
_type
final JsonValue _type()
The type of run data source. Always
responses
.Expected to always return the following:
JsonValue.from("responses")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
createdAfter
final Optional<Long> createdAfter()
Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.
-
createdBefore
final Optional<Long> createdBefore()
Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.
-
instructionsSearch
final Optional<String> instructionsSearch()
Optional string to search the 'instructions' field. This is a query parameter used to select responses.
-
_metadata
final JsonValue _metadata()
Metadata filter for the responses. This is a query parameter used to select responses.
-
model
final Optional<String> model()
The name of the model to find responses for. This is a query parameter used to select responses.
-
reasoningEffort
final Optional<ReasoningEffort> reasoningEffort()
Optional reasoning effort parameter. This is a query parameter used to select responses.
-
temperature
final Optional<Double> temperature()
Sampling temperature. This is a query parameter used to select responses.
-
tools
final Optional<List<String>> tools()
List of tool names. This is a query parameter used to select responses.
-
topP
final Optional<Double> topP()
Nucleus sampling parameter. This is a query parameter used to select responses.
-
users
final Optional<List<String>> users()
List of user identifiers. This is a query parameter used to select responses.
-
_createdAfter
final JsonField<Long> _createdAfter()
Returns the raw JSON value of createdAfter.
Unlike createdAfter, this method doesn't throw if the JSON field has an unexpected type.
-
_createdBefore
final JsonField<Long> _createdBefore()
Returns the raw JSON value of createdBefore.
Unlike createdBefore, this method doesn't throw if the JSON field has an unexpected type.
-
_instructionsSearch
final JsonField<String> _instructionsSearch()
Returns the raw JSON value of instructionsSearch.
Unlike instructionsSearch, 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.
-
_reasoningEffort
final JsonField<ReasoningEffort> _reasoningEffort()
Returns the raw JSON value of reasoningEffort.
Unlike reasoningEffort, this method doesn't throw if the JSON field has an unexpected type.
-
_temperature
final JsonField<Double> _temperature()
Returns the raw JSON value of temperature.
Unlike temperature, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<String>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_topP
final JsonField<Double> _topP()
Returns the raw JSON value of topP.
Unlike topP, this method doesn't throw if the JSON field has an unexpected type.
-
_users
final JsonField<List<String>> _users()
Returns the raw JSON value of users.
Unlike users, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses.Builder toBuilder()
-
validate
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses validate()
-
builder
final static RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.Responses.Builder builder()
Returns a mutable builder for constructing an instance of Responses.
-
-
-
-