Class GeminiFunctionCall
- Namespace
- Uralstech.UGemini.Models.Generation.Tools
A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values.
public class GeminiFunctionCall- Inheritance
- 
      
      GeminiFunctionCall
- Extension Methods
Fields
Arguments
Optional. The function parameters and values in JSON object format.
public JObject ArgumentsField Value
- JObject
Remarks
See Protocol Buffer Struct.
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.
public string NameField Value
Methods
GetResponse(JObject)
Creates a GeminiFunctionResponse for this function call.
public GeminiFunctionResponse GetResponse(JObject responseJson = null)Parameters
- responseJsonJObject
- The JSON response data. 
Returns
- GeminiFunctionResponse
- A new GeminiFunctionResponse object.