Preparing company documents for AI: versions, access and conflicts
Before connecting company documents to AI, choose one operational question, an authorized set of sources and an owner responsible for keeping them current. Each document needs a stable reference, a version, a review date and an intended audience. Have the process owner resolve ambiguous rules first. A chatbot should not decide which of two approved but conflicting policies overrides the other.
Start with the question and the access boundary
Document preparation determines which information may be used. Choosing a chatbot, retrieving passages and evaluating answers are subsequent tasks.
- One process
- For example, answering employee questions about business travel. List 10-20 typical questions, who needs the answers and which decisions remain with a person. The suggested question count is a starting point for a first phase, not an accuracy standard.
- Existing tools first
- Check the search and permissions in your current knowledge base or company repository. If they meet the need, a separate system may be unnecessary. An AI feature does not by itself establish that the required permissions are preserved.
- An acceptable outcome
- Answers should reference an authorized, current source. Missing rules or conflicting sources need a clear refusal to conclude and an escalation path to the responsible owner.
A useful first deliverable is an agreed source list with explicit exclusions. You can review it before choosing a model or uploading the entire file repository.
Create a record for each source
The register connects information to a person authorized to approve it. An ordinary spreadsheet and a few documents from one process are enough to begin.
- Identity and location
- A stable document ID, an original-source reference, format and acquisition method. Each passage remains linked to its document and version. A filename or an arbitrary page number is not a reliable substitute.
- Owner and version
- The responsible owner, approval state, version, effective date and supersession link. The date a file was copied is not the date its policy took effect.
- Review and audience
- Last review, next review date, authorized reader groups and permission to use the source. Mark unknown rights, confidential information and documents containing personal data separately.
- Change detection
- A checksum can identify a content change or an exact copy. It does not establish correctness, authorship or permission to disclose a document to a particular employee.
The public enquiry form only needs a task description and document categories. Real contracts, customer lists, credentials and internal exports are unnecessary for an initial discussion.
Resolve duplicates and conflicts before indexing
Show why each record is included, excluded or waiting for review. Do not automatically prefer a file just because it was modified more recently.
- A superseded version
- Retain its link to the replacement and its end-of-validity date. Exclude old rules from ordinary current-policy questions. Historical search requires separate rules and an explicit reference date.
- An exact copy
- Choose a canonical source and preserve the copy-to-original link. Compare audience and permissions as well: identical text does not authorize moving a restricted document into a general collection.
- Two current but conflicting policies
- Flag both and assign an owner to resolve the conflict. A later timestamp is insufficient grounds for independently revoking an approved rule.
- Deletion or revoked access
- Separately verify that affected passages leave search and that access is rechecked. Removing a source file does not itself prove that its search copy has disappeared.
Azure AI Search documents distinct query-time permission checks and deletion-detection mechanisms. These are product-specific examples, not a promise that every RAG service behaves the same way.
Check readable content, tables and permissions
A file being present does not establish that its contents can be used correctly. Content preparation and access enforcement require separate checks.
- Text and structure
- Verify headings, paragraphs, lists and units. A table must preserve the connection between each value, its row and column, the applicable period and its notes. Compare extracted content with the original.
- An image-only scan
- Extract or manually prepare its text, then reconcile it. This article provides no evidence that OCR or a model will recognize your documents at any particular accuracy.
- Permissions during retrieval
- Check authorization before passages reach the model, including titles and references. Hiding an interface button does not replace server authorization. Test revoked permissions and changed employee groups separately.
- Restricted-use information
- Route the source to its data owner for review. Use fictional or authorized anonymized materials for demonstrations. A register flag does not replace agreement on processing conditions.
Test an authorized reader, an unauthorized employee, a permission change and a deleted source. Retaining an old answer in conversation history and retrieving a source again are different situations.
A fictional register: 14 sources and inspectable decisions
The archive contains entirely fictional text files, a CSV register, Python 3 and expected output. It checks preparation rules locally, without a model, OCR, repository connection or actual search index.
- 2 ready for the selected audience
- The current travel policy and the general FAQ have owners, approval, a current review, readable text and employee access. This is readiness under the example rules, not a legal assessment.
- 7 require review
- An owner is missing, a review is overdue, two rules conflict, use rights are unknown, readable text is absent or the source contains restricted-use information. Every row has an explicit reason.
- 5 excluded from this collection
- A superseded version, a declared exact copy with matching rights, a payroll-only source, a draft and a deleted source. A payroll document might belong in a separately authorized collection, but not the general one.
- Changes are planned only
- Of four fictional previously indexed IDs, one remains. The plan adds the FAQ and removes three IDs: an old version, a conflicting policy and a deleted source. Running again from the proposed state produces no additions or removals.
The conflict is declared in the register; the script does not discover natural-language contradictions. It checks checksums, reasons and expected ID sets. It does not measure AI answer quality, execute deletion or validate permissions in your real systems.
Download the register, fictional documents and validation, ZIP
What to verify before connecting AI
Agree inspectable acceptance criteria for the selected process. A file-upload success message is not a sufficient outcome.
- Every source is explainable
- Every included record has an owner, version, authorized audience and original reference. Exclusions and disputed records can be found by reason, not only as an aggregate count.
- Restrictions are reproducible
- Employees receive only authorized documents and passages. Restricted titles, links and quotations must not leak into answers either. Test revocation as well as initial access.
- Changes reach the result
- New versions replace old ones under an agreed rule. Deleted sources and revoked permissions no longer appear in new retrievals. Monitor update delay, errors and responsibility for resolving them.
- Answers have a separate evaluation
- After preparation, use questions with known supporting sources, citations and refusal cases. A register check cannot be presented as model accuracy or measured employee time savings.
Begin with a small authorized set. Volume, answer quality, human review time and operating cost need separate measurement in an agreed pilot.
First-phase scope and cost drivers
The initial discussion is free. A full audit, data preparation, pilot, implementation and support have separately agreed scope and price.
- Bring to the discussion
- One process, user groups, formats and approximate source count, repository locations, change frequency and owners. A fictional structural sample is enough to start.
- Agree the deliverables
- A source register with decisions, exclusions, version and access rules, update and deletion scenarios, acceptance questions and boundaries for the next phase. Choose implementation after checking existing tools.
- What affects cost
- Scans and tables, multiple repositories, unclear rights, conflicting rules, frequent changes, manual reconciliation and infrastructure requirements. File count alone is insufficient for a reliable estimate.
This guide concerns source preparation. Chatbot architecture, hosting choice and extracting invoice fields are separate tasks. The downloadable archive does not describe a client deployment.
Prepare one source collection
Describe the process, document categories and authorized reader groups. A fictional example is enough for the initial discussion. Agree how to share real materials separately.
Official sources
Checked 10 November 2026. Referenced for permission and deletion examples. Verify the capabilities, restrictions and availability of the chosen stack separately.