> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebuly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Taxonomy

> See and govern the categories that power your Nebuly reports: groups, classes, and how changes apply to your data.

**Taxonomy** is the foundation of Nebuly's analytics. It automatically organizes every conversation into meaningful business categories—such as **Topics**, **Business Risks**, and **Failure Types**—so reports measure business concepts instead of raw interactions.

To learn how taxonomies work, create custom taxonomies, and manage classifications, read [here](/guides/platform/taxonomy).

## Viewing and browsing

On the Taxonomy page you can:

* See all groups grouped by type (**System**, **Tag**, **Custom**).
* Search across groups and classes to find a specific one quickly.
* Read what each group represents from its definition.

## Creating a custom group

Click **Create group** and choose how you want to define the taxonomy:

<Note>
  Adding new taxonomy groups increases your **recurring processing costs**, since each additional taxonomy requires more classifications to be computed during every processing run.
</Note>

### Automatic class generation

Use **Automatic class generation** when you know what you want to analyze, but want Nebuly to discover the relevant classes from your interactions.

To create the group, provide:

* **Group name**: the name of the taxonomy group.
* **Description**: required. Explain what the group should classify and how interactions should be organized. Nebuly uses this description to generate the classes.
* **Notes**: optional. Add context for your team. Notes do not affect classification.

For example, for a taxonomy group called **Health conditions**, you could use the following description:

`Group interactions by the health condition the user is talking about, like heart problems, and stress-related problems.`

Nebuly might group together interactions in the following way:

* **Heart problems**
  * Chest pain
  * High blood pressure
* **Stress-related problems**
  * Work stress
  * Anxiety

This is useful when you know the dimension you want to analyze, but do not already know every class that exists in your data.

#### Advanced settings

**Advanced settings are available only for automatically generated groups.**

Use them to choose what part of the interaction Nebuly analyzes and whether the taxonomy should also be applied to historical data.

Under **Classifier target**, choose:

* **User query**: classify based on what the user asks or talks about.
* **Agent answer**: classify based on the response produced by the AI agent.

By default, a new taxonomy group applies only to new interactions. Enable **Apply retroactively** to also classify previously collected interactions. You can choose the **last 7 days** or **all available history**.

<Note>
  For **self-hosted deployments**, taxonomy groups can be applied retroactively to up to **3 months of historical interactions**. Reprocessing historical data uses additional compute, so processing time and cost depend on the number of interactions selected.
</Note>

<img src="https://mintcdn.com/nebulyai/oLYMtefsla-wE1Ea/images/image-45.png?fit=max&auto=format&n=oLYMtefsla-wE1Ea&q=85&s=3b59e62d82379ccf104621b3958f10a2" alt="Image" width="1272" height="1330" data-path="images/image-45.png" />

### Manual class setup

Use **Manual class setup** when you already know which classes the taxonomy should contain and want to define them yourself.

Create the group first, then add classes using one of the methods below. This is useful when you already have a clear taxonomy, such as a fixed list of products, workflows, departments, or support categories.

## Adding classes manually

You can create a class in four ways:

* **From a description**: provide a class name and a detailed description of what it should capture. Nebuly uses the description as the classifier instruction and automatically assigns matching interactions to the class.
* **From regex**: define a regular expression to match interactions based on specific text patterns. Use this when the classification can be expressed with a precise rule.
* **From filters**: build the class using existing Nebuly filters. For example, you could create a class containing interactions where **User emotion = Frustrated**. Filter-based classes are deterministic: interactions are included when they match the selected filters.
* **Customized**: combine description, regex, and filter conditions using **AND** and **OR** operators. Conditions can also be nested, allowing you to build more specific classification rules.

For example, you could create a class that includes interactions where:

`User emotion = Frustrated AND (description matches a billing issue OR regex matches "refund|charge")`

This gives you more control when a single description, regex, or filter is not enough to define the class.

### Advanced settings

For classifier-based conditions, open **Advanced** to choose which part of the interaction Nebuly should analyze:

* **User query**: the message sent by the user.
* **Agent answer**: the response returned by the AI agent.
* **Full input**: the complete input sent to the model, including system instructions and context.
* **Full output**: the raw model output before any post-processing.

By default, a new classifier starts applying to interactions collected after the class is created.

Enable **Apply retroactively** if you also want Nebuly to classify previously collected interactions.

<Info>
  Retroactive classification must be enabled for your deployment. **Contact Sales** if you want to apply a new class to historical interactions.
</Info>

<img src="https://mintcdn.com/nebulyai/oLYMtefsla-wE1Ea/images/image-47.png?fit=max&auto=format&n=oLYMtefsla-wE1Ea&q=85&s=def9a4432e23070a06e2bfb1f114ae16" alt="Image" width="2530" height="1256" data-path="images/image-47.png" />

## Managing groups and classes

As your understanding of the data evolves, you can keep the taxonomy clean:

* **Rename** a class or a group. For Tag and System groups, you can rename them to a readable display name without breaking the underlying mapping.
* **Merge** classes that overlap into a single class.
* **Delete** classes you no longer need, or delete a Custom group entirely. System groups can't be deleted, but their classes can be renamed, merged, and deleted. Tag group classes keep updating automatically as new tag values arrive.

<Frame>
  <img src="https://mintcdn.com/nebulyai/vp_oy_nmiqgBHyJs/images/image-9.png?fit=max&auto=format&n=vp_oy_nmiqgBHyJs&q=85&s=fcc9a6e5553c341538e932b31f8e7b01" alt="Image" width="3000" height="866" data-path="images/image-9.png" />
</Frame>
