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

Properties of a GenerateContentResponse.

Package

@google-ai/generativelanguage

Properties

candidates

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

GenerateContentResponse candidates

modelVersion

modelVersion?: (string|null);

GenerateContentResponse modelVersion

promptFeedback

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

GenerateContentResponse promptFeedback

usageMetadata

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

GenerateContentResponse usageMetadata