Skip to content

A modular, multilingual, and multimodal Retrieval-Augmented Generation (RAG) system tailored for the financial analysis of Public Investment Fund (PIF) annual reports.

License

Notifications You must be signed in to change notification settings

MohamedMostafa259/pif-multimodal-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIF-Multimodal-RAG

A modular, multilingual, and multimodal Retrieval-Augmented Generation (RAG) system tailored for the financial analysis of Public Investment Fund (PIF) annual reports.

The framework builds upon the design principles of M3DocRAG, extending it with domain-specific adaptations for financial document understanding in both Arabic and English.

Demo

Watch the full demo on YouTube: PIF-Multimodal-RAG Demo

PIF-Multimodal-RAG Demo

Features

Quick Start

  1. Run Kaggle Notebook:

    • This notebook requires your NGROK_AUTHENTICATION and HF TOKEN tokens.
    • After running the notebook, copy the generated ngrok URL.
    • For Docker deployment (recommended), paste the URL into docker/env/.env.app as KAGGLE_NGROK_API_URL. For quick local development, put it in your root .env file.
  2. Download the reports in assets/pif-annual-reports/

  3. Set Environment Variables:

    • Edit docker/env/.env.app (for Docker) or .env (for local dev).
  4. Start Services:

    docker compose -f docker/docker-compose.yml up -d --build
    

    Open http://localhost for the UI. The API is proxied at /api/v1/*.

Directory Structure

Key Files

License

See LICENSE.


For more details, see the linked READMEs in each subdirectory.

About

A modular, multilingual, and multimodal Retrieval-Augmented Generation (RAG) system tailored for the financial analysis of Public Investment Fund (PIF) annual reports.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published