Skip to content
Vibhrav Jha.Let’s talk

Private-Data RAG

Public proof of the retrieval workflow behind VDart

Original VDart workflow
Under 24 hoursFrom about 2 weeks for enterprise first-draft preparation. This public demo is a sanitized adaptation.

My contributionImplemented the retrieval workflow and adapted the demonstration for public use.

FieldML & AI / Data Engineering

View repository

Public sanitized demonstration

AI-generated concept illustration of source documents connected to retrieved evidence and an answer

Concept illustration Β· command-line retrieval pipeline. This image is generated concept artwork.

The work
behind the interface.

Demonstrates the retrieval workflow behind my VDart application, where first-draft preparation fell from about two weeks to under 24 hours. I adapted the public version to exclude confidential assets.

  • Python
  • IBM Docling
  • Sentence-Transformers
  • ChromaDB
  • Ollama
  • Hugging Face

The result

An inspectable document-to-answer demonstration. The enterprise workflow’s adoption and turnaround results appear under VDart.

The problem

A public adaptation of my enterprise proposal work, showing how document structure, retrieval and generation fit together. It demonstrates the workflow with confidential company material excluded.

A decision worth examining

Preserve meaningful document units before embedding rather than treating chunk size as the only retrieval choice.

The approach

Docling converts documents for ingestion, Sentence-Transformers embeds the retrieval units, and ChromaDB stores them for similarity search. A CLI supports questions through local Ollama or Hugging Face model paths. The important decision is what enters retrieval: preserving a complete question-and-answer pair keeps the business context attached to the answer.

A closer look.

Interface details and context from the project.

Private-Data RAG architecture from documents through Docling, embeddings and ChromaDB to an answer
Explanatory architecture of the implemented command-line retrieval pipeline.

Read the README.

View original README
READMEArchitecture, setup and usage

πŸ“š RAG Assistant for Private Enterprise Data

RAG Assistant is a modular, production-grade Retrieval-Augmented Generation (RAG) pipeline tailored for private enterprise documents like RFPs, RFIs, whitepapers, and contracts. The system uses intelligent document conversion, semantic embedding, and a local vector store (ChromaDB) to enable intelligent document Q&A powered by LLMs (via Ollama or HuggingFace).

Note ⚠: While this code mirrors the functionality and structure of the original project, the actual implementation has been adapted to exclude confidential assets. It is intended to demonstrate technical understanding and design ability without breaching data privacy agreements.


🌍 Why This Project?

In the world of automation, I felt some tasks can be easily automated like filling RFI/RFP's and Drafting pitch-decks

  • Real-world parsing of enterprise documents
  • Vector storage with semantic search
  • Interfacing multiple LLM types (local + cloud)
  • Answering domain-specific questions with retrieved context

⚑ Key Features

  • βœ… Multi-format support: Handles Excel, PDF, Word (via Docling)

  • 🧠 Semantic Retrieval: Uses Sentence-Transformer for vector embeddings

  • πŸ‘ Flexible LLM Integration:

    • πŸ€– Ollama (offline inference via LLaMA)
    • πŸ’‘ HuggingFace (optional, free alternative)
  • πŸ” Private-by-default: No external calls unless you choose to

  • ⏳ Interactive CLI: Real-time document question answering


πŸ“‚ Directory Structure

rag-assistant/
β”œβ”€β”€ rag_assistant.py         # Main class + pipeline logic
β”œβ”€β”€ data/
β”‚   └── sample_rfi.xlsx          # Sample enterprise RFI
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md

πŸ“† Setup Instructions

1. Install Requirements

pip install -r requirements.txt

2. Pull LLM model (if using Ollama)

ollama pull llama3:latest
ollama serve  # Ensure Ollama server is running

3. Run the Assistant

python rag_assistant.py

πŸ”„ My Workflow Summary

+--------------------------+
|  Raw RFI / RFP Document |
+--------------------------+
            |
            v
+--------------------------+
|  Structured Markdown     |
|  via Docling Parser      |
+--------------------------+
            |
            v
+--------------------------+
|  Q&A Chunk Extraction    |
+--------------------------+
            |
            v
+--------------------------+
|  Vector Embedding        |
|  (MiniLM or INSTRUCTOR)  |
+--------------------------+
            |
            v
+--------------------------+
|  Store in ChromaDB       |
+--------------------------+
            |
            v
+--------------------------+
|  Query + Retrieval       |
+--------------------------+
            |
            v
+--------------------------+
|  Context-aware Response  |
|  via LLM (Ollama/ HF)    |
+--------------------------+

πŸ”Ž Example Interaction

> What is the legal name of the company?
VDart Inc

> How many US locations does it operate?
15 (based on retrieved RFI chunk)

πŸ’Ό Technologies Used


πŸš€ UPDATES!

  • Web UI with Streamlit or Flask
  • Retrieval scoring and ranking
  • Add authentication for internal usage
  • Support real-time document ingestion via API

Before It Breaks

  1. Aranyaka wildlife-image application interface

    Fullstack

    Aranyaka

  2. DermaNet hackathon prototype showing classification output and a generated explanation

    ML & AI

    DermaNet

  3. AI-generated concept illustration of source documents connected to retrieved evidence and an answer

    ML & AIViewing

    Private-Data RAG

  4. Before It Breaks dashboard separating real weather from synthetic equipment telemetry and estimated costs

    ML & AI

    Before It Breaks

  5. Architecture diagram of simulated stock records flowing through Kafka to HDFS

    Distributed Systems

    Stock Streaming Engine

  6. Vyaya dashboard with clearly labeled synthetic demonstration data

    Fullstack

    Vyaya

  7. Study assistant interface with retrieved source context

    ML & AI

    Fine-Tuning vs. RAG

  8. Architecture diagram of NOAA data, a Cassandra cluster and a query service

    Distributed Systems

    Distributed Weather Data System

  9. Distributed Property Lookup Service project image

    Distributed Systems

    Distributed Property Lookup Service

  10. Architecture diagram connecting MySQL, a gRPC service and HDFS storage

    Distributed Systems

    HDFS & SQL Pipeline

  11. Architecture diagram of Spark processing, SQL and analysis

    Distributed Systems

    Spark Analytics

  12. Multi-Source ELT Pipeline project image

    Data Engineering

    Multi-Source ELT Pipeline

  13. Wisconsin schools in their geographic context β€” explanatory architecture diagram

    Data Engineering

    GCP Geospatial Pipeline

  14. Chinook Music Store SQL Analytics project image

    Data Engineering

    Chinook Music Store SQL Analytics

  15. Yelp Geospatial Analytics project image

    Data Engineering

    Yelp Geospatial Analytics

  16. E-Commerce Semantic Search Engine project image

    Data Engineering

    E-Commerce Semantic Search Engine

  17. Retail Sales Forecasting project image

    ML & AI

    Retail Sales Forecasting

  18. Making tool dependencies inspectable β€” explanatory architecture diagram

    ML & AI

    AI Agent Tool Dependency Graph

  19. From public records to operational questions β€” explanatory architecture diagram

    Data Engineering

    Palantir Foundry and AIP Build Challenge

  20. StudyFlow study-session dashboard

    Fullstack

    StudyFlow

  21. Habit Command Center planning dashboard

    Fullstack

    Habit Command Center

  22. Interfaces across web and mobile β€” explanatory architecture diagram

    Fullstack

    React Web & Mobile

  23. Startup Scout project image

    Fullstack

    Startup Scout

  24. Inventory-Based Recipe Planner project image

    Fullstack

    Inventory-Based Recipe Planner

  25. Concurrent Word Count and Performance Benchmarking project image

    Data Engineering

    Concurrent Word Count

  26. Data structures matched to their assumptions β€” explanatory architecture diagram

    Computing Foundations

    Algorithm Design

  27. Campus Navigator project image

    Fullstack

    Campus Navigator

  28. i-Songly: Song Management Engine project image

    Fullstack

    i-Songly

  29. An experiment that can resume β€” explanatory architecture diagram

    ML & AI

    CIFAR-100 with LeNet

  30. Fashion-MNIST Neural Network Classifier project image

    ML & AI

    Fashion-MNIST Classifier

  31. PCA Eigenfaces and Image Reconstruction project image

    ML & AI

    PCA Eigenfaces

  32. Two routes to the same regression objective β€” explanatory architecture diagram

    ML & AI

    Lake Mendota Ice Regression

  33. Bayesian Language Detection project image

    ML & AI

    Bayesian Language Detection

  34. Explanatory diagram of the video-fingerprint benchmark: 25 sources, 75 transformed variants and 1,875 comparisons.

    ML & AI

    Video-Fingerprint Benchmark

All projects