GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback class

Content filter results for a prompt sent in the request.

Note: This is sent only in the first stream chunk and only if no candidates were generated due to content violations.

Properties

blockReason String?
The reason why the prompt was blocked.
getter/setter pair
blockReasonMessage String?
A readable message that explains the reason why the prompt was blocked.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyRatings List<GoogleCloudAiplatformV1SafetyRating>?
A list of safety ratings for the prompt.
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