AICompletionMessage¶
Represents a message of an AI completion request.
Capabilities¶
Properties¶
- AICompletionMessage.Attachments: Files sent with the message, such as a PDF or an image. Attachments are accepted only on
'user'messages. - AICompletionMessage.Content: The message text. It can be omitted when the message has attachments.
- AICompletionMessage.Role: The author of the message:
'system'for instructions,'user'for the input, and'assistant'for an earlier model answer that is part of the conversation.