Interface protos.google.ai.generativelanguage.v1beta3.IGenerateTextResponse (2.6.0)

Properties of a GenerateTextResponse.

Package

@google-ai/generativelanguage

Properties

candidates

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

GenerateTextResponse candidates

filters

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

GenerateTextResponse filters

safetyFeedback

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

GenerateTextResponse safetyFeedback