> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/topicos/converter/chatbot/chatbot-duvidas-comuns/chatbot-transferindo-para-um-atendente-humano-com-o-chatgpt.md).

# Chatbot - Transferindo para um atendente humano com o ChatGPT

## Configurando o chatbot com o modelo GPT

Para exemplificar, foi desenvolvido um chatbot com a seguinte configuração:

1. Uma mensagem inicial é enviada ao lead;
2. O Modelo GPT é acionado, observando e respondendo ao lead com base em seu [treinamento](/topicos/inteligencia-artificial/agentes-de-ia/agentes-de-i.a-legado-aviso/modelos-chatgpt/modelos-chatgpt-website-e-texto.md). Caso a condição de saída antecipada seja identificada, o agente será finalizado, e o fluxo seguirá para a saída negativa localizada abaixo do bloco;
3. O lead receberá uma mensagem informando que o atendimento será transferido;
4. O atendimento será então transferido através de uma ação, podendo ser direcionado a um usuário específico ou algum que esteja dentro do departamento desejado.

<figure><img src="/files/8iWv5RapWVhfm5a4mvPK" alt=""><figcaption><p><em>Configuração do chatbot.</em></p></figcaption></figure>

### Exemplo de interação com o agente de IA

<figure><img src="/files/vJjpWcPJsVQdIkIiuL4D" alt=""><figcaption><p><em>Exemplo de interação.</em></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.sprinthub.com/topicos/converter/chatbot/chatbot-duvidas-comuns/chatbot-transferindo-para-um-atendente-humano-com-o-chatgpt.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.
