UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Generation.Tools.GeminiFunctionCall Class Reference

A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values. More...

Public Member Functions

GeminiFunctionResponse GetResponse (JObject responseJson=null)
 Creates a GeminiFunctionResponse for this function call.
 

Public Attributes

string Name
 The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 63.
 
JObject Arguments = null
 Optional. The function parameters and values in JSON object format.
 

Detailed Description

A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values.

Member Function Documentation

◆ GetResponse()

GeminiFunctionResponse Uralstech.UGemini.Models.Generation.Tools.GeminiFunctionCall.GetResponse ( JObject responseJson = null)

Creates a GeminiFunctionResponse for this function call.

Parameters
responseJsonThe JSON response data.
Returns
A new GeminiFunctionResponse object.

Member Data Documentation

◆ Arguments

JObject Uralstech.UGemini.Models.Generation.Tools.GeminiFunctionCall.Arguments = null

Optional. The function parameters and values in JSON object format.

See Protocol Buffer Struct.


The documentation for this class was generated from the following file: