Class ModelCapabilities
-
- All Implemented Interfaces:
public final class ModelCapabilitiesModel capability information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelCapabilities.BuilderA builder for ModelCapabilities.
-
Method Summary
Modifier and Type Method Description final CapabilitySupportbatch()Whether the model supports the Batch API. final CapabilitySupportcitations()Whether the model supports citation generation. final CapabilitySupportcodeExecution()Whether the model supports code execution tools. final ContextManagementCapabilitycontextManagement()Context management support and available strategies. final EffortCapabilityeffort()Effort (reasoning_effort) support and available levels. final CapabilitySupportimageInput()Whether the model accepts image content blocks. final CapabilitySupportpdfInput()Whether the model accepts PDF content blocks. final CapabilitySupportstructuredOutputs()Whether the model supports structured output / JSON mode / strict tool schemas. final ThinkingCapabilitythinking()Thinking capability and supported type configurations. final JsonField<CapabilitySupport>_batch()Returns the raw JSON value of batch. final JsonField<CapabilitySupport>_citations()Returns the raw JSON value of citations. final JsonField<CapabilitySupport>_codeExecution()Returns the raw JSON value of codeExecution. final JsonField<ContextManagementCapability>_contextManagement()Returns the raw JSON value of contextManagement. final JsonField<EffortCapability>_effort()Returns the raw JSON value of effort. final JsonField<CapabilitySupport>_imageInput()Returns the raw JSON value of imageInput. final JsonField<CapabilitySupport>_pdfInput()Returns the raw JSON value of pdfInput. final JsonField<CapabilitySupport>_structuredOutputs()Returns the raw JSON value of structuredOutputs. final JsonField<ThinkingCapability>_thinking()Returns the raw JSON value of thinking. final Map<String, JsonValue>_additionalProperties()final ModelCapabilities.BuildertoBuilder()final ModelCapabilitiesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelCapabilities.Builderbuilder()Returns a mutable builder for constructing an instance of ModelCapabilities. -
-
Method Detail
-
batch
final CapabilitySupport batch()
Whether the model supports the Batch API.
-
citations
final CapabilitySupport citations()
Whether the model supports citation generation.
-
codeExecution
final CapabilitySupport codeExecution()
Whether the model supports code execution tools.
-
contextManagement
final ContextManagementCapability contextManagement()
Context management support and available strategies.
-
effort
final EffortCapability effort()
Effort (reasoning_effort) support and available levels.
-
imageInput
final CapabilitySupport imageInput()
Whether the model accepts image content blocks.
-
pdfInput
final CapabilitySupport pdfInput()
Whether the model accepts PDF content blocks.
-
structuredOutputs
final CapabilitySupport structuredOutputs()
Whether the model supports structured output / JSON mode / strict tool schemas.
-
thinking
final ThinkingCapability thinking()
Thinking capability and supported type configurations.
-
_batch
final JsonField<CapabilitySupport> _batch()
Returns the raw JSON value of batch.
Unlike batch, this method doesn't throw if the JSON field has an unexpected type.
-
_citations
final JsonField<CapabilitySupport> _citations()
Returns the raw JSON value of citations.
Unlike citations, this method doesn't throw if the JSON field has an unexpected type.
-
_codeExecution
final JsonField<CapabilitySupport> _codeExecution()
Returns the raw JSON value of codeExecution.
Unlike codeExecution, this method doesn't throw if the JSON field has an unexpected type.
-
_contextManagement
final JsonField<ContextManagementCapability> _contextManagement()
Returns the raw JSON value of contextManagement.
Unlike contextManagement, this method doesn't throw if the JSON field has an unexpected type.
-
_effort
final JsonField<EffortCapability> _effort()
Returns the raw JSON value of effort.
Unlike effort, this method doesn't throw if the JSON field has an unexpected type.
-
_imageInput
final JsonField<CapabilitySupport> _imageInput()
Returns the raw JSON value of imageInput.
Unlike imageInput, this method doesn't throw if the JSON field has an unexpected type.
-
_pdfInput
final JsonField<CapabilitySupport> _pdfInput()
Returns the raw JSON value of pdfInput.
Unlike pdfInput, this method doesn't throw if the JSON field has an unexpected type.
-
_structuredOutputs
final JsonField<CapabilitySupport> _structuredOutputs()
Returns the raw JSON value of structuredOutputs.
Unlike structuredOutputs, this method doesn't throw if the JSON field has an unexpected type.
-
_thinking
final JsonField<ThinkingCapability> _thinking()
Returns the raw JSON value of thinking.
Unlike thinking, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ModelCapabilities.Builder toBuilder()
-
validate
final ModelCapabilities validate()
-
builder
final static ModelCapabilities.Builder builder()
Returns a mutable builder for constructing an instance of ModelCapabilities.
The following fields are required:
.batch() .citations() .codeExecution() .contextManagement() .effort() .imageInput() .pdfInput() .structuredOutputs() .thinking()
-
-
-
-