> For the complete documentation index, see [llms.txt](https://help-en.cosmobots.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help-en.cosmobots.io/bot-builder/nlp/entity.md).

# Entity

Entities are very important information contained in the text message sent by the user. Extracting Entities is an important feature of NLP.

If Intent is to understand "what the user is wanting". Entity is to understand "about what the user is talking about".

Let's give an example to see if it gets clearer. Assuming we have a bot that accepts pizza orders, during the conversation the user can ask for something like:

"I want a **large pizza** of **pepperoni**"

Here we have 3 values that can represent the following entities:

* **Meal**: represented by "pizza".

![](/files/-Ldtqg3DfsDLJ7Hszr6Y)

* **Size**: represented by "large".

![](/files/-Ldtqhpmm_Uvwjv_HEOq)

* **Meal Option:** represented by "pepperoni".

![](/files/-LdtqkTgfSTDZrge5e0i)

So if the user's intention here is to want to make a pizza request (something that we will understand better in [Intentions](/bot-builder/nlp/intent.md)), the bot would understand the entities as follows:

*"The user wants a **meal** (pizza) of a c**ertain size** (large) and a certain **meal option** (pepperoni)."*

The **Main** column tells you that the first option of each value will be used by default and helps you maintain consistency of information if any of these values are saved in your database.


---

# 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://help-en.cosmobots.io/bot-builder/nlp/entity.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.
