GoogleCloudAiplatformV1Candidate class

A response candidate generated from the model.

Properties

citationMetadata GoogleCloudAiplatformV1CitationMetadata?
Source attribution of the generated content.
getter/setter pair
content GoogleCloudAiplatformV1Content?
Content parts of the candidate.
getter/setter pair
finishMessage String?
Describes the reason the mode stopped generating tokens in more detail.
getter/setter pair
finishReason String?
The reason why the model stopped generating tokens.
getter/setter pair
groundingMetadata GoogleCloudAiplatformV1GroundingMetadata?
Metadata specifies sources used to ground generated content.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index int?
Index of the candidate.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyRatings List<GoogleCloudAiplatformV1SafetyRating>?
List of ratings for the safety of a response candidate.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited