Interface protos.google.ai.generativelanguage.v1beta2.IGenerateTextResponse (2.4.0)

Properties of a GenerateTextResponse.

Package

@google-ai/generativelanguage

Properties

candidates

candidates?: (google.ai.generativelanguage.v1beta2.ITextCompletion[]|null);

GenerateTextResponse candidates

filters

filters?: (google.ai.generativelanguage.v1beta2.IContentFilter[]|null);

GenerateTextResponse filters

safetyFeedback

safetyFeedback?: (google.ai.generativelanguage.v1beta2.ISafetyFeedback[]|null);

GenerateTextResponse safetyFeedback