You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scheme Discovery — Semantic search over government schemes using vector embeddings
Eligibility Checking — Rule-based eligibility evaluation against citizen profiles
AI Chat Assistant — RAG-powered conversational guidance using Groq LLM
Application Tracking — Draft and track scheme applications
Multi-language Support — English, Hindi, and Bengali
Tech Stack
Component
Technology
Frontend
React, TypeScript, Vite
API Gateway
FastAPI, Python
Database
SQLite (dev) / PostgreSQL (prod)
Vector DB
ChromaDB + sentence-transformers
LLM
Groq (llama-3.3-70b-specdec)
Object Store
MinIO
Auth
JWT (python-jose) + bcrypt
Embeddings
all-MiniLM-L6-v2 (HuggingFace)
Getting Started
Prerequisites
Python 3.11+
Node.js 18+
Docker (optional, for PostgreSQL + MinIO)
Backend Setup
# Clone the repository
git clone <repo-url>cd IBM-Project
# Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate# Install dependencies
pip install -r requirements.txt
# Or install the project with the optional CPU-only RAG stack
uv sync --extra rag-cpu
# Configure environment
cp .env.example .env
# Edit .env with your settings (Groq API key, etc.)# Run the API server
uvicorn services.api_gateway.main:app --host 127.0.0.1 --port 8000 --reload
The rag-cpu extra restores ChromaDB, LangChain, and sentence-transformers with
the CPU-only PyTorch wheel. Vercel installs only the default project dependencies
so its serverless function stays below the bundle-size limit.
Frontend Setup
cd apps/web
npm install
npm run dev
The frontend will be available at http://127.0.0.1:5173.
Database & Infrastructure (Optional)
docker compose up -d
This starts PostgreSQL and MinIO containers. The app uses SQLite by default for local development.