POST /datasets/{dataset_id}/retrieve Request body: { "query": "What is the out-of-hours callout charge on an Extended cover contract?" } Status: 200 Response body: { "query": { "content": "What is the out-of-hours callout charge on an Extended cover contract?" }, "records": [ { "segment": { "id": "6cbc7e60-824f-4f1a-912f-4378f4ecebf2", "position": 20, "document_id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "content": "Where an engineer attends on two consecutive days, the second day is\r\ncharged at the day rate rather than as a second callout.\r\n12. Callout and attendance charges\r\nAll figures in pounds sterling, excluding VAT.\r\nCover level Weekday callout Out-of-hours callout Offshore day rate\r\nStandard 216 352 1,140\r\nExtended 284 487 1,265\r\nCritical 331 615 1,408\r\nOut-of-hours means any call answered outside 08:00 to 18:00, Monday to Friday, and any call answered on a statutory non-working\r\nday.", "sign_content": null, "answer": null, "word_count": 485, "tokens": 124, "keywords": [], "index_node_id": "624d063b-9d1e-43c4-bb66-819b4e92277a", "index_node_hash": "e4a353565886ce2a16a19c5b3aee50cd18fc89db5b019768a0fc9c0407925965", "hit_count": 0, "enabled": true, "disabled_at": null, "disabled_by": null, "status": "completed", "created_by": "f1034bbd-04df-4592-ba22-56dac49ae8ad", "created_at": 1789752844, "indexing_at": 1789752846, "completed_at": 1789752852, "error": null, "stopped_at": null, "document": { "id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "data_source_type": "upload_file", "name": "A01_field_service_policy_and_charges_uk.pdf", "doc_type": null, "doc_metadata": { "region": "uk" } } }, "child_chunks": [], "score": 0.638875, "tsne_position": null, "files": [], "summary": null }, { "segment": { "id": "bcf35ffe-678c-4186-a234-06dea5a663b9", "position": 19, "document_id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "content": "Fenwake Instruments Ltd - Field Service Policy and Charges (United Kingdom)\r\nFenwake internal - service operations Page 7\r\nPart B - Charges outside cover\r\n11. How to read this part\r\nThe charges below apply to work that falls outside the cover level a customer holds: attendance the\r\ncontract does not include, work in the exclusions at section 9, and any attendance a customer requests at\r\nshort notice. Work inside cover is not charged.\r\nA callout is charged once per visit.", "sign_content": null, "answer": null, "word_count": 475, "tokens": 102, "keywords": [], "index_node_id": "13a385f8-7af6-4e99-99df-fbcf15d110d1", "index_node_hash": "1458cfd61679a541c63c84f44b6be48854d17498db7976a679109f3d6d601819", "hit_count": 0, "enabled": true, "disabled_at": null, "disabled_by": null, "status": "completed", "created_by": "f1034bbd-04df-4592-ba22-56dac49ae8ad", "created_at": 1789752844, "indexing_at": 1789752846, "completed_at": 1789752852, "error": null, "stopped_at": null, "document": { "id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "data_source_type": "upload_file", "name": "A01_field_service_policy_and_charges_uk.pdf", "doc_type": null, "doc_metadata": { "region": "uk" } } }, "child_chunks": [], "score": 0.5561111, "tsne_position": null, "files": [], "summary": null }, { "segment": { "id": "7b0e6aea-05b6-4ff2-8a7b-3b6bccc09d8c", "position": 11, "document_id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "content": "Fenwake Instruments Ltd - Field Service Policy and Charges (United Kingdom)\r\nFenwake internal - service operations Page 4\r\n6. Out-of-hours cover\r\nOutside business hours the service desk is not staffed. A duty engineer rota covers every hour of the year,\r\nand the out-of-hours number in section 8 pages the engineer on call.\r\n6.1 Acknowledgement out of hours\r\nA Priority 1 fault reported outside business hours is acknowledged by a named duty engineer within 90\r\nminutes of the ticket being raised.", "sign_content": null, "answer": null, "word_count": 497, "tokens": 109, "keywords": [], "index_node_id": "e1986a2a-fed8-495a-9708-32868eafcf9d", "index_node_hash": "aa50a25f15237961fc62beba875e803a5c89ffe93eca4d0cef68aead9165e452", "hit_count": 0, "enabled": true, "disabled_at": null, "disabled_by": null, "status": "completed", "created_by": "f1034bbd-04df-4592-ba22-56dac49ae8ad", "created_at": 1789752844, "indexing_at": 1789752846, "completed_at": 1789752852, "error": null, "stopped_at": null, "document": { "id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "data_source_type": "upload_file", "name": "A01_field_service_policy_and_charges_uk.pdf", "doc_type": null, "doc_metadata": { "region": "uk" } } }, "child_chunks": [], "score": 0.54502857, "tsne_position": null, "files": [], "summary": null }, { "segment": { "id": "5fec9cf6-6529-4f76-bcf9-544b17a45b75", "position": 13, "document_id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "content": "Where\r\nthe fault cannot be cleared remotely, attendance is arranged under section 5 from the start of the following\r\nworking day, except on Critical cover, where the duty engineer may authorise attendance immediately.\r\n6.3 Priority 2 and Priority 3 out of hours\r\nPriority 2 and Priority 3 tickets raised outside business hours are queued and acknowledged when the\r\nservice desk opens. The business-hours targets in section 4 then apply from opening.", "sign_content": null, "answer": null, "word_count": 449, "tokens": 91, "keywords": [], "index_node_id": "eca28231-cf47-4e62-a65f-f73f7bffa504", "index_node_hash": "b1b8e3725a4c9a28bc45fc748757f068a67a7dac6729b3f4db678c68d036ac82", "hit_count": 0, "enabled": true, "disabled_at": null, "disabled_by": null, "status": "completed", "created_by": "f1034bbd-04df-4592-ba22-56dac49ae8ad", "created_at": 1789752844, "indexing_at": 1789752846, "completed_at": 1789752852, "error": null, "stopped_at": null, "document": { "id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "data_source_type": "upload_file", "name": "A01_field_service_policy_and_charges_uk.pdf", "doc_type": null, "doc_metadata": { "region": "uk" } } }, "child_chunks": [], "score": 0.48112106, "tsne_position": null, "files": [], "summary": null } ] } --- Reviewer follow-up (2026-09-25): retrieval alone returns the whole table in one passage, so 487 and its three decoys are all present and Dify never demonstrably picks the cell itself. Reran the same query through the R6-managed-rag-chatbot app (generation surface) over the same SS-v1 knowledge base. POST /chat-messages Request body: { "query": "What is the out-of-hours callout charge on an Extended cover contract?", "inputs": {}, "user": "tc87-retest", "response_mode": "blocking" } Status: 200 Response body: { "event": "message", "task_id": "c3797643-d300-479c-9029-fbc293ed1469", "id": "d9896ad6-265d-4cf9-b335-9728a4c61451", "message_id": "d9896ad6-265d-4cf9-b335-9728a4c61451", "conversation_id": "7f3eb179-6f82-4fa3-a13b-82132e8b8d3a", "mode": "chat", "answer": "£487 (excluding VAT).", "metadata": { "annotation_reply": null, "retriever_resources": [ { "position": 1, "dataset_id": "084fc635-481f-4970-bf09-299c83eca3c2", "dataset_name": "R6-managed-rag-ss-v1", "document_id": "0eeae560-0e74-44e9-aaee-2cc6b599dee8", "document_name": "A01_field_service_policy_and_charges_uk.pdf", "data_source_type": "upload_file", "segment_id": "6cbc7e60-824f-4f1a-912f-4378f4ecebf2", "retriever_from": "api", "score": 0.638875, "content": "Where an engineer attends on two consecutive days, the second day is\r\ncharged at the day rate rather than as a second callout.\r\n12. Callout and attendance charges\r\nAll figures in pounds sterling, excluding VAT.\r\nCover level Weekday callout Out-of-hours callout Offshore day rate\r\nStandard 216 352 1,140\r\nExtended 284 487 1,265\r\nCritical 331 615 1,408\r\nOut-of-hours means any call answered outside 08:00 to 18:00, Monday to Friday, and any call answered on a statutory non-working\r\nday.", "doc_metadata": {"region": "uk"} }, {"position": 2, "document_name": "A01_field_service_policy_and_charges_uk.pdf", "score": 0.556111}, {"position": 3, "document_name": "A01_field_service_policy_and_charges_uk.pdf", "score": 0.545029}, {"position": 4, "document_name": "A01_field_service_policy_and_charges_uk.pdf", "score": 0.481121} ], "usage": { "prompt_tokens": 521, "completion_tokens": 189, "total_tokens": 710, "total_price": "0.0025413", "currency": "USD", "latency": 6.5128159780288115 } }, "created_at": 1790279408 } Generated answer: "£487 (excluding VAT)." -- the model itself selected the Extended/Out-of-hours cell, not 352 (Standard), 615 (Critical), or 284 (Extended/Weekday). All 4 retriever_resources positions 1-4 come from the same document/passage as the original retrieval run; nothing new was retrieved, only the generation step is new.