Knowledge Bot Handover From a Chinese Vendor: Indexes, Prompts, Docs

A clean handover between a buyer and a Chinese vendor building a rag bot runs in two directions. Before the build, the buyer hands over approved source material, business context, and the answer boundaries the bot must respect. At delivery, the vendor hands back the indexes and embeddings, prompt policies, configuration records, evaluation results, and documentation the buyer needs to operate, review, and later move the system. The source code handover position, ownership of delivered artifacts, and export formats should be settled in the contract before work begins, not negotiated after launch. This article covers what moves in each direction, what the returned indexes and metadata contain, how prompt policies should be documented, the code and ownership clauses that matter, and the handover checklist the buyer reviews at delivery.

What the buyer hands to the vendor before build

The pre-build handover starts with approved source documents: manuals, policies, FAQs, procedures, and parts or reference material the bot is allowed to index. Each document should carry its approval status, version, owner, and permitted use, so unreviewed drafts and internal-only material do not enter the corpus. The document ingestion inputs also include the segment structure: which topics belong to which audience, which sources are customer-facing, and which are internal-only and must stay out of a public bot.

Context and answer rules complete the buyer’s side: the topics the bot should answer, the topics that must escalate to humans, required disclaimers and approved phrasing, the languages to serve, and the audience tone. Real visitor or technician questions from support records help shape the evaluation set, and any prior feedback on which answers were wrong or unclear points to source gaps. Sensitive material and access categories should be identified up front, and the data-sharing agreement should cover how material is transmitted, stored during the build, and retained after delivery.

The pre-build handover should also record assumptions and constraints in writing. Target audience, expected traffic, deployment region, service hours, and any regulatory or compliance expectations the bot must meet set the scope the vendor builds to. If the buyer later adds a new market, a sensitive product line, or a second language after launch, that is a scope change rather than something the original handover implied. Recording these assumptions prevents disputes over whether a missing capability was part of the original agreement, and it gives the vendor a clear basis for the proposal and fixed-scope pricing.

What the vendor hands back at delivery

At handover the buyer should receive a complete package, not just a working bot on the vendor’s platform. The package covers the ingested source library and its records, the vector index and embeddings, the prompt policies and reply rules, configuration settings for retrieval and filters, the evaluation set and test results, operational documentation, and any code, scripts, or configuration the buyer owns under the agreement. Records should show which sources were indexed, their versions, and the refresh and deletion rules that apply after launch.

Each delivered artifact should be in a usable format the buyer can read or export, rather than locked inside a proprietary panel with no export. Documentation should explain what each configuration does, how to update a source, how to read the test results, and who to contact for operational issues. A handover that leaves the buyer dependent on the vendor’s private dashboard and undocumented settings carries lock-in risk, which the source code handover clauses are meant to address. The lock-in and ownership lines to raise with a builder are laid out in data ownership with a hosting vendor.

Timing of the handover matters. Deliverables should be staged: an early preview of extracted sources and chunk output for the buyer to review, an evaluation run before final tuning, and the full package at acceptance. A handover that arrives only at the end, after the bot has been live in the vendor’s environment for weeks, gives the buyer no chance to catch ingestion or policy problems while changes are still cheap. The contract should name these review milestones and what the buyer receives at each, so the handover is a process rather than a single final dump.

Indexes, embeddings, and metadata records

The returned index record should describe how the corpus was chunked, which embedding model and dimensions were used, and how the vector store is organized. Embeddings are tied to the embedding model that produced them; switching to a different model later requires re-encoding, and the handover should state whether vectors are exportable and whether re-encoding is supported or billed. Metadata records should link each chunk back to its parent document, version, segment, access category, and status, so an answer can be traced to its source.

Documentation should also cover the retrieval configuration: filters applied by segment and audience, hybrid search settings if used, confidence thresholds, and escalation rules. The buyer should be able to inspect a representative set of chunks and their metadata rather than taking the index on faith. Backup and archive copies should be described, along with what happens to derived indexes and cached material when a source is withdrawn. The ingestion rules behind these records are detailed in document ingestion rules for RAG vendors.

Migration readiness should be documented alongside the index records. If the buyer later moves to another platform, what must travel: source documents, chunks, metadata, embeddings or a plan to re-encode, the evaluation set, and prompt policy. Whether the vector store exports in a standard format, whether the embedding model can be reproduced, and what re-encoding would cost should be stated while the relationship is active, not requested after a dispute. Buyers should confirm whether custom connectors or scripts written for the original deployment are portable, and whether any vendor-specific data format blocks a later export.

Prompt policies and configuration documentation

The prompt policy is the set of rules that steer grounding, phrasing, disclaimers, refusal behavior, and escalation. It should be delivered as readable documentation: which instructions are fixed, what each guardrail does, which topics escalate, and how approved wording is applied. An opaque system prompt held only in the vendor’s model layer is a handover gap, because the buyer cannot review what the bot is allowed to say or amend it after delivery.

Configuration documentation should list the model endpoints in use, any prompt templates, retrieval and ranking settings, output checks, and the records retained per session. Version notes should show whether the vendor later changes the prompt policy or model, and who approves those changes. The evaluation set, expected answers, and scoring rubric should be included so the buyer can re-run acceptance checks after future updates. Guardrail and compliance positions being handed over are covered in legal compliance and content guardrails.

Source code handover and ownership clauses

The contract should state what counts as delivered code: custom ingestion scripts, retrieval adapters, connectors, prompt templates, deployment configuration, and any custom layer built for the buyer. Ownership should distinguish buyer-created material, vendor platform components, and open-source dependencies. If the buyer owns custom code, the handover includes source files, dependencies, setup notes, and build instructions; if the vendor retains the platform, the buyer still needs exportable data, indexes, prompts, and documentation to operate and to migrate later.

Clauses should cover what the vendor may not do with the delivered material: reuse buyer source or session data in shared indexes, train shared models, or repurpose custom prompts without written consent. Post-termination return and deletion terms should state the format and period for returning documents, chunks, vectors, session records, and evaluation sets, and what copies are retained after the window. Licenses for any third-party components bundled in the deliverable should be disclosed, so the buyer knows which open-source terms apply after handover. A fixed-scope build should list the handover package as part of the original deliverable, not a paid extra requested at the end.

Handover review checklist

The delivery review checks the package against the contract. Source records: approved documents indexed, versions and metadata present, restricted material excluded. Index records: chunking, embedding model, metadata traceability, export format documented. Prompt policy: rules readable, guardrails explained, escalation topics listed. Evaluation: set, rubric, and results delivered and reproducible. Code and configuration: owned files, dependencies, setup notes, and ownership clauses present. Operational docs: update steps, refresh cycle, contacts, and exit instructions clear.

A walkthrough with the vendor should run through a source update, a test evaluation run, and an export of sample records, confirming the documented steps actually work. Gaps found at review should be listed with owners and closure dates before acceptance is signed. The handover record becomes the baseline for later audits, updates, and any future migration. A knowledge bot handed over with traceable indexes, documented prompt policies, clear ownership clauses, and complete operational material leaves the buyer in control; one delivered only as a live service on the vendor’s side carries the cost and risk of dependence after the relationship changes.

After handover, a named internal owner should hold the documentation and review records. The vendor’s retainer should state who performs routine source updates and regression runs, what the buyer can change without vendor support, and how urgent corrections are routed. Training for that internal owner should be part of the delivery: how to read the dashboard, add an approved source, review a flagged answer, and interpret the evaluation results. Without an internal owner who understands the handed-over package, even a complete handover decays into reliance on the vendor’s support channel over time, and the original ownership position loses its practical value.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *