Home / Insights / Generative AI and LLMs

Generative AI and LLMs

Preparing Company Documents for AI Knowledge Search: An Ingestion, Permissions and Freshness Checklist

Most of the effort in enterprise knowledge search goes into the documents, not the model. This checklist covers what to decide and prepare before ingestion starts, so answers are accurate, current and only visible to the right people.

TopicsGenerative AI and LLMsBusiness Operations and Integration

Key takeaways

  • Inventory sources and owners first; a collection without an owner becomes stale content the assistant keeps quoting.
  • Parsing quality decides answer quality. Tables, scanned pages and slide decks need specific handling.
  • Carry source permissions into the index and filter at query time, then test as real user roles.
  • Define freshness per collection and handle deletions explicitly, not only new and changed files.
  • Add metadata such as effective date, document type and region so retrieval can prefer current, relevant versions.

An AI knowledge assistant can only be as reliable as the documents behind it. When a pilot disappoints, the root cause is often found in ingestion: a scanned contract that produced garbled text, a policy table flattened into an unreadable line, three versions of the same handbook competing for attention, or a folder that the assistant can see but half the company should not.

This checklist is what we work through with clients before building enterprise knowledge search. It applies whether content lives in SharePoint, Google Drive, Confluence, a file share or a mix. If you are earlier in the journey and still deciding whether an internal assistant is worth building, start with our guide on how to build an internal AI knowledge assistant.

1. Inventory sources, owners and scope

Before any connector is written, list every collection you plan to include and record the following for each one.

FieldWhy it matters
System and location (site, space, drive, share path)Determines connector and authentication approach
Business ownerSomeone must confirm content is current and approve inclusion
Approximate volume and formatsDrives parsing effort, OCR needs and indexing time
Sensitivity levelDecides whether it belongs in phase one at all
Permission modelInherited site permissions, item-level sharing, groups
How often it changesSets the sync schedule

Be deliberate about scope. A first release covering two well-maintained collections with clear owners will usually outperform one that indexes every drive in the organisation. Archive folders, personal drives and abandoned project spaces add noise and risk without much benefit.

2. Parsing: getting clean text out of real documents

Parsers convert files into text the system can chunk and embed. The quality varies enormously by format, and errors here are invisible until someone gets a wrong answer.

Formats that need special attention

  • Scanned PDFs and images. Need OCR. Check output on a sample, especially for low-quality scans, stamps, handwriting and multi-column layouts.
  • Tables. Rate tables, eligibility matrices and specification sheets lose meaning when flattened. Preserve row and column relationships, for example by converting each row into a sentence or keeping a structured representation.
  • Slide decks. Text is fragmented across shapes; speaker notes may hold the actual explanation.
  • Wiki pages. Navigation, macros and boilerplate should be stripped so they do not dominate retrieval.
  • Spreadsheets. Often better served by a structured query tool than by text retrieval.

A simple quality gate

Pick a sample from each collection and compare the parsed text with the original side by side. If a person cannot answer a question from the parsed text, the model will not either. Fixing parsing early is far cheaper than chasing mysterious answer failures later. For heavier document workflows such as forms and invoices, see AI document processing: use cases, costs and human review.

3. Chunking and metadata

Documents are split into chunks before indexing. Splitting by fixed character counts is easy but often cuts a clause or procedure in half. Where documents have structure (headings, numbered clauses, FAQ entries), chunk along it and keep the heading path with each chunk so the passage makes sense on its own.

Metadata is what lets retrieval prefer the right passage among many similar ones. Useful fields include:

  • Document type (policy, procedure, contract, minutes, guide)
  • Effective date and status (current, draft, superseded)
  • Region, business unit or product line
  • Owner and last reviewed date
  • Source URL for citations that open the original

Effective date and status deserve emphasis. If an old and a new version of a policy are both indexed without status metadata, the assistant has no reliable way to know which to trust.

4. Permissions: carry them in, filter at query time

An assistant that reveals a salary review or board paper to the wrong person will be switched off, regardless of how good its answers are. The safest pattern is to capture access control information from each source during ingestion, store it alongside every chunk, and filter retrieval by the current user’s identity and groups at query time.

  • Map source groups to your identity provider groups and document the mapping.
  • Decide how quickly permission changes must take effect; some sources only expose them through separate APIs.
  • Exclude content with item-level sharing you cannot reliably read, rather than guessing.
  • Test with real user roles, including a contractor or new starter with minimal access.

Retrieval systems that apply filters after an approximate search can quietly return fewer results for restricted users. We discuss this in choosing a vector database for a permission-aware RAG product.

5. Freshness, updates and deletions

A key advantage of retrieval over fine-tuning is that changes in documents can be reflected without retraining a model. That only holds if synchronisation is designed properly.

Collection typeTypical freshness expectationSync approach
HR and policy librarySame day after publicationScheduled incremental sync; manual re-index on major releases
Technical runbooks and wikiWithin hoursChange notifications or frequent incremental sync
Contracts repositoryDailyNightly incremental sync
Archived project filesRarely changesOne-off ingestion with periodic checks

Deletions are the most commonly missed case. When a document is withdrawn or moved, its chunks must leave the index too, otherwise the assistant keeps citing it. Track source IDs, reconcile regularly, and log what was removed.

Readiness checklist before you build

  1. Each collection in scope has a named owner who has approved inclusion.
  2. Superseded and draft documents are excluded or clearly tagged.
  3. A parsed-text sample from every collection has been reviewed by a person.
  4. Tables and scanned documents have a defined handling approach.
  5. Permission mapping to identity groups is documented and tested.
  6. Freshness targets and deletion handling are agreed per collection.
  7. Data residency and hosting location for the index are confirmed with security.
  8. A set of real test questions exists for each collection (see building a test set for enterprise knowledge search).

If several items are unresolved, the first phase of work is content and access preparation, not model selection. That is normal, and planning for it avoids an impressive demo followed by a disappointing rollout.

Frequently asked questions

Which document formats can an enterprise knowledge search system handle?

PDF, Word, PowerPoint, HTML and wiki pages are common, and scanned files can be handled with OCR. Quality varies by format, so each collection should be sampled and checked after parsing.

Do we need to clean up our SharePoint or Drive before starting?

Not all of it. Scope the first release to well-maintained collections with owners, exclude archives and drafts, and tag effective dates. Broader clean-up can follow in later phases.

How are document permissions respected?

Access information is captured from each source during ingestion and stored with every chunk. Retrieval is filtered by the user’s identity and groups at query time, so answers only draw on documents that user can open.

How quickly do document changes appear in answers?

That depends on the sync design you agree per collection. Policies might sync daily, runbooks within hours. Deletions must also be synchronised so withdrawn documents stop being cited.

Are your documents ready for an AI knowledge assistant?

We can review your sources, permissions and formats and tell you what needs preparing before a knowledge search build starts.