Oliveira, Luiz Affonso Henderson Guedes deFrança, Gustavo Jerônimo Moura de2025-01-232025-01-232025-01-17FRANÇA, Gustavo Jerônimo Moura de. Integração de dados legislativos e inteligência artificial para consulta e análise. 2025. 50 f. Trabalho de Conclusão de Curso (Graduação em Engenharia de Computação) - Departamento de Engenharia de Computação e Automação, Universidade Federal do Rio Grande do Norte, Natal, 2025.https://repositorio.ufrn.br/handle/123456789/61714This work aimed to develop a technical solution using natural language analysis, specifically Large Language Models (LLMs), to facilitate access to legislative data from the Brazilian Chamber of Deputies. The solution includes an interface designed to provide an intuitive and user-friendly experience, allowing users to execute queries for information analysis. To achieve this, JSON-format data provided by the Chamber of Deputies was collected and transformed into a relational MySQL database. The system leverages an LLM integrated with the LangChain framework, which generates SQL queries based on natural language input. These queries are executed in the database, and the results are displayed in a graphical interface developed using the Streamlit framework. This interface offers users a dedicated input field for queries and presents the corresponding responses.Attribution 3.0 Brazilhttp://creativecommons.org/licenses/by/3.0/br/Dados legislativosLegislative dataInteligência artificialLangChainStreamlitLinguagem naturalArtificial intelligenceLangChainNatural languageStreamlitIntegração de dados legislativos e inteligência artificial para consulta e análiseIntegration of legislative data and intelligence artificial for query and analysisbachelorThesisCNPQ::ENGENHARIAS