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

Properties of a Content.

Package

@google-ai/generativelanguage

Properties

parts

parts?: (google.ai.generativelanguage.v1beta.IPart[]|null);

Content parts

role

role?: (string|null);

Content role