Improving Public Contract Management with LLMs: A Q&A System
摘要
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.