GenerationMessage
GenerationMessage
is used in the ChatGeneration class to represent a message.
Attributes
The content of the message.
The role of the message, such as “system”, “assistant” or “user”.
Only used for OpenAI’s function message.
Was this page helpful?