Class Function.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.Function.Builder
- Enclosing class:
- Function
-
Method Summary
Modifier and TypeMethodDescriptionbuild()deferLoading(Boolean deferLoading) If true, the function's loading is deferred.description(String description) A description of the function.The name of the function.parameters(Object parameters) The JSON Schema for the function's parameters.shortDescription(String shortDescription) A brief description of the function, shown to the model as a short summary of functions with `defer_loading` set to true.
-
Method Details
-
deferLoading
If true, the function's loading is deferred. -
description
A description of the function. -
name
The name of the function. -
parameters
The JSON Schema for the function's parameters.Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and not enforced.
-
shortDescription
A brief description of the function, shown to the model as a short summary of functions with `defer_loading` set to true. -
build
-