All cases
AI document search implementation // technical corpus

AI search over technical documents: grounded RAG with page citations

A technical specialist needs more than a plausible answer. They need the source file, page and exact value or condition. The AI Geologist preserves file provenance, searches by terms and meaning, and validates every citation on the server before returning the answer.

Index
7,465 searchable chunks
Documents
204 files and 126 source records
Retrieval check
Expected document in the top 10 for 21 of 23 questions

What the system returns

A user asks a plain-language question and receives an answer with a document title, page, sheet or slide. Complex questions are split into multiple retrieval topics. Missing evidence for one part produces a clarification or refusal. A client report uploaded to the system does not automatically become a normative source.

Document pipeline

  1. 01Download the file and preserve its source URL, MIME type, size and SHA-256.
  2. 02Extract PDF, Word, Excel or PowerPoint structure; run OCR only for weak pages.
  3. 03Create chunks with page, sheet, cell range or slide addresses.
  4. 04Build lexical and semantic indexes.
  5. 05Generate only from retrieved evidence and validate citations on the server.

Why retrieval uses two channels

FTS5/BM25 handles order numbers, references and exact terms. Embeddings retrieve paraphrases. Reciprocal Rank Fusion and metadata filters combine both rankings.

A complex question becomes two to four independent subqueries. Missing evidence for one step blocks a complete answer.

exact terms → FTS5 / BM25
plain-language question → embeddings
rankings → RRF → evidence set
claims → citation validation → answer

Preventing invented citations

The model may select only known chunk IDs. The server verifies that each ID exists, belongs to the stated document and contains the quoted text. An unknown citation, an uncited claim or a changed number forces a refusal.

Document text is treated as untrusted data. An instruction embedded in a PDF cannot change system rules or request a secret.

Numbers and document currency

A narrow water-withdrawal calculation runs in deterministic Decimal code. The model identifies explicit inputs, while the formula, substitution and result remain auditable.

A document being present in an official catalog does not prove that the edition is currently valid. That requires a separate status registry and verification source. A domain specialist still confirms critical conclusions.

Sources and links

SYSTEM: ONLINE // V.1.1
FIT-BOTPRIVACYCOPYRIGHT 2025-2026
SYS: COOKIE

We use technical cookies (Cloudflare) so the site works correctly. Privacy Policy