> For the complete documentation index, see [llms.txt](https://docs.1millionbot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1millionbot.com/chatbot/knowledge-base/intents/extracting-values-with-parameters.md).

# Extracting values with parameters

Parameters are used to extract certain parts of user expressions. Each parameter belongs to a data type, called an entity type, which determines how it is extracted and what validations it follows.

To specifically control which part or parts of a phrase belong to a parameter, the annotation explained above is used.

The parameters section is made up of:

* **Name**: Name that identifies the parameter.
* **Entity**: Type of entity associated with the parameter.
* **Is list?**: Checking this box extracts the values in list format. It is used when there is more than one fragment of that type of entity in a sentence.
* **Required?**: Checking this box determines that in order to continue the conversation, the attendee must receive a valid value for the parameter in the user's phrase.
* **Prompt**: In case of not receiving a mandatory parameter in the user's phrase, the assistant will ask this question until it is obtained.

The references to these parameters allow extracting the original value of a user's phrase, such as, for example, when asked "What is your name?", if the user responds with: "I don't want to tell you" as it does not correspond to a type of correct entity, the chatbot will not be able to extract that information, on the other hand if the user responds with: "My name is Sofía", it will be able to correctly extract the value "Sofía" from that response.


---

# 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:

```
GET https://docs.1millionbot.com/chatbot/knowledge-base/intents/extracting-values-with-parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
