Local LLM module in a web system for generating textual reports via prompt
DOI:
https://doi.org/10.37779/nt.v27i3.5745Keywords:
Systems Integration; Cloud Computing; RPC; Artificial Intelligence; PythonAbstract
This study addresses the need to enhance the information systems of the Laboratório de Práticas da Computação at Universidade Franciscana (UFN), with a particular emphasis on human-computer interaction. The existing systems lacked advanced capabilities for automated report generation, relying instead on complex manual SQL queries. To address this limitation, a textual interaction module was developed, integrating Natural Language Processing (NLP) techniques and Large Language Models (LLMs) to translate natural language questions into SQL queries, thereby streamlining the report generation process. The implementation employed the Llama 3.1 8B model and leveraged the LangChain framework, together with the Ollama and xmlrpc libraries, to support a Retrieval-Augmented Generation (RAG) architecture. The proposed solution produced consistent and accurate results for short, well-structured queries when compared to traditional manual SQL queries.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Disciplinarum Scientia | Naturais e Tecnológicas

This work is licensed under a Creative Commons Attribution 4.0 International License.
A submissão de originais para este periódico implica na transferência, pelos autores, dos direitos de publicação impressa e digital. Os direitos autorais para os artigos publicados são do autor, com direitos do periódico sobre a primeira publicação. Os autores somente poderão utilizar os mesmos resultados em outras publicações indicando claramente este periódico como o meio da publicação original. Em virtude de sermos um periódico de acesso aberto, permite-se o uso gratuito dos artigos em aplicações educacionais e científicas desde que citada a fonte conforme a licença CC-BY da Creative Commons.
Creative Commons Atribuição 4.0 Internacional.





