Class LlmCapabilities
java.lang.Object
com.google.adk.models.LlmCapabilities
What a model supports, as reported by
BaseLlm.capabilities().
The builder sets every capability to unsupported unless told otherwise.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LlmCapabilities.Builderbuilder()abstract booleanWhether the model can take a response schema in the same request as function declarations.abstract LlmCapabilities.Builder
-
Method Details
-
outputSchemaAndTools
public abstract boolean outputSchemaAndTools()Whether the model can take a response schema in the same request as function declarations. When false, an agent with an output schema and tools asks for its final answer through theset_model_responsetool instead. -
builder
-
toBuilder
-