Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback

import type { GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Content filter results for a prompt sent in the request.

interface GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback {
readonly blockReason?:
| "BLOCKED_REASON_UNSPECIFIED"
| "SAFETY"
| "OTHER"
| "BLOCKLIST"
| "PROHIBITED_CONTENT";
readonly blockReasonMessage?: string;
readonly safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
}

§Properties

§
readonly blockReason?: "BLOCKED_REASON_UNSPECIFIED" | "SAFETY" | "OTHER" | "BLOCKLIST" | "PROHIBITED_CONTENT"
[src]

Output only. Blocked reason.

§
readonly blockReasonMessage?: string
[src]

Output only. A readable block reason message.

§
readonly safetyRatings?: GoogleCloudAiplatformV1SafetyRating[]
[src]

Output only. Safety ratings.