๐ AlphaInsight Pro - Final Year Project Demo
Describes a production-deployed financial RAG demo app with PDF processing, semantic search, and AI Q&A via a Bloomberg-style terminal UI.
What this file does
Describes a production-deployed financial RAG demo app with PDF processing, semantic search, and AI Q&A via a Bloomberg-style terminal UI.
When to use it
- Showcasing a final-year project with live deployment
- Demonstrating RAG pipeline with Firebase and Gemini
- Presenting a professional financial analysis tool to evaluators
- Learning how to structure a demo README for a full-stack AI app
Assumes this stack
๐ AlphaInsight Pro - Final Year Project Demo
๐ Live Link
๐ What You'll See
1. Professional Terminal Interface
- Bloomberg Terminal aesthetic with neon green/amber styling
- Dark terminal background for financial data presentation
- Clean, professional UI that impresses
2. Core Features Demo
Upload & Process Documents
- Click the
[ + ]button in the Documents section - Select any PDF (earnings report, 10-K filing, financial statement, etc.)
- Watch the progress bar as the system:
- Extracts text from the PDF
- Chunks it into manageable pieces
- Generates AI embeddings
- Stores in Firestore database
Ask Questions
- Once documents are indexed, type a financial question
- Press Enter to query
- Examples:
- "What was the total revenue?"
- "Summarize key financial metrics"
- "What are the main risks?"
- "What is the profit margin?"
Get AI-Powered Answers
- AI retrieves relevant document chunks
- Generates comprehensive answers using Google Gemini
- Shows source citations with chunk references
- Streams response in real-time for smooth UX
Chat History
- Each conversation is saved
- Switch between different chats
- All data persists across sessions
- Fully isolated per user
๐ฏ Technical Stack Demonstrated
Frontend
- Vite - Lightning-fast bundler & dev server
- Vanilla JavaScript - No framework bloat
- Responsive CSS - Works on desktop & mobile
Backend
- Firebase Firestore - Real-time NoSQL database
- Firebase Authentication - Email/password + guest login
- Firebase Hosting - Global CDN deployment
AI/ML
- Google Gemini API - State-of-the-art LLM
- Embeddings - Semantic document understanding
- RAG Pipeline - Retrieval-Augmented Generation
Production Ready
- โ Security rules configured
- โ Zero-cold-start performance
- โ Optimized bundle (220 KB gzip)
- โ Spark tier compatible (free)
๐ Key Features to Highlight
-
Real PDF Processing
- Actual PDF parsing with PDF.js
- Text extraction from any financial document
- Intelligent chunking (512-token chunks)
-
Semantic Search
- AI embeddings for intelligent retrieval
- RAG pipeline finds most relevant chunks
- Context-aware Q&A
-
Persistent Storage
- Firestore database stores everything
- Per-user data isolation
- Chat history across sessions
-
Streaming UI
- Real-time AI response streaming
- Smooth, professional animations
- Terminal-style visual feedback
-
Production Deployment
- Live on Firebase Hosting
- Not localhost - fully deployed
- Instant global CDN access
๐ก Demo Flow (2-3 minutes)
- Open the app โ See terminal-style UI
- Upload a PDF โ Show processing progress
- Ask a question โ See AI respond in real-time
- Try another query โ Show chat history
- Show mobile responsive โ Works on all screens
๐ What Makes This Project Stand Out
Architecture
- RAG pipeline from scratch (no frameworks)
- Proper document chunking strategy
- Semantic embeddings with AI
UX/Design
- Professional Bloomberg Terminal aesthetic
- Smooth animations & transitions
- Real-time feedback during processing
Scalability
- Firebase Spark tier (free forever)
- Handles multiple users + documents
- Efficient chunk-based retrieval
Engineering
- Clean code structure (src/ organization)
- Security best practices
- Environment-based config (.env)
- Error handling & validation
๐ Security Features
- Firebase Auth ensures only your data is accessible
- Firestore security rules enforce per-user data isolation
- PDFs processed client-side (privacy-first)
- No sensitive data logged
๐ Performance Metrics
- Build size: 220 KB gzipped (optimized with code splitting)
- Modules: 26 optimized chunks
- Load time: <2 seconds on 4G
- Chat latency: ~500ms for AI response
๐ What You Built
A production-grade AI financial analysis application that demonstrates:
- โ Full-stack development (frontend โ backend โ AI)
- โ RAG architecture implementation
- โ Cloud infrastructure (Firebase)
- โ AI/ML integration (Gemini)
- โ Professional UI/UX design
- โ Security best practices
- โ Production deployment
๐ Notes for Teacher
- Not a demo - This is a fully functional, production-deployed app
- Real data - Try uploading actual financial documents
- Live link - Works anywhere (no laptop setup needed)
- Impressive scope - Covers frontend, backend, AI, cloud infrastructure, and design
Share this link: https://studio-6436785850-def2b.web.app ๐
What's inside
14 sections covering live link, features, tech stack, demo flow, performance metrics, and security notes.
Change this for your project
- Replace
https://studio-6436785850-def2b.web.appwith your own Firebase Hosting URL - Replace
RohanExploit/FinanceRAGwith your own repository name - Replace
Google Gemini APIwith your own AI model if different
Where it goes
Reference documentation for a retrieval pipeline. Keep with the ingestion or retrieval code it describes.
Worth borrowing
- Bloomberg Terminal aesthetic for financial apps
- Demo flow script with timed steps for live presentations
- Performance metrics table to impress evaluators
Related Documents
SUMMARY
Proposes three on-prem AI architectures, modular, hybrid, and fully local RAG, with hardware specs and vendor lists.
Retrieval & Prompts
Explains how CharMemory's extraction prompt and Vector Storage settings determine memory retrieval quality in SillyTavern.
App Review Support Guide โ Switch2Go
Explains an AAC app's accessibility permissions, hardware needs, and reviewer walkthrough to pass App Store review.
RFC-BLite: High-Performance Embedded Document Database for .NET
Specifies an embedded document database for.NET with zero-allocation I/O, C-BSON format, and ACID transactions.