Interface GenerateContentResponse (1.9.0)

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.