Retrieval workbench
Harbour Mutual's documents, chunked the way each type needs, with the classification and access rights of each document carried onto every chunk. Ask a question as a role and see which chunks are found, which are withheld, and what the answer is grounded on.
What the assistant would be given
The patient was treated for a fractured left wrist and bruising to the knee after a fall.
From doc-medical-00107#1. The lab has no language model: this is the sentence of the best chunk the role may read that shares most words with the question, which is what a model would be asked to answer from.
Letters on the chunks: P public, I internal, C confidential, S special category. Chunks are scored with BM25, a keyword score, so every answer here can be checked; assistants in production usually rank by embeddings, vectors that put similar meanings close together, but the access rules work the same way.
| Rank | Chunk | Classification | Score | Outcome |
|---|---|---|---|---|
| 1 | doc-medical-00107#1 Injuries |
special category | 6.03 | leaked: used although Analyst may not read it |
| 2 | doc-board-q3#1 Results |
confidential | 4.11 | used in the answer |
| 3 | doc-claims-guideline#4 Closing a claim |
internal | 1.15 | used in the answer |
| 4 | doc-faq#3 How long does a claim take? |
public | 1.15 | not needed |
| 5 | doc-faq#1 How do I report a claim? |
public | 1.12 | not needed |
| 6 | doc-home-wording#4 Making a claim |
public | 0.86 | not needed |
| 7 | doc-claims-guideline#3 Water claims |
internal | 0.66 | not needed |
| 8 | doc-claims-guideline#1 First notice of loss |
internal | 0.65 | not needed |
| 9 | doc-home-wording#1 What is covered |
public | 0.65 | not needed |
| 10 | doc-claims-guideline#2 Setting the reserve |
internal | 0.55 | not needed |
| Document type | Chunking | Metadata | Readers | Chunks |
|---|---|---|---|---|
| policy wording | by section, split again at the size limit | product, version, section |
Claims handler, Analyst, Finance, Customer chatbot | 4 |
| handling guideline | by section, split again at the size limit | owner, version, section |
Claims handler, Analyst, Finance | 4 |
| claim note | the whole note as one chunk | claim, author, section |
Claims handler, Analyst | 2 |
| medical report | by section, split again at the size limit | claim, source, section |
Claims handler | 2 |
| board pack | fixed-size windows with the overlap | period, owner, section |
Analyst, Finance | 2 |
| customer FAQ | one chunk per question | audience, version, section |
Claims handler, Analyst, Finance, Customer chatbot | 3 |
Used in
- Chapter 11 · Ontologies and knowledge graphs
- Chapter 22 · Classification, privacy and security controls
- Chapter 33 · Data for generative AI
- Chapter 34 · AI-ready information foundations
- Chapter 44 · Stage 7: AI pilot under pressure
Glossary: ChunkEmbeddingRetrieval-augmented generationClassification