Data and AI

Economic Outlook 2027 RAG

A retrieval-augmented Q&A tool that answers questions on the Ministry of Finance Malaysia Economic Outlook 2027 report with a hybrid TF-IDF and n-gram retriever and a local LLM in LM Studio or Ollama. Every answer cites its exact page across all 258 pages, and a deterministic extractive fallback answers with no LLM running.

Stack
Python, Streamlit, TF-IDF, LM Studio / Ollama
Code
github.com/ADM1SH/economic-outlook-rag

Overview

Install

pip install -r requirements.txt
pytest -v
streamlit run app.py

Docs

The full documentation covers how it works, configuration and results.