OBLYTECH Logo
OBLYTECH Logo

Chunking Knowledge Articles for Retrieval Quality

Knowledge article chunking for retrieval typically works best when each passage answers a clear question and has enough context to stand alone. Build articles around tasks. Keep conditions next to instructions. Test chunk boundaries against real queries. Pick section length by how complete the answer is and by retrieval evidence, not by a fixed word count.

Each passage needs to answer one question a reader actually asks

Before you change a splitter, pick articles tied to poor search results. For each article, write the questions readers should be able to resolve. A request for a definition differs from a request for instructions, eligibility, troubleshooting, or an exception. These requests may share words but need different evidence.

Make a review sheet with the query, the expected answer, the article section that backs it, and the condition that could make that answer wrong. Include questions in everyday language as well as expert terms. Treat these as test cases your team chose. Do not assume they stand for the wider set of queries.

For example, an article about replacing a device might cover eligibility, request submission, collection, and disposal. A question about collection should lead to the collection procedure and its prerequisites. Retrieving a broad introduction about device replacement does not establish that the collection question has been answered.

Before you rewrite the knowledge base, agree on the intended question and name the content owner who is accountable.

The text reaching the retrieval pipeline needs inspection before chunking

Compare the extracted text with the published article. Check whether headings, list order, warning placement, and table relationships survive extraction. A well written article can lose its intended structure when the indexing input flattens it into an ambiguous stream of words.

Use a small inspection packet for each candidate article. It holds the original content, the extracted text, the proposed chunks, and the passages retrieved for the test questions. Keep these records together so reviewers can find the stage where meaning changed. Check the start and end of passages as closely as the middle sentences.

  • Find headings split from the paragraphs they describe.
  • Look for repeated navigation or footer text mixed into the answer.
  • Check whether table values keep their column labels and units.
  • Find references such as “this option” whose subject vanished during extraction.

Assign extraction defects to the ingestion work and editorial defects to the article owner. This stops authors from rewriting text again and again to make up for a parser problem. If terminology or sentence interpretation remains unclear, record it as a separate editorial issue instead of changing chunk boundaries to compensate.

Restructure sections around complete decisions

Give each section a clear purpose. Replace a heading such as “Additional information” with one that names the task or decision below it. Keep the article title broad enough to cover the whole subject. Then use lower headings to separate the questions within it.

Draft each section as a short answer unit. It has a scope, an instruction or explanation, and a check that tells the reader whether it worked. For an instruction, keep the needed prerequisite. For an exception, name the normal rule it changes. Do not force unrelated material into that unit just to hit a target length.

Keep conditions beside the action they govern

Keep the collection condition next to the collection steps, for example “Arrange collection after the replacement has arrived.” Ask a reviewer to read the passage alone and say when the action fits.

Split a long troubleshooting section at meaningful diagnostic branches. Give each branch its symptom, check, next action, and escalation condition. Keep the order of steps within a branch. Combining steps from different branches into a shorter paragraph can make the procedure harder to interpret.

Remove dependence on neighboring paragraphs

Swap vague references for the object you mean where the extra words prevent confusion. A passage that starts “Submit it after approval” needs a named request and a named approval. Use terms the same way across sections. State exceptions plainly instead of relying on nearby text.

For help planning this work, see AI and ML services.

Section length is set by answer completeness, not a fixed word count

Small passages can isolate a narrow answer but may lose needed context. Larger passages keep more of the surrounding material but bring in unrelated content. Heading boundaries and limited overlap are both worth comparing. Neither replaces checking whether a retrieved passage supports the intended answer.

Begin with a boundary rule that respects headings and full sentences. Set a maximum passage size that suits your setup, then inspect sections that go over it. Split long sections at a subtask or decision boundary. Review short sections before you merge them with neighbors.

Run separate comparisons for article restructuring and splitter changes. First compare the original and revised article with the same chunking rules. Then compare boundary choices using the revised article. Keep the query set, retrieval configuration, and evaluation method the same within each comparison so you can read the result.

Test overlap where a boundary splits a condition from its explanation. Look at what the repeated text adds. If results hold several near-identical passages, note whether that repeat crowds out a different supporting answer. Adjust overlap when you see failures. Do not treat duplication as proof of coverage.

Candidate chunking changes are judged on retrieved passages before rollout

Inspect retrieved passages before you judge the generated response. A fluent answer is insufficient evidence that the retriever supplied the right material. Record whether the expected passage appeared, where it appeared, and whether it held the condition needed to apply the answer correctly.

  1. Run the agreed questions against the baseline and candidate versions.
  2. Label the returned passages for relevance, answer completeness, and misleading omissions.
  3. Review failures by query type, including exceptions and troubleshooting branches.
  4. Compare the final answers for support in the retrieved text.
  5. Document regressions and decide which article types can go ahead.

Set acceptance criteria before you see the results. A team might require reviewers to find the right instruction and its eligibility condition together. It might reject a candidate that improves routine questions but fails on exceptions. These are project decisions to agree on, not universal thresholds.

Record the reader task the test stands for. Better passage retrieval is not the same as better task completion. Evidence for one does not prove the other without a matching check.

Keep a short failure note for each rejected result. Say whether the answer was missing, ranked below unrelated material, incomplete at the boundary, or contradicted elsewhere. Assign a next action that fits the failure: revise the source, repair extraction, adjust boundaries, or investigate ranking. After you choose the candidate, recheck a held-back set of questions so the review is not limited to examples used during editing. Have a second reviewer examine disputed labels and keep the reason for the final call.

Article and chunk ownership are kept together in one record

Where your setup allows it, keep an article identifier, revision reference, section heading, and access context with the indexing record. Use that trail to investigate a faulty passage and find which source revision produced it. Agree who owns editorial approval and who owns ingestion changes.

After an article revision, verify that its replacement passages appear and that obsolete passages are removed from the active retrieval path. Include a deletion test and a permission test in the maintenance review. Review how restricted knowledge is handled along with access checks and content quality.

Release changes in a bounded article group with a recorded baseline. Keep the previous content and indexing configuration on hand for a controlled rollback. Extend the approach when the review shows which failures were fixed and which still need editorial or engineering work.

Handle language, image text, summaries and conflicting articles

Test each language with questions written by people who understand its operational terminology. Ask reviewers to judge the meaning of instructions and exceptions. Do not treat a translated query as equal evidence. Keep language variants tied to their approved source versions.

For instructions shown in screenshots, ask the owner for a maintained text explanation of the information needed to finish the task. Review extracted image text before you use it in retrieval. A label without interface context may be unclear, so test the passage on its own.

Evaluate a generated summary as a separate representation requiring approval. Compare its conditions, exclusions, and action order with the article. Keep a traceable link to the underlying passage. Reject summaries that add instructions or drop needed qualifications.

Settle conflicting articles with the responsible knowledge owner before you widen retrieval coverage. Record the approved reading and revise or retire the conflicting material through the content process. A different chunk boundary cannot decide which instruction the organization wants readers to follow.