# Versões

{% hint style="info" %}
Saiba mais sobre os ambientes LIVE e DRAFT [aqui](/chatlayer-documentation-pt-br/publicar/publishing-your-bot.md).
{% endhint %}

Para voltar a uma versão LIVE anterior do seu bot:

1. Abra seu bot e vá ao menu "Publish".

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

2. No lado direito você pode ver todas as versões LIVE que você publicou no passado.

{% hint style="info" %}
Precisa de um lembrete sobre o que são versões e como elas são usadas? Leia mais [aqui](/chatlayer-documentation-pt-br/publicar/publishing-your-bot.md).
{% endhint %}

Se você quiser restaurar uma versão antiga, basta clicar no botão de restaurar dessa versão; a janela abaixo será exibida:

<figure><img src="/files/4856496807862eaf193e9aca25b3531d573e463f" alt=""><figcaption></figcaption></figure>

3. Você pode escolher se deseja:

* tornar esta versão antiga do bot a nova versão LIVE com a qual seus usuários irão conversar. Isso não afetará a versão DRAFT atual.
* carregar a versão antiga na sua versão DRAFT, para que você possa continuar trabalhando nela. Isso não afetará a versão LIVE atual.

{% hint style="warning" %}
Restaurar uma versão para DRAFT significa sobrescrever sua versão DRAFT atual. Isso não pode ser desfeito.
{% endhint %}

Restaurar seu bot irá:

* Reverter o modelo de NLP para a versão específica, para garantir um modelo de NLP funcional.
* Atualizar o aplicativo para que a versão correta dos blocos e do modelo de NLP seja exibida aos usuários.
* Não afetar o histórico de conversas, análises e a aba de treinamento.


---

# Agent Instructions: 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.chatlayer.ai/chatlayer-documentation-pt-br/navegacao/history/versions.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.
