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 = None
- text = None
- doc_ids = None
- keyword_arguments = None
- segments = None
- streamed_data = None
- streamed_section_data = None
- agent_workflow_node_id = None
- deprecated_keys
- __repr__()