Class Function
java.lang.Object
com.google.genai.gaos.models.interactions.Function
Function
A tool that can be used by the model.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Function.Builderbuilder()A description of the function.booleaninthashCode()name()The name of the function.The JSON Schema for the function's parameters.toString()type()withDescription(String description) A description of the function.The name of the function.withParameters(Object parameters) The JSON Schema for the function's parameters.
-
Constructor Details
-
Function
-
Function
public Function()
-
-
Method Details
-
description
A description of the function. -
name
The name of the function. -
parameters
The JSON Schema for the function's parameters. -
type
-
builder
-
withDescription
A description of the function. -
withName
The name of the function. -
withParameters
The JSON Schema for the function's parameters. -
equals
-
hashCode
public int hashCode() -
toString
-