Eliminating internal documentation sprawl across SharePoint and network shares with secure, source-grounded hybrid retrieval.
For mid-market engineering and operations teams, critical knowledge is rarely located in a single, well-structured directory. In this engagement, the client’s operational guidelines, server modernization runbooks, and software API documentation were scattered across three SharePoint sites, a Confluence instance, and isolated local network folders.
As a result, engineers spent an average of 45 minutes finding accurate technical procedures during active systems outages. In addition, onboarding new technical staff took up to six weeks because of knowledge discovery friction.
The client's security officers and data stewards established three non-negotiable boundaries before any code was written:
We bypassed standard character-count text splitting—which frequently breaks code blocks and tables—to deploy a custom, semantic, layout-aware parser in Python. The custom parser groups paragraphs based on document heading structures, preserving parent headers and hierarchical outlines as metadata for every chunk.
For retrieval, we configured a hybrid search pipeline combining dense vector embeddings (using Azure OpenAI's text-embedding-3-large) with BM25 keyword matching. To prevent model hallucination, we enforced a strict retrieval similarity threshold and structured the system prompt to require inline citation anchors (e.g., [DocumentName.pdf, Page 12]) for every factual claim in the response.
Below is the system architecture showing how documents are securely ingested and how user queries are processed and verified within the client's Azure network boundary.
This layout ensures that no unauthenticated user can access restricted documentation, and every single LLM call is tracked for cost, latency, and token footprint.
We executed this project in a 4-week fixed-scope sprint. We worked directly as senior partners, with daily check-ins on Slack and weekly iterations demonstrating working code directly in the client's Azure staging environment. Because we bypass administrative layers and junior engineers, we moved from blueprint draft to a fully functional pilot in 20 engineering days.
Ingestion is 90% of RAG: Standard recursive text splitting degrades the usability of tables and code blocks. Layout-aware chunking (e.g. keeping table rows linked to table headers) is essential for retrieval correctness.
System prompts aren't enough: Enforcing strict retrieval distance ceilings (relevance thresholds) is the only way to reliably force the model to output "I do not know" instead of generating convincing hallucinations when documentation is missing.
Find out how a secure, citation-first knowledge copilot can fit into your Microsoft 365 or Azure environment.
Discuss a similar implementation