Class Reasoning.Builder
-
- All Implemented Interfaces:
public final class Reasoning.BuilderA builder for Reasoning.
-
-
Method Summary
-
-
Method Detail
-
effort
final Reasoning.Builder effort(ReasoningEffort effort)
Constrains effort on reasoning for reasoning models. Currently supported values are
minimal,low,medium, andhigh. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.Note: The
gpt-5-promodel defaults to (and only supports)highreasoning effort.
-
effort
final Reasoning.Builder effort(Optional<ReasoningEffort> effort)
Alias for calling Builder.effort with
effort.orElse(null).
-
effort
final Reasoning.Builder effort(JsonField<ReasoningEffort> effort)
Sets Builder.effort to an arbitrary JSON value.
You should usually call Builder.effort with a well-typed ReasoningEffort value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
generateSummary
@Deprecated(message = "deprecated") final Reasoning.Builder generateSummary(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 Reasoning.Builder generateSummary(Optional<Reasoning.GenerateSummary> generateSummary)
Alias for calling Builder.generateSummary with
generateSummary.orElse(null).
-
generateSummary
@Deprecated(message = "deprecated") final Reasoning.Builder generateSummary(JsonField<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.
-
summary
final Reasoning.Builder summary(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.
-
summary
final Reasoning.Builder summary(Optional<Reasoning.Summary> summary)
Alias for calling Builder.summary with
summary.orElse(null).
-
summary
final Reasoning.Builder summary(JsonField<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 Reasoning.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Reasoning.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Reasoning.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Reasoning.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Reasoning.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-