Firebase.AI.Tool

A helper tool that the model may use when generating responses.

Summary

A Tool is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.

Constructors and Destructors

Tool(params FunctionDeclaration[] functionDeclarations)
Creates a tool that allows the model to perform function calling.
Tool(IEnumerable< FunctionDeclaration > functionDeclarations)
Creates a tool that allows the model to perform function calling.

Public functions

Tool

 Firebase::AI::Tool::Tool(
  params FunctionDeclaration[] functionDeclarations
)

Creates a tool that allows the model to perform function calling.

Details
Parameters
functionDeclarations
A list of FunctionDeclarations available to the model that can be used for function calling.

Tool

 Firebase::AI::Tool::Tool(
  IEnumerable< FunctionDeclaration > functionDeclarations
)

Creates a tool that allows the model to perform function calling.

Details
Parameters
functionDeclarations
A list of FunctionDeclarations available to the model that can be used for function calling.