Class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback
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.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback : IDirectResponseSchema
Properties
BlockReason
Output only. The reason why the prompt was blocked.
Declaration
[JsonProperty("blockReason")]
public virtual string BlockReason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BlockReasonMessage
Output only. A readable message that explains the reason why the prompt was blocked.
Declaration
[JsonProperty("blockReasonMessage")]
public virtual string BlockReasonMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SafetyRatings
Output only. A list of safety ratings for the prompt. There is one rating per category.
Declaration
[JsonProperty("safetyRatings")]
public virtual IList<GoogleCloudAiplatformV1SafetyRating> SafetyRatings { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudAiplatformV1SafetyRating> |