Skip to navigation

Read and change the topics and intents that classify your conversations in Intent Intelligence. topics class has the alias topics classification.

Commands

Read topic performance

CommandWhat it does
topics listLists the topics, with the number of intents in each.
topics reportShows volume, resolution, containment, and CSAT per topic. With --intents, shows each intent too.
topics performanceRanks the topics by volume or a rate, with filters. With --topic, shows one topic and ranks its intents.

Manage topics and intents

CommandWhat it does
topics class listLists the topics, with their status: active or recommended.
topics class get <topicId>Shows a topic and its intents.
topics class createCreates a topic.
topics class update <topicId>Changes the name, description, signals, or excludes of a topic.
topics class delete <topicId>Deletes a topic and all its intents.
topics class intents list [topicId]Lists the intents of all topics, or of one topic.
topics class intents create <topicId>Creates an intent in a topic.
topics class intents update <topicId> <intentId>Changes the name, description, included text, or excluded text of an intent.
topics class intents move <topicId> <intentId>Moves an intent to a different topic.
topics class intents delete <topicId> <intentId>Deletes an intent.
topics class recommendationsLists the recommended intents that wait for review, ranked by volume.
topics class recommendations approve <intentId>Makes a recommended intent active. You can edit its fields in the same step.
topics class recommendations dismiss <intentId>Dismisses a recommended intent, which deletes it.
topics class jobsShows the background jobs on the topics, such as an intent move.

Generated topics

topics generated manages the AI-generated topics. These topics are deprecated.

CommandWhat it does
topics generated listLists the generated topics. With --all, includes hidden topics.
topics generated get <id>Shows one generated topic.
topics generated createCreates a generated topic.
topics generated update <id>Changes a generated topic.
topics generated hide <ids...>Hides topics in the dashboard. It does not delete them.
topics generated unhide <ids...>Shows hidden topics again.
topics generated groupPuts topics under a parent topic.
topics generated ungroup <ids...>Removes topics from their parent topic.
topics generated reportShows generated topic performance.

Examples

Rank the 10 topics with the largest automated resolution opportunity:

adacli acme topics performance --sort ar_opportunity --limit 10

Show one topic and its intents for the last 30 days:

adacli acme topics performance --topic <topic-id> --since 30d

Create an intent in a topic:

adacli acme topics class intents create <topic-id> \
--name "Request a refund" \
--description "The end user wants to return an item and get the money back" \
--included "refund, return, money back" \
--excluded "exchanges, store credit"

Review a recommended intent. Read its conversations, then approve it:

adacli acme topics class recommendations
adacli acme conversations search --intent <intent-id>
adacli acme topics class recommendations approve <intent-id> --yes

Move an intent to a different topic:

adacli acme topics class intents move <topic-id> <intent-id> --to <target-topic-id>

Details

  • The classifier runs after a conversation ends, and after a 10-minute idle pause. Until then, a recent conversation shows __unclassified__. This delay is expected.
  • update changes only the fields you pass. To clear a field, pass an empty string, for example --excludes "". The name cannot be empty.
  • recommendations approve and recommendations dismiss show a preview and change nothing. To make the change, run the command again with --yes.
  • intents move moves the 2,000 most recent conversations from the last 90 days with the intent. Older conversations stay under the old topic in reports. One move runs at a time on an instance.
  • The API decides which dates, filters, and sort keys topics performance accepts. To list the filters, run analytics filters. Its JSON rates go from 0 to 100. The JSON rates of topics report go from 0 to 1.

For every option of a command, run it with --help, for example adacli acme topics performance --help.