UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Tool details that the model may use to generate response. More...
Public Attributes | |
GeminiFunctionDeclaration[] | FunctionDeclarations = null |
A list of FunctionDeclarations available to the model that can be used for function calling. | |
GeminiCodeExecution | CodeExecution = null |
Enables the model to execute code as part of generation. | |
Tool details that the model may use to generate response.
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.
GeminiFunctionDeclaration [] Uralstech.UGemini.Models.Generation.Tools.Declaration.GeminiTool.FunctionDeclarations = null |
A list of FunctionDeclarations available to the model that can be used for function calling.
The model or system does not execute the function. Instead the defined function may be returned as
a [GeminiFunctionCall][GeminiContent.GeminiContentPart.FunctionCall] with arguments to the client
side for execution. The model may decide to call a subset of these functions by populating
[GeminiFunctionCall][GeminiContent.GeminiContentPart.FunctionCall] in the response.
The next conversation turn may contain a [GeminiFunctionResponse][GeminiContent.GeminiContentPart.FunctionResponse]
with the [GeminiContent.Role] GeminiRole.ToolResponse generation context for the next model turn.