message_delta
Classes:
Name | Description |
---|---|
MessageDelta |
|
MessageDelta
Attributes:
Name | Type | Description |
---|---|---|
content |
Optional[List[MessageContentDelta]]
|
The content of the message in array of text and/or images. |
file_ids |
Optional[List[str]]
|
A list of file IDs that |
role |
Optional[Literal['user', 'assistant']]
|
The entity that produced the message. One of |
content
class-attribute
instance-attribute
content: Optional[List[MessageContentDelta]] = None
The content of the message in array of text and/or images.
file_ids
class-attribute
instance-attribute
A list of file IDs that the assistant should use. Useful for tools like retrieval and code_interpreter that can access files. A maximum of 10 files can be attached to a message.
role
class-attribute
instance-attribute
role: Optional[Literal['user', 'assistant']] = None
The entity that produced the message. One of user
or assistant
.