GenerateAnswerResponse class final
Response from the model for a grounded answer.
- Inheritance
-
- Object
- ProtoMessage
- GenerateAnswerResponse
Constructors
- GenerateAnswerResponse({Candidate? answer, double? answerableProbability, GenerateAnswerResponse_InputFeedback? inputFeedback})
- GenerateAnswerResponse.fromJson(Object? j)
-
factory
Properties
- answer → Candidate?
-
Candidate answer from the model.
final
- answerableProbability → double?
-
Output only. The model's estimate of the probability that its answer is
correct and grounded in the input passages.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputFeedback → GenerateAnswerResponse_InputFeedback?
-
Output only. Feedback related to the input data used to answer the
question, as opposed to the model-generated response to the question.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String