GoogleCloudAiplatformV1GenerateContentResponse
import type { GoogleCloudAiplatformV1GenerateContentResponse } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";
Response message for [PredictionService.GenerateContent].
interface GoogleCloudAiplatformV1GenerateContentResponse {
readonly candidates?: GoogleCloudAiplatformV1Candidate[];
readonly promptFeedback?: GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback;
usageMetadata?: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata;
}§Properties
§
readonly candidates?: GoogleCloudAiplatformV1Candidate[]
[src]Output only. Generated candidates.
§
readonly promptFeedback?: GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback
[src]Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.
§
usageMetadata?: GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata
[src]Usage metadata about the response(s).