Interface protos.google.ai.generativelanguage.v1beta2.ITextCompletion (2.6.0)

Properties of a TextCompletion.

Package

@google-ai/generativelanguage

Properties

citationMetadata

citationMetadata?: (google.ai.generativelanguage.v1beta2.ICitationMetadata|null);

TextCompletion citationMetadata

output

output?: (string|null);

TextCompletion output

safetyRatings

safetyRatings?: (google.ai.generativelanguage.v1beta2.ISafetyRating[]|null);

TextCompletion safetyRatings