mpathic builds AI models for detecting and improving or correcting human behaviors in conversations. Our unique, continuously-evolving models are built using real-world data labeled by mental health and communication experts. Our API exposes these models via REST API.

Key Concepts

The key concepts revolve around utterances, behaviors, and conversations.

Utterance

An utterance is a complete thought. An utterance can span a part of a sentence or multiple parts of a sentence. Generally an utterance is not more than one sentence. The behaviors and conversation requests both take an input, which is analyzed based on utterance.

For example, take the following request to the behaviors endpoint:

{
  "input": "I am unhappy! I'm leaving!",
  "confidence_threshold": 0.5,
  "max_behaviors": 1
}

The number of utterances is two. "I am unhappy!" and "I'm leaving!"

Behaviors

Behaviors contain the behavior name, confidence level, and any tips, definitions, or suggestions (if requested).

Zero to the max number of behaviors requested are returned. Using the above example, one behavior would be returned for "I am unhappy" and one for "I am leaving".

Behaviors are returned based on the confidence threshold provided. If you provide a confidence threshold of 0.5 you will only get behaviors equal to or above that threshold.

Types of Behaviors

NameDefinition
appreciationProviding positive feedback on another person’s strengths, abilities, or other attributes, such as providing appreciation and encouragement.
autonomyAcknowledging another person's freedom of choice.
check for understandingPeriodically checking for understanding throughout the course of a conversation.
clarification questionSeeking clarity in a conversation to reduce ambiguity.
collaborative questionAsking questions that increase problem-solving or solicit another person's thoughts.
concernExpressing worry or concern about another person's actions.
conflictLanguage that is harmful to others.
confrontNegative, expert-like responses including disapproval, disagreement, and shame
discovery questionAsking targeted questions meant to solicit details or specific information.
engagementShowing interest in a conversation.
giving informationProviding information on or education on a topic or personal disclosure.
high curiosityAsking questions that encourage more information sharing.
instructOffering suggestions or recommendations for change
instruct directionGiving orders, commands, or instruction.
low curiosityAsking questions that only allow for a limited range of information.
preparationProviding clear transitions and structure in a conversation.
reflective listeningMaking efforts to understand another's points of view.
sympathyExpressing reassurance and support.

See how behaviors positively and negatively impact metrics.

Conversation

A conversation is split up by talk turns. Each talk turn has an input (which can be zero to many utterances), a talk turn id, and an associated speaker.

For example, take the following request to the conversations endpoint:

{
    "conversation_id": "ExampleConversation",
    "talk_turns": [
        {
            "input": "Are you done with the report yet?",
            "talk_turn_id": "1",
            "speaker": {
                "id": "Mr. Smith",
                "role": "Manager"
            }
        },
        {
            "input": "No, I quit!",
            "talk_turn_id": "2",
            "speaker": {
                "id": "John Doe",
                "role": "Employee"
            }
        }
    ]
}

On the response you will get speaker, role, and conversation analytics along with metrics. As long as there is more than one speaker you will also get synchrony scores.

Analytics

As mentioned, there are three types of analytics returned:

  • speaker
  • role
  • conversation

The speaker and role analytics will split the data by id, in the case of speaker, or role in the case of role. The conversation analytics returns data on the entire conversation. See the examples for how the APIs behave.

Metrics

Three types of metrics (empathy, collaboration, curiosity) are provided on the conversations response per piece of analytical data (speaker/role/conversation) per id or role (Speaker: John Doe Role: Employee).

empathy: Accurate understanding. Empathy is a measure of efforts to understand another person’s point of view.

Positively ImpactsNegatively Impacts
appreciation reflective listening high curiositylow curiosity instruct confront

collaboration: Sharing power. Actively inviting another person’s thoughts and supporting their autonomy accompanied with less advice giving.

Positively ImpactsNegatively Impacts
reflective listeninginstruct

curiosity: Open versus directive and driving the agenda. Encouraging others to share more information.

Positively ImpactsNegatively Impacts
high curiositylow curiosity

Synchrony scores

A synchrony score is an objective indicator of empathy representing the degree to which two people unconsciously align and synchronize in language style. Synchrony is the only metric not provided per speaker as it is calculated between two individuals.