Class RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder
-
- All Implemented Interfaces:
public final class RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder
A builder for InnerResponses.
-
-
Method Summary
-
-
Method Detail
-
type
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("responses")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAfter
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(Long createdAfter)
Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.
-
createdAfter
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(Long createdAfter)
Alias for Builder.createdAfter.
This unboxed primitive overload exists for backwards compatibility.
-
createdAfter
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(Optional<Long> createdAfter)
Alias for calling Builder.createdAfter with
createdAfter.orElse(null)
.
-
createdAfter
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdAfter(JsonField<Long> createdAfter)
Sets Builder.createdAfter to an arbitrary JSON value.
You should usually call Builder.createdAfter with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdBefore
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(Long createdBefore)
Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.
-
createdBefore
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(Long createdBefore)
Alias for Builder.createdBefore.
This unboxed primitive overload exists for backwards compatibility.
-
createdBefore
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(Optional<Long> createdBefore)
Alias for calling Builder.createdBefore with
createdBefore.orElse(null)
.
-
createdBefore
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder createdBefore(JsonField<Long> createdBefore)
Sets Builder.createdBefore to an arbitrary JSON value.
You should usually call Builder.createdBefore with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
instructionsSearch
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder instructionsSearch(String instructionsSearch)
Optional string to search the 'instructions' field. This is a query parameter used to select responses.
-
instructionsSearch
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder instructionsSearch(Optional<String> instructionsSearch)
Alias for calling Builder.instructionsSearch with
instructionsSearch.orElse(null)
.
-
instructionsSearch
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder instructionsSearch(JsonField<String> instructionsSearch)
Sets Builder.instructionsSearch to an arbitrary JSON value.
You should usually call Builder.instructionsSearch with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder metadata(JsonValue metadata)
Metadata filter for the responses. This is a query parameter used to select responses.
-
model
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder model(String model)
The name of the model to find responses for. This is a query parameter used to select responses.
-
model
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder model(Optional<String> model)
Alias for calling Builder.model with
model.orElse(null)
.
-
model
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder model(JsonField<String> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reasoningEffort
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder reasoningEffort(ReasoningEffort reasoningEffort)
Optional reasoning effort parameter. This is a query parameter used to select responses.
-
reasoningEffort
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder reasoningEffort(Optional<ReasoningEffort> reasoningEffort)
Alias for calling Builder.reasoningEffort with
reasoningEffort.orElse(null)
.
-
reasoningEffort
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder reasoningEffort(JsonField<ReasoningEffort> reasoningEffort)
Sets Builder.reasoningEffort to an arbitrary JSON value.
You should usually call Builder.reasoningEffort with a well-typed ReasoningEffort value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
temperature
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(Double temperature)
Sampling temperature. This is a query parameter used to select responses.
-
temperature
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(Double temperature)
Alias for Builder.temperature.
This unboxed primitive overload exists for backwards compatibility.
-
temperature
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(Optional<Double> temperature)
Alias for calling Builder.temperature with
temperature.orElse(null)
.
-
temperature
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder temperature(JsonField<Double> temperature)
Sets Builder.temperature to an arbitrary JSON value.
You should usually call Builder.temperature with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tools
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder tools(List<String> tools)
List of tool names. This is a query parameter used to select responses.
-
tools
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder tools(Optional<List<String>> tools)
Alias for calling Builder.tools with
tools.orElse(null)
.
-
tools
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder tools(JsonField<List<String>> tools)
Sets Builder.tools to an arbitrary JSON value.
You should usually call Builder.tools with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTool
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder addTool(String tool)
-
topP
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder topP(Double topP)
Nucleus sampling parameter. This is a query parameter used to select responses.
-
topP
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder topP(Double topP)
Alias for Builder.topP.
This unboxed primitive overload exists for backwards compatibility.
-
topP
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder topP(Optional<Double> topP)
Alias for calling Builder.topP with
topP.orElse(null)
.
-
topP
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder topP(JsonField<Double> topP)
Sets Builder.topP to an arbitrary JSON value.
You should usually call Builder.topP with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
users
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder users(List<String> users)
List of user identifiers. This is a query parameter used to select responses.
-
users
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder users(Optional<List<String>> users)
Alias for calling Builder.users with
users.orElse(null)
.
-
users
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder users(JsonField<List<String>> users)
Sets Builder.users to an arbitrary JSON value.
You should usually call Builder.users with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addUser
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder addUser(String user)
-
additionalProperties
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RunCreateResponse.DataSource.Responses.Source.InnerResponses.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RunCreateResponse.DataSource.Responses.Source.InnerResponses build()
Returns an immutable instance of InnerResponses.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-