Skip to main content
Cohere

Search documentation

Type to search this documentation.

On this pageOverview

Customer Support

This endpoint classifies text into one of several classes. It uses a few examples to create a classifier from a generative model. In the background, it constructs a few-shot classification prompt and uses it classify the input texts you pass to it.

Customer support tickets can come from all directions, and manually analyzing and routing information is an overwhelming job. A text classification system can help support teams accelerate this process. It can augment a team’s capacity by automatically assigning each ticket to the right type or next action.

Here we look at an example of classifying customer emails to an insurance company into four types of requests, Finding policy details, Change account settings, Filing a claim and viewing status, and Cancelling coverage.

Install the SDK

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu