Clustering

Identify and cluster texts according to meaning and intent
//

The Clustering Language Skill takes a list of text entries and clusters together similarly-meaning texts. Clusters are generated on-the-go, based on intent identified in the text entries. The clusters can be used to review, analyze and understand large amounts of text entries, such as customer service tickets, social media posts, chat messages and product reviews.

STUDIO

Example

// Clustering of airline customer service tickets. Visit the Studio to interact and see it live.

Setup

Parameters

collection- the collection in which to store the clusters. If the name provided doesn't exist, a new collection will be created

Request

Add text to a clustering collection by performing a POST request to the following URL: api.oneai.com/api/v0/pipeline { "input": "your input text here", "steps": [{ "skill": "clustering", "params": { "collection": "YOUR_COLLECTION_NAME" } }] }

Response

Adds the text to the specified collection