Why legal work needs a layer before AI
Professional secrecy is a lawyer's duty under the Brazilian Bar Statute and the OAB Code of Ethics and Discipline. Recommendation No. 001/2024 of the OAB Federal Council guides the use of generative AI with confidentiality preserved.
In jurimetrics and case law research, the volume is large and the texts mention people. Publishing or analyzing this archive requires care with the parties' data.
To summarize a case or compare clauses, the AI needs the facts and the arguments, not the client's name.
How it works
The document arrives
Your system sends the text of the case, contract or decision to the cleaning route. PDFs with text go through the extraction route.
Rota removes the parties
Person names, CPF and CNPJ numbers, emails, phone numbers and addresses become placeholders. Facts, claims, deadlines and legal grounds stay in the text.
AI works on the text
The model summarizes the case, points out risks in clauses or classifies decisions by subject.
The lawyer reviews
Your system shows the result to the lawyer, who completes the document with the parties' data.
Example with fictitious data
Before Rota
Contrato de prestação de serviços entre Alfa Consultoria Ltda., CNPJ 11.222.333/0001-81, e Ricardo Alves Nunes, CPF 111.444.777-35, residente na Avenida Brasil, 1500, Rio de Janeiro. Prazo de 12 meses e multa de 20% em caso de rescisão antecipada.After Rota
Contrato de prestação de serviços entre Alfa Consultoria Ltda., CNPJ [CNPJ_1], e [PESSOA_1], CPF [CPF_1], residente na [ENDERECO_1], Rio de Janeiro. Prazo de 12 meses e multa de 20% em caso de rescisão antecipada.How to integrate
If you use Rota models, send the text directly through the chat route: the barrier removes the personal data before the model, according to the organization's policy.
For long documents, use Rota Análise, with a context of 128,000 tokens. To publish decisions, use the cleaning route with the redaction policy.
curl https://rota-nacional.ia.br/v1/chat/completions \
-H "Authorization: Bearer $ROTA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "rota/analise", "messages": [{"role": "user", "content": "Liste os riscos deste contrato: <texto do contrato>"}]}'
Good to know
- The lawyer stays in charge: Rota prepares the text for the AI.
- In the final document, the system or the lawyer adds the parties' names.