Class BetaModelCapabilities.Builder
-
- All Implemented Interfaces:
public final class BetaModelCapabilities.BuilderA builder for BetaModelCapabilities.
-
-
Method Summary
-
-
Method Detail
-
batch
final BetaModelCapabilities.Builder batch(BetaCapabilitySupport batch)
Whether the model supports the Batch API.
-
batch
final BetaModelCapabilities.Builder batch(JsonField<BetaCapabilitySupport> batch)
Sets Builder.batch to an arbitrary JSON value.
You should usually call Builder.batch with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
citations
final BetaModelCapabilities.Builder citations(BetaCapabilitySupport citations)
Whether the model supports citation generation.
-
citations
final BetaModelCapabilities.Builder citations(JsonField<BetaCapabilitySupport> citations)
Sets Builder.citations to an arbitrary JSON value.
You should usually call Builder.citations with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
codeExecution
final BetaModelCapabilities.Builder codeExecution(BetaCapabilitySupport codeExecution)
Whether the model supports code execution tools.
-
codeExecution
final BetaModelCapabilities.Builder codeExecution(JsonField<BetaCapabilitySupport> codeExecution)
Sets Builder.codeExecution to an arbitrary JSON value.
You should usually call Builder.codeExecution with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
contextManagement
final BetaModelCapabilities.Builder contextManagement(BetaContextManagementCapability contextManagement)
Context management support and available strategies.
-
contextManagement
final BetaModelCapabilities.Builder contextManagement(JsonField<BetaContextManagementCapability> contextManagement)
Sets Builder.contextManagement to an arbitrary JSON value.
You should usually call Builder.contextManagement with a well-typed BetaContextManagementCapability value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
effort
final BetaModelCapabilities.Builder effort(BetaEffortCapability effort)
Effort (reasoning_effort) support and available levels.
-
effort
final BetaModelCapabilities.Builder effort(JsonField<BetaEffortCapability> effort)
Sets Builder.effort to an arbitrary JSON value.
You should usually call Builder.effort with a well-typed BetaEffortCapability value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
imageInput
final BetaModelCapabilities.Builder imageInput(BetaCapabilitySupport imageInput)
Whether the model accepts image content blocks.
-
imageInput
final BetaModelCapabilities.Builder imageInput(JsonField<BetaCapabilitySupport> imageInput)
Sets Builder.imageInput to an arbitrary JSON value.
You should usually call Builder.imageInput with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pdfInput
final BetaModelCapabilities.Builder pdfInput(BetaCapabilitySupport pdfInput)
Whether the model accepts PDF content blocks.
-
pdfInput
final BetaModelCapabilities.Builder pdfInput(JsonField<BetaCapabilitySupport> pdfInput)
Sets Builder.pdfInput to an arbitrary JSON value.
You should usually call Builder.pdfInput with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
structuredOutputs
final BetaModelCapabilities.Builder structuredOutputs(BetaCapabilitySupport structuredOutputs)
Whether the model supports structured output / JSON mode / strict tool schemas.
-
structuredOutputs
final BetaModelCapabilities.Builder structuredOutputs(JsonField<BetaCapabilitySupport> structuredOutputs)
Sets Builder.structuredOutputs to an arbitrary JSON value.
You should usually call Builder.structuredOutputs with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
thinking
final BetaModelCapabilities.Builder thinking(BetaThinkingCapability thinking)
Thinking capability and supported type configurations.
-
thinking
final BetaModelCapabilities.Builder thinking(JsonField<BetaThinkingCapability> thinking)
Sets Builder.thinking to an arbitrary JSON value.
You should usually call Builder.thinking with a well-typed BetaThinkingCapability value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaModelCapabilities.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaModelCapabilities.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaModelCapabilities.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaModelCapabilities.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaModelCapabilities.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaModelCapabilities build()
Returns an immutable instance of BetaModelCapabilities.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.batch() .citations() .codeExecution() .contextManagement() .effort() .imageInput() .pdfInput() .structuredOutputs() .thinking()
-
-
-
-