> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/chatlayer-documentation-pt-br/navegacao/natural-language-processing-nlp/expressions.md).

# Expressões

{% hint style="info" %}
NLP soa estranho para você? Certifique-se de dar uma olhada no nosso detalhado [Processamento de linguagem natural ](/chatlayer-documentation-pt-br/nlp/natural-language-processing-nlp.md)página.
{% endhint %}

<figure><img src="/files/637b2737b2cc20c1fd1dc58bc2ef7948165cb2e2" alt=""><figcaption><p>A aba Expressões.</p></figcaption></figure>

## Adicionar expressões&#x20;

**Expressões** são as frases ou sentenças que os clientes usam para comunicar sua intenção ao chatbot. Existem dois métodos para adicionar expressões às suas intenções:

### Entrada manual&#x20;

1. Vá para o seu **Intenção** aba.
2. Digite uma nova expressão no campo de entrada.&#x20;
3. Clique **entrar** ou **+**.

<figure><img src="/files/3811710c10e17f300f3c7be092d03e8cfab40784" alt=""><figcaption></figcaption></figure>

### Gerar expressões

Se você quiser acelerar o processo, pode aproveitar os Modelos de Linguagem de Grande Porte (LLM) para gerar expressões automaticamente.&#x20;

Para gerar expressões usando IA:

1. Acesse a intenção que você criou. Se não houver expressões existentes, o nome e a descrição da intenção serão usados como prompt para a geração de expressões.
2. Clique **Gerar Expressões**. O chatbot fornecerá até 5 expressões sugeridas com base no prompt fornecido.
3. Selecione aquelas que você deseja manter.
4. Clique **Adicionar selecionadas**.

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

## Adicione entidades contextuais às suas expressões

Para adicionar [entidades contextuais](/chatlayer-documentation-pt-br/nlp/natural-language-processing-nlp/detect-information-with-entities/contextual-entities.md) às suas expressões:&#x20;

1. Enquanto você escreve expressões, use o símbolo '@' para indicar a presença de uma entidade.
2. Você pode criar uma nova tag de entidade contextual no local ou selecionar entre tags de entidade contextual existentes, dependendo das entidades contextuais predefinidas do seu chatbot.

<figure><img src="/files/0606931b84145558af898a0a8b31ac42f3f7f50c" alt=""><figcaption></figcaption></figure>

3. Para adicionar valores à entidade selecionada, basta clicar na tag da entidade. Isso abrirá um modal onde você poderá visualizar ou adicionar novos valores associados a essa entidade.

<figure><img src="/files/5268887e28ea33d0e000650d5a753878f285a4e7" alt=""><figcaption><p>Adicione entidades às suas expressões.</p></figcaption></figure>


---

# 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.chatlayer.ai/chatlayer-documentation-pt-br/navegacao/natural-language-processing-nlp/expressions.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.
