Profitability Analysis and Trend Forecasting: Development of tools for financial overview and decision support with AI Agents
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [sv]
Detta projekt syftade till att utveckla ekonomiverktyg för att skapa översikter, genomföra analyser och förutse trender. Projektet genomfördes i samarbete med företaget GDM Konsult AB. Istället för att manuellt samla in och analysera finansiella data från kalkylblad över olika tidsperioder, undersöker projektet hur agentbaserade system kan bidra med finansiella insikter via ett realtidsbaserat chattgränssnitt. Två finansiella verktyg utvecklades under projektet: ett chattverktyg integrerat med Microsoft Teams, samt ett månadsrapporteringsverktyg för automatiserad rapportgenerering. På grund av tidsbegränsningar fick det sistnämnda mindre utvecklingstid och är i dagsläget en grundläggande prototyp lämplig för framtida utveckling. För att utvärdera chattverktyget testades det chattverktyget med tre stora språkmodeller: o4-mini, GPT-4.1 och GPT-4.1-Nano. Varje modell kördes genom en standardiserad uppsättning finansiella frågor tio gånger under testfasen för att utvärdera respektive modells prestanda i en agentisk Retrieval-Augmented Generation (RAG)-miljö. Prestandan bedömdes baserat på träffsäkerheten i svaren vid hämtning av intäkts- och bruttomarginaldata. Resultaten visar att o4-mini gav de mest tillförlitliga och träffsäkra svaren vid ekonomisk analys. GPT-4.1 levererade korrekta svar när frågorna var tydligt formulerade, medan GPT-4.1-Nano uppvisade stora brister när modellen användes som agent. När agenterna drivs med o4-mini kan det ekonomiska chattverktyget på ett effektivt sätt jämföra och ge översikter över finansiell prestation samt leverera meningsfulla insikter kopplade till viktiga nyckeltal.
Abstract [en]
This project aimed to develop financial tools for making financial overviews, conducting analysis, and forecasting trends. The project was done in collaboration with GDM Konsult AB. Instead of manually collecting and analyzing financial data across spreadsheets and time periods, the project explores how agentic systems can facilitate financial insights through a real-time chat interface. Two financial tools were developed during the project: a Financial Chat Tool integrated with Microsoft Teams, and a Monthly Reporting Tool for automated report generation. Due to time constraints, the latter received less development time and remains a basic prototype suitable for future work. To evaluate the Chat Tool, the agentic system was benchmarked with three large language models: o4-mini, GPT-4.1, and GPT-4.1-Nano. Each model was run through a standardized set of financial queries ten times during the testing phase to determine each model’s performance in an agentic Retrieval-Augmented Generation (RAG) setting. Performance was scored based on the accuracy of responses involving retrieval of revenue and gross margin data. Results suggest that o4-mini provided the most reliable and accurate answers for financial analysis. GPT4.1 delivered accurate responses when queries were clearly formulated, while GPT4.1-Nano exhibited major inaccuracies when utilized as an agent. When powered by o4-mini, the Financial Chat Tool can effectively compare and provide overviews of financial performance and deliver meaningful insights related to key performance indicators (KPI).
Place, publisher, year, edition, pages
2025.
Keywords [en]
AI Agent, Large Language Model, Retrieval-Augmented Generation, Trend Forecasting, Financial Overview, Multi-Agents
Keywords [sv]
AI-agent, stor språkmodell, generering med förstärkt hämtning, trendprognoser, finansiell översikt, multiagenter
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-54877Local ID: DT-V25-G3-039OAI: oai:DiVA.org:miun-54877DiVA, id: diva2:1979088
Subject / course
Computer Engineering DT1
Educational program
Computer Science TDATG 180 higher education credits
Supervisors
Examiners
2025-06-302025-06-302025-09-25Bibliographically approved