abacusai.agent_chat_message
Classes
A single chat message with Agent Chat. |
Module Contents
- class abacusai.agent_chat_message.AgentChatMessage(client, role=None, text=None, docIds=None, keywordArguments=None, segments=None, streamedData=None, streamedSectionData=None, agentWorkflowNodeId=None)
Bases:
abacusai.return_class.AbstractApiClass
A single chat message with Agent Chat.
- Parameters:
client (ApiClient) – An authenticated API Client instance
role (str) – The role of the message sender
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.
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.
- role
- text
- doc_ids
- keyword_arguments
- segments
- streamed_data
- streamed_section_data
- agent_workflow_node_id
- deprecated_keys
- __repr__()