Training LLMs for querying financial data with natural language prompts

Chanthati, Sasibhushan Rao (2025) Training LLMs for querying financial data with natural language prompts. World Journal of Advanced Engineering Technology and Sciences, 15 (1). 025-032. ISSN 2582-8266

[thumbnail of WJAETS-2025-0190.pdf] Article PDF
WJAETS-2025-0190.pdf - Published Version
Available under License Creative Commons Attribution Non-commercial Share Alike.

Download ( 511kB)

Abstract

The abstract introduces the motivation behind this research: the rapid expansion of financial investment data and the need for Artificial Intelligence-driven solutions for accurate and real-time analysis. The research presents an open-source Large Language Model (LLM) fine-tuned on financial datasets to provide precise investment insights. The LLM integrates MongoDB Atlas Vector Search to store and retrieve vector embeddings efficiently. This allows natural language querying of financial data. The implementation leverages Hugging Face Transformers, Sentence-Transformers, and FastAPI, enabling a scalable framework for real-time financial queries and automated decision-making. The system is deployed as an API, allowing seamless integration into financial platforms. The research contributes to the open-source community by providing a robust AI-powered financial tool for analysts, traders, and researchers.

Item Type: Article
Official URL: https://doi.org/10.30574/wjaets.2025.15.1.0190
Uncontrolled Keywords: Artificial Intelligence; Machine Learning; MongoDB; NLP; Prompt Engineering; Large Language Models LLMs; Hugging Face and Python
Depositing User: Editor Engineering Section
Date Deposited: 27 Jul 2025 16:12
Related URLs:
URI: https://eprint.scholarsrepository.com/id/eprint/2634