A single chat message with Agent Chat.
| KEY | TYPE | Description |
|---|---|---|
| role | str | The role of the message sender |
| text | List[dict] | A list of text segments for the message |
| docIds | List[str] | A list of IDs of the uploaded document if the message has |
| keywordArguments | dict | User message only. A dictionary of keyword arguments used to generate response. |
| segments | List[dict] | A list of segments for the message |
| streamedData | str | The streamed data for the message |
| streamedSectionData | list | A list of streamed section data for the message |
| agentWorkflowNodeId | str | The workflow node name associated with the agent response. |