Contract management in public institutions demands rigorous oversight of service execution and financial compliance, posing operational challenges for managers. This study introduces an LLM question-and-answer (Q&A) system to retrieve structured and unstructured contract information. The solution integrates text-to-SQL extraction for data querying, prompt engineering for response standardization, and intelligent agents for context-aware answer generation. Implemented as a containerized Python application and combining generative AI with customized LLMs, the system overcomes the limitations of traditional contract management systems. The results demonstrate an effective architecture for deploying a Q&A system to address one of the main challenges in understanding administrative contracts and their specifics.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Improving Public Contract Management with LLMs: A Q&A System

  • Antony Seabra,
  • Claudio Cavalcante,
  • Nicolaas Ruberg,
  • João Nepomuceno,
  • Gabryel Medeiros,
  • Vitor Millome,
  • Sergio Lifschitz

摘要

Contract management in public institutions demands rigorous oversight of service execution and financial compliance, posing operational challenges for managers. This study introduces an LLM question-and-answer (Q&A) system to retrieve structured and unstructured contract information. The solution integrates text-to-SQL extraction for data querying, prompt engineering for response standardization, and intelligent agents for context-aware answer generation. Implemented as a containerized Python application and combining generative AI with customized LLMs, the system overcomes the limitations of traditional contract management systems. The results demonstrate an effective architecture for deploying a Q&A system to address one of the main challenges in understanding administrative contracts and their specifics.