Class BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder
-
- All Implemented Interfaces:
public final class BetaResponsesClientEvent.ResponseCreate.Reasoning.BuilderA builder for Reasoning.
-
-
Method Summary
-
-
Method Detail
-
context
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder context(BetaResponsesClientEvent.ResponseCreate.Reasoning.Context context)
Controls which reasoning items are rendered back to the model on later turns. When returned on a response, this is the effective reasoning context mode used for the response.
-
context
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder context(Optional<BetaResponsesClientEvent.ResponseCreate.Reasoning.Context> context)
Alias for calling Builder.context with
context.orElse(null).
-
context
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder context(JsonField<BetaResponsesClientEvent.ResponseCreate.Reasoning.Context> context)
Sets Builder.context to an arbitrary JSON value.
You should usually call Builder.context with a well-typed Context value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
effort
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder effort(BetaResponsesClientEvent.ResponseCreate.Reasoning.Effort effort)
Constrains effort on reasoning for reasoning models. Currently supported values are
none,minimal,low,medium,high,xhigh, andmax. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response. Not all reasoning models support every value. See the reasoning guide for model-specific support.
-
effort
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder effort(Optional<BetaResponsesClientEvent.ResponseCreate.Reasoning.Effort> effort)
Alias for calling Builder.effort with
effort.orElse(null).
-
effort
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder effort(JsonField<BetaResponsesClientEvent.ResponseCreate.Reasoning.Effort> effort)
Sets Builder.effort to an arbitrary JSON value.
You should usually call Builder.effort with a well-typed Effort value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
generateSummary
@Deprecated(message = "deprecated") final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder generateSummary(BetaResponsesClientEvent.ResponseCreate.Reasoning.GenerateSummary generateSummary)
Deprecated: use
summaryinstead.A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. One of
auto,concise, ordetailed.
-
generateSummary
@Deprecated(message = "deprecated") final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder generateSummary(Optional<BetaResponsesClientEvent.ResponseCreate.Reasoning.GenerateSummary> generateSummary)
Alias for calling Builder.generateSummary with
generateSummary.orElse(null).
-
generateSummary
@Deprecated(message = "deprecated") final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder generateSummary(JsonField<BetaResponsesClientEvent.ResponseCreate.Reasoning.GenerateSummary> generateSummary)
Sets Builder.generateSummary to an arbitrary JSON value.
You should usually call Builder.generateSummary with a well-typed GenerateSummary value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mode
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder mode(BetaResponsesClientEvent.ResponseCreate.Reasoning.Mode mode)
Controls the reasoning execution mode for the request.
When returned on a response, this is the effective execution mode.
-
mode
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder mode(JsonField<BetaResponsesClientEvent.ResponseCreate.Reasoning.Mode> mode)
Sets Builder.mode to an arbitrary JSON value.
You should usually call Builder.mode with a well-typed Mode value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mode
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder mode(String value)
Sets mode to an arbitrary String.
You should usually call mode with a well-typed Mode constant instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
summary
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder summary(BetaResponsesClientEvent.ResponseCreate.Reasoning.Summary summary)
A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. One of
auto,concise, ordetailed.conciseis supported forcomputer-use-previewmodels and all reasoning models aftergpt-5.
-
summary
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder summary(Optional<BetaResponsesClientEvent.ResponseCreate.Reasoning.Summary> summary)
Alias for calling Builder.summary with
summary.orElse(null).
-
summary
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder summary(JsonField<BetaResponsesClientEvent.ResponseCreate.Reasoning.Summary> summary)
Sets Builder.summary to an arbitrary JSON value.
You should usually call Builder.summary with a well-typed Summary value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponsesClientEvent.ResponseCreate.Reasoning.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponsesClientEvent.ResponseCreate.Reasoning build()
Returns an immutable instance of Reasoning.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-