USING CHATGPT FOR TREATING PRECEDENTS AND RULINGS OF THE JUSTICE SUPERIOR COURT
DOI:
https://doi.org/10.56238/arev8n7-024Keywords:
Generative Artificial Intelligence, Case comparison, Precedents, Analogical ReasoningAbstract
This paper analyzes the properties of generative artificial intelligence tools such as ChatGPT, highlighting specific features that enhance their application in the legal domain, such as the use of context, the dialogic interaction with the user via prompt engineering, and the precautions required to address inaccurrrate outputs and the so-called hallucinations. The study examined ChatGPT's responses concerning the identification and comparison of precedents embodied in binding summaries of the Superior Court of Justice and legal theses in the field of consumer law, as well as the tool's feasibility in drafting decisions based on these adjudicated cases. This research is justified by the fact that the adoption of judicial precedents, efficiently processed with the support of artificial intelligence, contributes to the effectiveness of fundamental rights for litigants. The study adopts a qualitative, exploratory, and descriptive approach, through the examination of a limited number of court rulings without aiming to devise solutions for the issues identified. The findings indicated that the responses were substantially aligned with the justice opinions and that ChatGPT has the potential to assist legal practioners in the identification, comparison, and application of judicial precedents, thereby promoting greater efficiency, consistency, and equality in the adjudication of future cases.
Downloads
References
ARRUDA ALVIM, Teresa; DANTAS, Bruno. Precedentes, recurso especial e recurso extraordinário. São Paulo: Thomson Reuters Brasil, 2023.
BARCELLOS, Lívia Inglesis; ALBINO, João Pedro. Desinformação e Inteligência Artificial: Impacto das alucinações na Utilização do ChatGPT para a área acadêmica. Revista ARACÊ. São José dos Pinhais, v. 7, n. 12, 2025. Disponível em: https://periodicos.newsciencepubl.com/arace/article/view/11100/12561. Acesso em 16 junho 2026. DOI: https://doi.org/10.56238/arev7n12-164
BONAT, Débora; VALE, Luís Manoel Borge do; PEREIRA, João Sérgio dos Santos Soares. Inteligência artificial generativa e a fundamentação da decisão judicial. Revista de Processo, v. 48, n. 346, dez. 2023. Disponível em: https://hdl.handle.net/20.500.121178.229260. Acesso em: 06 maio 2026.
BREWER, Scott. Indefeasible analogical argument. In: KAPTEIN, Hendrik; VAN DER VELDEN, Bastiann. Analogy and exemplary reasoning in legal discourse. Amsterdam: Amsterdam University Press, 2018. DOI: https://doi.org/10.1515/9789048537143-003
BUCKLEY, Joshua; BURDON, Mark; HUGGINS, Anna; GODFREY, Nicholas. Towards a legal prompt engineering strategy for identifying rationes decidendi. Monash University Law Review, v. 51, 2025. Disponível em: https://eprints.qut.edu.au/255572. Acesso em: 05 maio 2026.
BURGESS, Paul; WILLIAMS, Iwan; QU, Lizhen; WANG, Weiqing. Using generative AI to identify arguments in judges' reasons: accuracy and benefits for students. Law, Technology and Humans, v. 6, n. 3, 2024. Disponível em: https://lthj.qut.edu.au/article/view/3637. Acesso em: 05 maio 2026. DOI: https://doi.org/10.5204/lthj.3637
CALLISTER, Paul D. Generative AI and finding the law. Law Library Journal, v. 117, p. 1, 2025. Disponível em: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4608268. Acesso em: 05 maio 2026.
CAMARGO, Solano de. Manual de Engenharia de Prompt no Direito. Thomson Reuters do Brasil, 2024.
D'ALMEIDA, Luis Duarte; MICHELON, Cláudio. The structure of arguments by analogy in law. Argumentation, vol. 31, n. 2, 2017. Disponível em: https://www.pure.ed.ac.uk/ws/files/28357186/The_structure_of_arguments_by_analogy_in_law_UTP.pdf. Acesso em: 05 maio 2026. DOI: https://doi.org/10.1007/s10503-016-9409-3
DEROY, Aniket; GHOSH, Kripabandhu; GHOSH, Saptarshi. Applicability of large language models and generative models for legal case judgement summarization. Artificial Intelligence and Law, jul. 2024. Disponível em: https://dl.acm.org/doi/abs/10.1007/s10506-024-09411-z. Acesso em: 05 maio 2026. DOI: https://doi.org/10.1007/s10506-024-09411-z
FARIA, Joana Ribeiro de; XIE, Huiyuan; STEFFEK, Felix. Information Extraction from Employment Tribunal Judgements using Large Language Models. Artificial Intelligence and Law, 2025. Disponível em: https://link.springer.com/article/10.1007/s10506-025-09443-z. Acesso em: 05 maio 2026. DOI: https://doi.org/10.2139/ssrn.4776160
GROSSMAN, M. R.; GRIMM, P. W.; BROWN, D. G.; XU, M. The GPTJudge: justice in a generative AI world. Duke Law and Technology Review, v. 23, n. 1, 2023. Disponível em: https://scholarship.law.duke.edu/dltr/vol23/iss1/1/. Acesso em: 05 maio 2026.
HUNTER, Dan. Reason is too large Analogy and precedent in law. Emory Law Journal, v. 50. 2001. Disponível em: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=239739. Acesso em: 05 maio 2026.
LAGE, Fernanda de Carvalho. Manual de Inteligência Artificial no Direito Brasileiro. São Paulo, JusPodium, 2022.
LEE, Timothy B.; TROTT, Sean. Large Language Models, Explainded with a Minimum of Math and Jargon. Understanding AI, July, 27, 2023. Disponível em https://www.understandingai.org/p/large-language-models-explained-with. Acesso em 19 mai 2026.
LEONARDI, Marcel; MAIA, Fernanda Simplício. Inteligência artificial generativa no contexto corporativo e prevenção na prática. In: FACHINETTI, Aline Fuke (Coord.). Inteligência artificial responsável. São Paulo: Thomson Reuters Brasil Conteúdo e Tecnologia Ltda., 2025.
LESSA, Guilherme T. Precedentes judiciais e raciocínio jurídico. São Paulo: Thomson Reuters, 2022.
LIU, H.; NING, R.; TENG, Z.; LIU, J.; ZHOU, Q.; ZHANG, Y. Evaluating the logical reasoning ability of ChatGPT and GPT-4. Working Paper, 2023. Disponível em: http://arxiv.org/abs/2304.03439. Acesso em: 05 de maio 2026.
MAQUES, Cláudia Lima. Teses Jurídicas dos Tribunais Superiores – Direito do Consumidor –Tomo I. Revista dos Tribunais, 2017.
MARTINEZ, Gonzalo; HERNÁNDEZ, José Alberto; CONDE, Javier; REVIRIEGO, Pedro; MERINO, Elena. Beware of Words: Evaluating the Lexical Diversity of Conversational LLMs using ChatGPT as Case Study. ACM Transactions on Intelligent Systems and Technology, Volume 16, Issue 6, p. 1 – 15, 2024. Disponível em: https://dl.acm.org/doi/10.1145/3696459. Acesso em: 05 maio 2026. DOI: https://doi.org/10.1145/3696459
MURRAY, Michael D. Prompt Engineering and Priming in Law. July 29, 2024. Disponivel em: https://ssrn.com/abstract=4909532. Acesso em: 05 maio 2026. DOI: https://doi.org/10.2139/ssrn.4909532
PADUA, Sérgio; PEIXOTO; Fabiano Hartmann. Inteligência Artificial Generativa no direito: da metodologia de avaliação à correção jurídica de LLMS e agentes de IA. Revista Brasileira de Direito, Passo Fundo, vol. 21, n. 1, e5237, janeiro-abril, 2025. Disponível em: https://seer.atitus.edu.br/index.php/revistadedireito/article/view/5237. Acesso em: 06 maio 2026. DOI: https://doi.org/10.18256/g4jnx825
PORTO, Fábio Ribeiro; ARAÚJO, Valter Shuenquener de; GABRIEL, Anderson de Paiva. Inteligência artificial generativa no Direito. São Paulo: Thomson Reuters do Brasil, 2024.
RUSSEL, Stuart; NORVIG, Peter. Inteligência Artificial. Rio de Janeiro: Elsevier, 2013.
SCHAUER, Frederick; SPELLMAN, Barbara. "Precedent and similarity". In: ENDICOTT, Timothy; KRISTJÁNSSON, Hafsteinn; LEWIS, Sebastian (Coord.). Philosophical foundations of precedent. Oxford: Oxford University Press, 2023. DOI: https://doi.org/10.1093/oso/9780192857248.003.0019
SILVA, Rafael Santos de Barros e. Mecanismos de Distinghishing no Direito brasileiro: Uma proposta de modelo para a aplicação e afastamento dos precedentes judiciais. Tese de doutorado em direito, IDP, Brasília, 2023.
SOUZA, Bernardo de Azevedo e. Inteligência Artificial Generativa na Prática Jurídica, Thomson-Reuters, 2025.
SURDEN, H. ChatGPT, AI large language models, and law. Fordham Law Review, v. 92, n. 5, 2024. Disponível em: https://ir.lawnet.fordham.edu/flr/vol92/iss5/9/. Acesso em: 05 maio 2026.
VOJVODIC, Adriana de Moraes. Precedentes e argumentação no Supremo Tribunal Federal: entre a vinculação ao passado e a sinalização para o futuro. Tese de Doutorado, Faculdade de Direito da USP, São Paulo, 2012.
ZHANG, Li; SAVELKA, Jaromir; ASHLEY, Kevin. Do LLMs Truly "Understand" When a Precedent Is Overruled? Proceedings of the 2025 Conference on Legal Knowledge and Information Systems, 2025. DOI: https://doi.org/10.3233/FAIA251592