Skip to content

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ NEXORA AI

AI-Powered Construction Procurement & Supply Chain Intelligence Platform

NEXORA is an AI-powered Construction Procurement & Supply Chain Intelligence Platform that automates document understanding, procurement intelligence, and decision-making using Retrieval-Augmented Generation (RAG), FAISS Vector Search, and Llama 3.2 (Ollama).

Built for the Kaya AI India Hackathon 2026.


✨ Features

  • πŸ“„ PDF Document Upload
  • πŸ” AI Document Search
  • 🧠 Retrieval-Augmented Generation (RAG)
  • πŸ“š FAISS Vector Database
  • πŸ€– Local LLM using Ollama (Llama 3.2)
  • πŸ“‘ OCR-ready Document Processing
  • πŸ“Š Procurement Intelligence
  • ⚠️ Vendor Risk Analysis
  • πŸ“¦ Purchase Order & Invoice Understanding
  • πŸ’¬ AI Procurement Copilot

πŸ—οΈ Tech Stack

Frontend

  • React
  • TypeScript
  • Vite
  • Tailwind CSS

Backend

  • Python
  • Flask
  • Flask-CORS

AI & Machine Learning

  • Sentence Transformers
  • FAISS
  • Ollama
  • Llama 3.2

Document Processing

  • PyMuPDF
  • Recursive Text Splitter

πŸ“‚ Project Structure

NEXORA
β”‚
β”œβ”€β”€ backend
β”‚   β”œβ”€β”€ routes
β”‚   β”‚   β”œβ”€β”€ upload.py
β”‚   β”‚   └── rag.py
β”‚   β”‚
β”‚   β”œβ”€β”€ services
β”‚   β”‚   β”œβ”€β”€ pdf_reader.py
β”‚   β”‚   β”œβ”€β”€ embeddings.py
β”‚   β”‚   └── rag_engine.py
β”‚   β”‚
β”‚   β”œβ”€β”€ uploads
β”‚   β”œβ”€β”€ vectorstore
β”‚   β”œβ”€β”€ app.py
β”‚   └── config.py
β”‚
β”œβ”€β”€ src
β”‚
└── README.md

βš™οΈ Installation

Clone Repository

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

cd NEXORA

Install Backend

cd backend

pip install -r requirements.txt

Install Frontend

npm install

πŸ€– Install Ollama

Download

https://ollama.com/download

Pull Llama 3.2

ollama pull llama3.2

Run

ollama run llama3.2

▢️ Run Backend

cd backend

python app.py

Backend

http://127.0.0.1:5000

▢️ Run Frontend

npm run dev

Frontend

http://localhost:5173

πŸ”Œ API Endpoints

Health

GET /health

Upload PDF

POST /upload

Form Data

file : document.pdf

Index Document

POST /index
{
    "filepath":"uploads/document.pdf"
}

Ask AI

POST /ask
{
    "question":"What is NEXORA?"
}

πŸ”„ AI Workflow

Upload PDF
      β”‚
      β–Ό
Extract Text
      β”‚
      β–Ό
Split into Chunks
      β”‚
      β–Ό
Generate Embeddings
      β”‚
      β–Ό
Store in FAISS
      β”‚
      β–Ό
User Question
      β”‚
      β–Ό
Semantic Search
      β”‚
      β–Ό
Relevant Context
      β”‚
      β–Ό
Llama 3.2 (Ollama)
      β”‚
      β–Ό
AI Answer

πŸ“Έ Demo

Upload Document

  • Upload Procurement PDF
  • Upload Invoice
  • Upload Purchase Order

AI Query Examples

What is NEXORA?

Summarize this document.

What technologies are used?

What is the future roadmap?

What features does NEXORA provide?

How does NEXORA help construction companies?

πŸš€ Future Roadmap

  • ERP Integration
  • SAP Integration
  • BIM Support
  • AI Contract Review
  • Predictive Cost Analytics
  • Vendor Recommendation Engine
  • Multi-language OCR
  • Mobile Application
  • Construction Digital Twin

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

Ashish Kumar

IIT Madras BS Degree Programme

Python β€’ Flask β€’ AI β€’ RAG β€’ LLM β€’ FAISS β€’ React


πŸ“„ License

This project is licensed under the MIT License.


⭐ If you like this project

Give this repository a ⭐ on GitHub.

About

AI-powered Construction Supply Chain Copilot for the Kaya AI India Hackathon 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages