Firebase. AI. FunctionDeclaration
Structured representation of a function declaration.
Summary
This FunctionDeclaration
is a representation of a block of code that can be used as a Tool
by the model and executed by the client.
Function calling can be used to provide data to the model that was not known at the time it was trained (for example, the current date or weather conditions) or to allow it to interact with external systems (for example, making an API request or querying/updating a database). For more details and use cases, see Introduction to function calling.
Constructors and Destructors |
|
---|---|
FunctionDeclaration(string name, string description, IDictionary< string, Schema > parameters, IEnumerable< string > optionalParameters)
Constructs a new
FunctionDeclaration . |
Public functions
FunctionDeclaration
Firebase::AI::FunctionDeclaration::FunctionDeclaration( string name, string description, IDictionary< string, Schema > parameters, IEnumerable< string > optionalParameters )
Constructs a new FunctionDeclaration
.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|