A response candidate generated from the model. {Content} - content. Content {number} - [index]. The index of the candidate in the GenerateContentResponse {FinishReason} - [finishReason]. FinishReason {string} - [finishMessage]. {SafetyRating[]} - [safetyRatings]. Array of SafetyRating {CitationMetadata} - [citationMetadata]. CitationMetadata
Package
@google-cloud/vertexaiProperties
citationMetadata
citationMetadata?: CitationMetadata;
content
content: Content;
finishMessage
finishMessage?: string;
finishReason
finishReason?: FinishReason;
index
index?: number;
safetyRatings
safetyRatings?: SafetyRating[];