UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
A response candidate generated from the model. More...
Public Member Functions | |
void | Append (GeminiCandidate data) |
Public Member Functions inherited from Uralstech.UGemini.IAppendableData< GeminiCandidate > | |
void | Append (T data) |
Appends the data to the current IAppendableData<T>. | |
Public Attributes | |
GeminiContent | Content |
Generated content returned from the model. | |
GeminiFinishReason | FinishReason |
The reason why the model stopped generating tokens. | |
GeminiSafetyRating[] | SafetyRatings |
List of ratings for the safety of a response candidate There is at most one rating per category. | |
GeminiCitationMetadata | CitationMetadata |
Citation information for model-generated candidate. | |
int | TokenCount |
Token count for this candidate. | |
GeminiGroundingAttribution[] | GroundingAttributions |
Attribution information for sources that contributed to a grounded answer. | |
int | Index |
Index of the candidate in the list of candidates. | |
A response candidate generated from the model.
GeminiCitationMetadata Uralstech.UGemini.Models.Generation.Candidate.GeminiCandidate.CitationMetadata |
Citation information for model-generated candidate.
This field may be populated with recitation information for any text included in Content.
These are passages that are "recited" from copyrighted material in the foundational LLM's training data.
GeminiGroundingAttribution [] Uralstech.UGemini.Models.Generation.Candidate.GeminiCandidate.GroundingAttributions |
Attribution information for sources that contributed to a grounded answer.
This field is populated for GenerateAnswer calls.
Only available in the beta API.