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.
|
|
Tool(GoogleSearch googleSearch)
Creates a tool that allows the model to use Grounding with Google Search.
|
|
Tool(CodeExecution codeExecution)
Creates a tool that allows the model to use Code Execution.
|
|
Tool(UrlContext urlContext)
Creates a tool that allows you to provide additional context to the models in the form of public web URLs.
|
Public functions
Tool
Firebase::AI::Tool::Tool( params FunctionDeclaration[] functionDeclarations )
Creates a tool that allows the model to perform function calling.
Details | |||
---|---|---|---|
Parameters |
|
Tool
Firebase::AI::Tool::Tool( IEnumerable< FunctionDeclaration > functionDeclarations )
Creates a tool that allows the model to perform function calling.
Details | |||
---|---|---|---|
Parameters |
|
Tool
Firebase::AI::Tool::Tool( GoogleSearch googleSearch )
Creates a tool that allows the model to use Grounding with Google Search.
Details | |||
---|---|---|---|
Parameters |
|
Tool
Firebase::AI::Tool::Tool( CodeExecution codeExecution )
Creates a tool that allows the model to use Code Execution.
Details | |||
---|---|---|---|
Parameters |
|
Tool
Firebase::AI::Tool::Tool( UrlContext urlContext )
Creates a tool that allows you to provide additional context to the models in the form of public web URLs.
Details | |||
---|---|---|---|
Parameters |
|