> For the complete documentation index, see [llms.txt](https://docs-en.dydu.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-en.dydu.ai/contents/knowledge/tags-management.md).

# Tags management

Tags represent the main topics addressed by your bot. These can also be separated into sub-tags. Go to **Content > Knowledge**.

<figure><img src="/files/YLdKxvJJN0j0yMK9wXY1" alt=""><figcaption></figcaption></figure>

Tags management has several interests:

* **Classifying knowledge:** each knowledge item usually refers to only one subject. By classifying knowledge thanks to tags, you will be able to find knowledge items easily according to the subject they are about;
* **Knowing the subjects tackled during the dialogs:** knowledge classification with tags allows the dialog engine to calculate analytics about the covered subjects;
* **Reviewing dialogs about a chosen tag:** to observe users' reactions on a specific subject, you can display only dialogs that cover a subject linked to a tag on the dialogs page.

### Create, rename, delete a tag

Tags are managed from the **Content > Knowledge** page.

1. To add a tag, click **New tag**:

<figure><img src="/files/xn2plHOmihQbvrAzw2WS" alt=""><figcaption></figcaption></figure>

2. Enter the name of your tag in the field and click **Create**. The newly created tag then appears on the list.

Since tags are tree-based, you can create subtags for top-level tags using the context menu to the right of the tag.

1. Click **...** on the left of a tag.
2. Click **New sub tag**.

<figure><img src="/files/r9rfPgmPo9FjhH8GF0wq" alt=""><figcaption></figcaption></figure>

3. Enter the name of your subtag and click **Create**. Your subtag is created.

Also note that this menu gives you the possibility to rename a tag, to change its color, or to export a tag branch with the associated knowledge to the excel format.

You can delete a tag if it contains no knowledge. To do so, unroll the empty tag to show the delete option.

Note: the **Knowledge without tag** tag can not be deleted.

### Assign knowledge to tags

When you want to create a knowledge directly in a tag or subtag, use the contextual menu of this one and click on **New knowledge**:

<figure><img src="/files/gCCtGZILNf1BEGEjbMmF" alt=""><figcaption></figcaption></figure>

You can move knowledge from one tag to another simply with a drag and drop.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-en.dydu.ai/contents/knowledge/tags-management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
