Skip to content

Jayani15/CreditPilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ CreditPilot - AI Powered MSME Credit Intelligence Platform

An AI-driven MSME Financial Health & Credit Assessment Platform

Built for the IDBI Bank Hackathon.


πŸ“Œ Overview

CreditPilot is an intelligent credit evaluation platform that helps financial institutions assess MSME loan eligibility using alternative financial indicators, AI-powered risk analysis, document intelligence, and explainable recommendations.

Instead of relying solely on traditional credit history, CreditPilot evaluates business health using revenue, cash flow, digital payment adoption, GST compliance, banking behavior, and multiple financial indicators.


✨ Features

πŸ“„ Smart Document Upload

  • Upload PDF, Images, Excel and CSV
  • OCR-based text extraction
  • Automatic document parsing

πŸ€– AI Credit Assessment

  • Credit Score Prediction
  • Financial Health Evaluation
  • Risk Classification
  • Loan Recommendation
  • Interest Rate Prediction

πŸ“Š Financial Health Card

Automatically generates a professional Financial Health Report including:

  • Credit Score
  • Risk Level
  • Financial Health
  • Loan Recommendation
  • Strengths
  • Weaknesses
  • AI Insights

πŸ’¬ AI Assistant

Built-in AI assistant capable of:

  • Explaining credit scores
  • Loan guidance
  • MSME financial recommendations
  • Policy assistance

πŸ“š RAG Knowledge Assistant

Supports Retrieval-Augmented Generation (RAG) using uploaded documents.

Examples:

  • RBI Circulars
  • MSME Policies
  • GST Guidelines
  • Loan Documents

πŸ“ˆ Dashboard

Real-time dashboard showing:

  • Total Businesses
  • Average Credit Score
  • Risk Distribution
  • Generated Reports

πŸ— Project Architecture

                    Upload Documents
                           β”‚
                           β–Ό
                    OCR Extraction
                           β”‚
                           β–Ό
                  Document Parsing
                           β”‚
                           β–Ό
                Feature Engineering
                           β”‚
                           β–Ό
                  Credit ML Model
                           β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό            β–Ό              β–Ό
 Financial Health   Fraud     Recommendation
        β”‚            β”‚              β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚
                     β–Ό
             AI Explainability
                     β”‚
                     β–Ό
          Financial Health Card
                     β”‚
                     β–Ό
              AI Assistant (RAG)

πŸ›  Tech Stack

Frontend

  • React
  • TypeScript
  • Vite
  • Tailwind CSS

Backend

  • FastAPI
  • Python
  • Pydantic

AI / ML

  • Scikit-learn
  • FAISS
  • Sentence Transformers
  • OCR (PyMuPDF)

Database

  • PostgreSQL

APIs

  • NitroStack AI
  • REST APIs

πŸ“‚ Project Structure

CreditPilot
β”‚
β”œβ”€β”€ frontend/
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚
β”‚   β”œβ”€β”€ api/
β”‚   β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ ai/
β”‚   β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ uploads/
β”‚   β”œβ”€β”€ core/
β”‚   └── main.py
β”‚
└── README.md

βš™ Installation

Clone

git clone https://github.com/yourusername/CreditPilot.git

cd CreditPilot

Backend

cd backend

python -m venv venv

source venv/bin/activate

Windows

venv\Scripts\activate

Install

pip install -r requirements.txt

Run

uvicorn app.main:app --reload

Frontend

cd frontend

npm install

npm run dev

πŸ”‘ Environment Variables

Create a .env

DATABASE_URL=your_database_url

NITRO_API_KEY=your_api_key

NITRO_URL=your_nitro_endpoint

πŸ“‘ API Endpoints

Method Endpoint Description
POST /api/upload Upload Documents
POST /api/analyze Credit Analysis
POST /api/chat AI Assistant
GET /api/history Analysis History
GET /api/reports Reports
DELETE /api/reports/{filename} Delete Report
GET /api/health Health Check

πŸš€ Future Enhancements

  • Account Aggregator Integration
  • GST API Integration
  • UPI Transaction Analysis
  • EPFO Integration
  • Explainable AI Dashboard
  • Multi-language Support
  • Real-time Credit Monitoring

πŸ‘¨β€πŸ’» Team

Developed for the IDBI Bank Hackathon.


πŸ“„ License

This project is developed for educational and hackathon purposes.

CreditPilot

ec50954c92ace6c75b1a36f2b2a8096d96a19b4b

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors