abacusai.deployment_conversation_event — AbacusAI documentation

# `abacusai.deployment_conversation_event`

## Module Contents

### Classes

`DeploymentConversationEvent` | A single deployment conversation message.

class abacusai.deployment_conversation_event.DeploymentConversationEvent(client, role=None, text=None, timestamp=None, modelVersion=None, searchResults=None)

  Bases: `abacusai.return_class.AbstractApiClass`

  A single deployment conversation message.

  Parameters:

    - client (ApiClient) – An authenticated API Client instance

    - role (str) – The role of the message sender

    - text (str) – The text of the message

    - timestamp (str) – The timestamp at which the message was sent

    - modelVersion (str) – The model instance id associated with the message.

    - searchResults (dict) – The search results for the message.

  __repr__()

    Return repr(self).

  to_dict()

    Get a dict representation of the parameters in this class

    Returns:

      The dict value representation of the class parameters

    Return type:

      dict