Topic modeling basics

This document describes the basic concepts for understanding the Contact Center AI Insights topic modeling feature.

Conversations

Topic modeling analyzes conversations. Each conversation is an interaction between a contact center agent and a user. Topic modeling uses chat or call transcripts that have been created using the CCAI Insights API.

For more information, see the Conversations reference documentation.

Topics

A topic is created from the data by first modeling the language and then clustering conversations such that conversations about similar subjects are near each other. Topic modeling then identifies as many distinct groups as it determines exist. Lastly, topic modeling attempts to generate a name for each grouping or topic, which then represents the topic. The topic is represented by an Issue resource.

When topic modeling creates a set of topic names, you can review the names and the conversations it has labeled with that name. Topic modeling can also show you the most representative conversation for a topic to help you have a concrete representation of the it. You can rename detected topics in the console or API to fine-tune the name for your use case.

For example, a credit card support center could run topic modeling on their archived support call logs. The modeling could then potentially create a topic from a cluster of conversations and name them "Credit card over the limit inquiries." The business might want to rename the topic to be more succinct, for example "Credit limit inquiries."

Topics and conversations have a one-to-many relationship. Each conversation maps to one topic, while a topic can have many conversations mapping to it.

For more information, see the issues reference documentation.

Topic models

When you use topic modeling to analyze conversations, CCAI Insights creates a topic model. Topic models contain discovered topics and can be used to infer topics for any conversation. From a topic model, you can generate a report identifying the topics within the model and the names of each topic. You can also deploy a topic model to your project, which will enable you to infer topics in real-time during a conversation with an end user. Topic models are represented by issueModels resources.

For more information, see the issueModels reference documentation.