Interface protos.google.ai.generativelanguage.v1beta.ITextCompletion (2.3.0)

Properties of a TextCompletion.

Package

@google-ai/generativelanguage

Properties

citationMetadata

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

TextCompletion citationMetadata

output

output?: (string|null);

TextCompletion output

safetyRatings

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

TextCompletion safetyRatings