Interface protos.google.ai.generativelanguage.v1beta.IMessagePrompt (2.8.0)

Properties of a MessagePrompt.

Package

@google-ai/generativelanguage

Properties

context

context?: (string|null);

MessagePrompt context

examples

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

MessagePrompt examples

messages

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

MessagePrompt messages