Interface GenerateContentResponse (1.3.1)

Response from the model supporting multiple candidates.

Package

@google-cloud/vertexai

Properties

candidates

candidates?: GenerateContentCandidate[];

promptFeedback

promptFeedback?: PromptFeedback;

Optional. This is only populated if there are no candidates due to a safety block. PromptFeedback.

usageMetadata

usageMetadata?: UsageMetadata;

Optional. UsageMetadata.