How shuiii129/financial-intelligence-rag works
This Streamlit application takes a financial-report PDF through parsing and retrieval setup, then presents an executive dashboard, conversational analysis, and a direct document explorer. Its main runtime is concentrated in app.py; the README documents major capabilities such as hybrid search, multilingual chat, model fallback, and rate-limit handling, while excerpts show parts of indexing, dashboard rendering, and document search. Internal relationships not visible in the excerpts are included only where the README describes them.
Main entry points: app.py Conversational Agent
Components 15
Document Ingestion
- Report Upload
app.py - PDF Parsing
app.py - Text Chunking
app.py - Hybrid Retrieval
app.py - Dense Vector Index
app.py - Keyword Search
app.py
Financial Analysis
- Financial Analysis
app.py - SWOT Analysis
app.py
User Experience
- Executive Dashboard
app.py - Trend Charts
app.py - Conversational Agent
app.py - Query Memory
app.py - Document Explorer
app.py
AI Services
- Gemini Models
Other components
- Financial Analyst
Connections 18
- Financial Analyst → Report Upload: uploads PDF
README.md - Report Upload → PDF Parsing: parses report
README.md - PDF Parsing → Text Chunking: splits text
app.py - Text Chunking → Dense Vector Index: embeds chunks
app.py - Text Chunking → Keyword Search: indexes text
README.md - Dense Vector Index → Hybrid Retrieval: dense search
README.md - Keyword Search → Hybrid Retrieval: sparse search
README.md - Financial Analyst → Conversational Agent: asks questions
README.md - Conversational Agent → Hybrid Retrieval: retrieves context
README.md - Conversational Agent → Query Memory: condenses follow-ups
README.md - Conversational Agent → Gemini Models: generates answers
README.md - Financial Analyst → Document Explorer: searches document
README.md - Document Explorer → Hybrid Retrieval: searches chunks
app.py - Financial Analyst → Executive Dashboard: views results
README.md - Financial Analysis → Gemini Models: analyzes report
README.md - Financial Analysis → Executive Dashboard: provides summary
README.md - Financial Analysis → SWOT Analysis: produces SWOT
README.md - Executive Dashboard → Trend Charts: renders metrics
app.py