Interface protos.google.ai.generativelanguage.v1beta3.IMessagePrompt (2.3.0)

Properties of a MessagePrompt.

Package

@google-ai/generativelanguage

Properties

context

context?: (string|null);

MessagePrompt context

examples

examples?: (google.ai.generativelanguage.v1beta3.IExample[]|null);

MessagePrompt examples

messages

messages?: (google.ai.generativelanguage.v1beta3.IMessage[]|null);

MessagePrompt messages