Drishti is an AI-powered prospect intelligence copilot designed specifically for IDBI Bank branch Relationship Managers (RMs). By synthesizing Core Banking System (CBS) transaction data with external credit behaviors, Drishti identifies high-intent cross-sell and up-sell opportunities, empowering RMs to act precisely when the customer needs it most.
- Predictive AI Models: Utilizes
LightGBMto rank prospects based on Conversion Probability, Capacity, and Urgency. - Explainable AI (XAI): Integrated
SHAPvalues translate complex ML predictions into human-readable insights ("Why did the AI recommend this?"). - Real-Time Streaming Alerts: Employs Server-Sent Events (SSE) to push instant notifications to the RM's dashboard when high-intent actions (like a competitor auto loan payoff) are detected.
- Mock Integrations: Built-in simulators for CIBIL credit checks and CBS lead generation endpoints.
- Lightning-Fast Modern Stack:
- Frontend: Next.js (App Router), React, TailwindCSS
- Backend: FastAPI, SQLAlchemy, SQLite (for portability)
- ML Pipeline: Python, Pandas, Scikit-Learn, LightGBM
The application is cleanly decoupled into three main layers:
ml/(Offline Pipeline): Batch processes transaction data, runs feature engineering, and calculates AI propensity scores. Outputs to the database.backend/(FastAPI Core): Serves the REST API, handles user authentication, connects to SQLite, and pushes real-time SSE notifications.frontend/(Next.js Dashboard): The beautiful, responsive UI consumed by the Relationship Manager.
The entire stack is containerized for instant, dependency-free execution using Docker Compose.
# Start the API and Frontend Web server
docker compose up -d
# (Optional) Run the offline ML Pipeline to generate new scores
docker compose --profile pipeline up pipelineThe frontend will be available at: http://localhost:3000 The backend API will be available at: http://localhost:8000
1. Backend (FastAPI)
cd backend
uv sync
uv run uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload2. Frontend (Next.js)
cd frontend
pnpm install
pnpm run devWe have included a seed script to instantly populate the database with high-fidelity dummy data so you can test the UI without waiting for an ML batch run.
- Seed the Database:
cd backend
uv run python scripts/seed_demo_data.py- Log In:
Navigate to
http://localhost:3000and use the following credentials:
- Email:
demo@idbi.co.in - Password:
demo123
You will immediately see 3 rich prospect mockups (Personal Loan, Auto Refinance, Credit Card Upgrade) complete with SHAP factor explanations!
Engineered with ❤️ for the IDBI Hackathon. Fully compliant with modern industry best practices including Global Error Boundaries, Exception Interceptors, and strict type safety.