Why this matters to people who build assistants
The assistant of a clinic or an office receives names, CPF numbers, addresses and sometimes health data. The agency that builds the flow processes this data on behalf of its client.
Paying for AI in dollars with an international card adds the exchange rate and 3.5% IOF tax. At Rota, credit is in reais via Pix, from R$ 5.
To understand the intent of a message, answer questions and point to the next step, the model does not need the customer's documents.
How it works
Change the AI address
In your tool's OpenAI credential, use https://rota-nacional.ia.br/v1 as the base address and your Rota key.
Choose the model
Use a Rota ID, such as rota/rapido for short answers or rota/analise for conversations that need more reasoning.
Rota cleans each message
Before the model, names, CPF numbers, phone numbers, emails and addresses become placeholders. The model answers from the clean text.
The flow completes the data
When the reply needs the name or the booked time, the agency's flow fills it in afterwards, with the data that it already has.
Example with fictitious data
Before Rota
Oi, aqui é o Rafael Costa Lima. Quero marcar uma limpeza de pele para sexta à tarde. Meu CPF é 529.982.247-25 e meu e-mail é rafael.lima@example.com.After Rota
Oi, aqui é o [PESSOA_1]. Quero marcar uma limpeza de pele para sexta à tarde. Meu CPF é [CPF_1] e meu e-mail é [EMAIL_1].How to integrate
Tools that accept an API in the OpenAI format usually work when you change the base address and the key. Test your flow during the free trial.
curl https://rota-nacional.ia.br/v1/chat/completions \
-H "Authorization: Bearer $ROTA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "rota/rapido", "messages": [{"role": "user", "content": "Oi, aqui é o Rafael Costa Lima. Meu CPF é 529.982.247-25."}]}'
Good to know
- Audio and images from the conversation first go through the transcription and document reading routes.
- For high volume, the team agrees the limit with you.