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

Properties of a GenerateContentResponse.

Package

@google-ai/generativelanguage

Properties

candidates

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

GenerateContentResponse candidates

promptFeedback

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

GenerateContentResponse promptFeedback

usageMetadata

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

GenerateContentResponse usageMetadata