UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Response from the model for a grounded answer. More...
Public Attributes | |
GeminiCandidate | Answer |
Candidate answer from the model. | |
float | AnswerableProbability |
The model's estimate of the probability that its answer is correct and grounded in the input passages. | |
GeminiPromptFeedback | InputFeedback |
Feedback related to the input data used to answer the question, as opposed to model-generated response to the question. | |
Response from the model for a grounded answer.
GeminiCandidate Uralstech.UGemini.Models.Generation.QuestionAnswering.GeminiAnswerResponse.Answer |
Candidate answer from the model.
The model always attempts to provide a grounded answer, even when the answer is unlikely to be answerable from the given passages.
In that case, a low-quality or ungrounded answer may be provided, along with a low AnswerableProbability.
float Uralstech.UGemini.Models.Generation.QuestionAnswering.GeminiAnswerResponse.AnswerableProbability |
The model's estimate of the probability that its answer is correct and grounded in the input passages.
A low answerableProbability indicates that the answer might not be grounded in the sources.
When answerableProbability is low, some clients may wish to:
GeminiPromptFeedback Uralstech.UGemini.Models.Generation.QuestionAnswering.GeminiAnswerResponse.InputFeedback |
Feedback related to the input data used to answer the question, as opposed to model-generated response to the question.
"Input data" can be one or more of the following: