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

Properties of a GenerateContentResponse.

Package

@google-ai/generativelanguage

Properties

candidates

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

GenerateContentResponse candidates

modelVersion

modelVersion?: (string|null);

GenerateContentResponse modelVersion

promptFeedback

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

GenerateContentResponse promptFeedback

responseId

responseId?: (string|null);

GenerateContentResponse responseId

usageMetadata

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

GenerateContentResponse usageMetadata