UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
A datatype containing media that is part of a multi-part Content message. Must only contain one field at a time. More...
Public Member Functions | |
void | Append (GeminiContentPart data) |
bool | IsAppendable (GeminiContentPart data) |
Is the data to be appended compatible with the current GeminiContentPart? | |
Public Member Functions inherited from Uralstech.UGemini.IAppendableData< GeminiContentPart > | |
void | Append (T data) |
Appends the data to the current IAppendableData<T>. | |
Public Attributes | |
string | Text = null |
Inline text. | |
GeminiContentBlob | InlineData = null |
Inline media bytes. | |
GeminiFunctionCall | FunctionCall = null |
A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaratio.name with the arguments and their values. | |
GeminiFunctionResponse | FunctionResponse = null |
The result output of a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. | |
GeminiFileData | FileData = null |
URI based data. | |
GeminiExecutableCode | ExecutableCode = null |
Code generated by the model that is meant to be executed. | |
GeminiCodeExecutionResult | CodeExecutionResult = null |
Result of executing the ExecutableCode. | |
Properties | |
bool | IsEmpty [get] |
Is there no content stored in this GeminiContentPart? | |
A datatype containing media that is part of a multi-part Content message. Must only contain one field at a time.
bool Uralstech.UGemini.Models.Content.GeminiContentPart.IsAppendable | ( | GeminiContentPart | data | ) |
Is the data to be appended compatible with the current GeminiContentPart?
data | The data to be appended. |
GeminiFileData Uralstech.UGemini.Models.Content.GeminiContentPart.FileData = null |
URI based data.
Only available in the beta API.
GeminiFunctionCall Uralstech.UGemini.Models.Content.GeminiContentPart.FunctionCall = null |
A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaratio.name with the arguments and their values.
Only available in the beta API.
GeminiFunctionResponse Uralstech.UGemini.Models.Content.GeminiContentPart.FunctionResponse = null |
The result output of a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model.
Only available in the beta API.