Case studyLocal government servicesQ4 2025 · 3 monthsPublic procurement & purchasing

RAG4AO

Augmented search for tenders — intelligently compare CCTP specification documents by theme

Discuss a similar project

Réponse courte

RAG4AO is a retrieval-augmented (RAG) search platform developed by Digit-AI for teams responding to public tenders. It automatically analyzes CCTP specifications across 12 thematic dimensions (social clauses, regulations, services…) using 12 distinct FAISS vector indexes. The result: the time to find similar tender precedents drops from 2–4 hours to under 2 minutes (−98%), with analysis coverage multiplied by 4 to 6.

Context

Context & Challenges

A manual, time-consuming process dependent on individual memory

Teams responding to public tenders handle hundreds of heterogeneous CCTP specifications (PDF, DOCX, TXT). Each new tender must be manually compared with previous ones to identify similarities, build on past responses and assess whether a bid is worthwhile — an entirely manual, time-consuming and untracked process.

!

Inefficient document search

No tool makes it possible to quickly retrieve past CCTP specifications similar to a new tender.

!

Knowledge loss

Expertise is held by a few specialists, with no structured capitalization or traceability.

!

Superficial analysis

Comparison is done on the tender title or subject, with no thematic granularity (social clauses, regulations, services…).

!

Longer decision time

Between a tender being published and the go/no-go decision, teams waste valuable time searching for previous tenders.

Functional scope

Tender response managers, project leads, purchasing/sales management. Covered processes: batch indexing of the corpus, similarity search, history consultation, multi-tenant administration.

Key constraints

Partitioned multi-tenant architecture · Strict GDPR (no external download) · Volume of hundreds to thousands of CCTP specifications · Lightweight Docker infrastructure compatible with Railway and on-premise.

Objectives

Objectives & Scope

Three levels of objectives, each tied to a measured KPI

Strategic objective

Reduce tender decision time by providing fast, structured document comparison organized by theme.

KPI: go/no-go time ÷3

Operational objective

Automate the thematic analysis of CCTP specifications across 12 business dimensions: title, summary, buyer, social/environmental clauses, scope, stakes, sites, services, regulations, criteria, resources, duration.

KPI: 12/12 themes with no manual inputKPI: < 5 s per document (single mode)

Technical objective

Deploy a containerized multi-tenant platform (Docker) with FAISS vector search, with no service disruption and without downloading the original documents.

KPI: 99.5% availabilityKPI: search < 500 ms
Stack

Tech Stack

A multi-thematic RAG architecture with 12 distinct FAISS indexes

Frontend

React 19TypeScript 5.8Vite 7Tailwind CSS 4Radix UIFramer Motion

Backend

FastAPI 0.123Python 3.9+Pydantic 2Uvicorn

LLM & Embeddings

GPT-4o-miniOllama (Mistral 7B)all-MiniLM-L6-v2E5-base multilingual

Vector search & NLP

FAISS CPU (IndexFlatIP)IndexHNSWFlatYAKE!KeyBERT

Documents & Data

pypdfPyMuPDFdocx2txtPandasNumPy

Infrastructure

DockerDocker ComposePostgreSQL 16NginxRailwayJWT + OAuth 2.0

Differentiating pattern — multi-thematic RAG: unlike a classic single-index RAG, RAG4AO maintains 12 distinct FAISS indexes (one per theme). Each document is broken down into 12 facets by the LLM, each facet is vectorized and indexed separately. Search is performed theme by theme, offering a granularity and explainability impossible with a monolithic index.

Architecture

Architecture Diagrams

Application-level overview and detailed indexing pipeline

RAG4AO application architecture — Operator, React frontend, AI agent, NLP pipeline, FAISS, PostgreSQL
Results

Results, Gains & ROI

Measured gains across the entire tender response cycle

−98%
Time to find tender precedents
2–4 h → 30 s–2 min
×4 to ×6
Analysis granularity
2–3 criteria → 12 themes
3–5 s
Indexing time per document
Single mode
2–4 months
Time to return on investment
IndicatorBefore RAG4AOAfter RAG4AOGain
Time to find tender precedents2–4 hours per tender (manual)30 seconds to 2 minutes~98% reduction
Thematic coverage2–3 criteria (title, subject, amount)12 themes analyzed automatically×4 to ×6
Search response timeN/A10 to 30 secondsUltra fast
Usable documentsDozens (individual memory)Hundreds to thousands (full corpus)×10 to ×100
Batch indexing capacityN/A~500–700 documents/hourNew process

Qualitative gains

💡

Explainability

Results structured by theme: users understand why two documents are similar (same social clauses, same services, same regulations…).

🧠

Knowledge capitalization

The indexed corpus builds a lasting organizational memory, independent of individuals and accessible to the entire team.

Error reduction

Automatic analysis across 12 dimensions prevents oversights: undetected environmental clauses, missed regulatory requirements…

🔒

Data sovereignty

Ollama option (local LLM such as Mistral or Deepseek) for 100% on-premise processing, with no data leaking to third-party APIs. GDPR-compliant.

📈

Scalability

Multi-tenant architecture enabling onboarding of new entities without redeployment. SuperAdmin / CompanyAdmin / User roles.

🎨

Easy adoption

Modern React 19 interface, dark/light mode, Tailwind CSS 4. An experience close to mainstream search engines.

Let's start by talking it through

No aggressive sales pitch. No 12-step form. Just 30 minutes to understand your situation and see if we can help. First conversation free, no strings attached.