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

Properties of a GenerateTextResponse.

Package

@google-ai/generativelanguage

Properties

candidates

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

GenerateTextResponse candidates

filters

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

GenerateTextResponse filters

safetyFeedback

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

GenerateTextResponse safetyFeedback