Interface protos.google.ai.generativelanguage.v1beta.IGenerateContentResponse (2.6.0)

Properties of a GenerateContentResponse.

Package

@google-ai/generativelanguage

Properties

candidates

candidates?: (google.ai.generativelanguage.v1beta.ICandidate[]|null);

GenerateContentResponse candidates

promptFeedback

promptFeedback?: (google.ai.generativelanguage.v1beta.GenerateContentResponse.IPromptFeedback|null);

GenerateContentResponse promptFeedback

usageMetadata

usageMetadata?: (google.ai.generativelanguage.v1beta.GenerateContentResponse.IUsageMetadata|null);

GenerateContentResponse usageMetadata