[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-697396-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-697396-en":130,"doc-similar-697396":160},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","making-ai-search-work-lessons-from-the-field-on-rag-in-production","Making AI Search Work - Lessons from the Field on RAG in Production","","Making AI Search Work - Lessons from the Field on RAG in Production explains how to design an AI search system that actually reaches production using RAG. It organizes practical guidance into four layers: data indexing and ingestion, information retrieval, answer generation, and performance and cost at scale. It highlights structure-aware chunking, chunk enrichment with HyDE, intent routing to specialist agents, and authority and freshness scoring. Real-world failure modes are contrasted with deployment patterns that improve accuracy, trust, and reliability for retrieval-to-generation quality.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/making-ai-search-work-lessons-from-the-field-on-rag-in-production/697396/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/making-ai-search-work-lessons-from-the-field-on-rag-in-production/697396.png","ImageObject",300,407,{"name":42,"@type":43},"Hazel","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-11-11",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What are the four layers required for a production-ready AI search system using RAG?","Question",{"text":63,"@type":64},"The four layers are data indexing & ingestion, information retrieval, answer generation, and performance & cost at scale. Each layer constrains the next, so neglecting any layer prevents production success.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Why does flat fixed-size chunking often fail for structured documents?",{"text":68,"@type":64},"Flat chunking detaches meaningful structure like headings from bodies, table rows from captions, and clauses that reference items (e.g., “Article 7”) without showing what the referenced article says. The resulting chunks are not independently meaningful.",{"name":70,"@type":61,"acceptedAnswer":71},"How does intent routing improve retrieval quality and system cost?",{"text":72,"@type":64},"Intent routing classifies query intent before retrieval and sends each query to a specialist agent, such as definitional, version-aware, or exacttext handlers. It improves accuracy and reduces cost by avoiding expensive retrieval techniques when they are unnecessary.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},697396,1794438309,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":33,"preview_urls":145},137441390410,"https://ap-avatar.wpscdn.com/avatar/2000252f4ab5702993?_k=1776741390130283984","Making AI Search Work  \nLessons from the Field on RAG in Production  \nBy Matt Willsmore  \nPrincipal Architect, Pureinsights  \nIntroduction  \nFour layers. One system. Get any layer wrong and production never happens.  \nBuilding a working AI search system is harder than most organizations expect. This playbook is drawn from Matt Willsmore's June 2026 Pureinsights SIG presentation, bringing together lessons from real customer engagements across retail, publishing, and manufacturing to show where AI search implementations consistently succeed — and where they quietly fail.  \nIt's organized around four layers that build on each other: index quality sets the ceiling for retrieval, and retrieval sets the ceiling for generation.  \nWatch the full session →  \nMaking AI Search Work — Lessons from the Field on RAG in Production  \nThe Four Layers of AI Search  \nEach Layer Sets the Ceiling for the Next  \nGetting one layer right while neglecting the others produces a system that may never make it to production.  \n1. Data Indexing & Ingestion — how content is parsed and chunked  \n2. Information Retrieval — how the right content gets found  \n3. Answer Generation — how retrieved content becomes a trustworthy answer  \n4. Performance & Cost at Scale — how the system holds up in production  \n“The quality of indexing sets the ceiling for retrieval —and retrieval sets the ceiling for generation.”  \n-Matt Willsmore, Pureinsights  \n1. Data Indexing and Ingestion  \nFlat Chunking Breaks Structure  \nMost implementations start with flat, fixed-size chunking —splitting every N tokens regardless of content.  \nFor legislation, technical standards, and product documentation, this ignores structure that matters: a heading separated from its body, a table row detached from its caption, a clause referencing “Article 7” with no indication of what Article 7 says.  \nThe resulting chunks are not independently meaningful.  \nStructure-Aware Chunking  \nAlign Chunk Boundaries With Document Structure  \nModern parsing tools like Docling and Llamaparse can parse using native structure— HTML heading levels, DOCX outline levels, XML schemas — keeping headingsand their bodies together.  \n• Use structure-aware parsing (or vision models) to group related content  \n• Add parent-child references so the system can expand context at query time  \n• Index tables as both structured data and natural-language summaries  \n• Use vision models to caption diagrams at ingest time  \nChunk Enrichment  \nGive Sparse Content More to Work With  \nShort clauses and definition rows embed poorly because they lack vocabulary. Generating a synthetic question or summary for sparse chunks at index time — a technique called HyDE (Hypothetical Document Embeddings)—expands the retrieval surface without altering the underlying chunk.  \nApply it selectively to short clauses, table rows, and definitions, or globally as needed.  \n2. Information Retrieval  \nOne Retrieval Strategy Isn't Enough  \nA single approach works for most queries — but not all. Some need exact text (a legal definition, a verbatim provision); dense vector retrieval approximates meaning and doesn't guarantee lexical accuracy.  \nSome need the freshest version of a document — a superseded regulation ranking alongside a current one creates real liability and safety risk.  \nIntent Routing  \nClassify the Query Before You Retrieve  \nThe key architectural move is classifying query intent before retrieval and routing each query to a specialist agent — definitional queries to a term-glossary agent, archival queries to a version-aware agent, citation queries to an exacttext agent. Classification costs milliseconds and adds no perceptible latency.  \n• Consistently the single change with the largest accuracy improvement across deployments  \n• Also reduces cost by avoiding expensive retrieval techniques where they aren't needed  \nAuthority & Freshness  \nOfficial, Current Documents Should Win  \nAuthority scoring adds document freshness — using “valid from”/","cbCailLDvGka0SUS","https://ap.wps.com/l/cbCailLDvGka0SUS","pdf",852630,21,"English","# Introduction\n# The Four Layers of AI Search\n## Each Layer Sets the Ceiling for the Next\n# 1. Data Indexing and Ingestion\n## Flat Chunking Breaks Structure\n## Structure-Aware Chunking\n## Chunk Enrichment\n# 2. Information Retrieval\n## One Retrieval Strategy Isn't Enough\n## Intent Routing\n## Authority & Freshness","[{\"question\":\"What are the four layers required for a production-ready AI search system using RAG?\",\"answer\":\"The four layers are data indexing \\u0026 ingestion, information retrieval, answer generation, and performance \\u0026 cost at scale. Each layer constrains the next, so neglecting any layer prevents production success.\"},{\"question\":\"Why does flat fixed-size chunking often fail for structured documents?\",\"answer\":\"Flat chunking detaches meaningful structure like headings from bodies, table rows from captions, and clauses that reference items (e.g., “Article 7”) without showing what the referenced article says. The resulting chunks are not independently meaningful.\"},{\"question\":\"How does intent routing improve retrieval quality and system cost?\",\"answer\":\"Intent routing classifies query intent before retrieval and sends each query to a specialist agent, such as definitional, version-aware, or exacttext handlers. It improves accuracy and reduces cost by avoiding expensive retrieval techniques when they are unnecessary.\"}]","Making AI Search Work - Lessons from the Field on RAG in Production | PDF",53,[146,150,153,157],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c9517af700ad15178fcd7117f11d6c7d.webp",983,552,{"page_no":26,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/9a57eb48434683529618765f2b9c8f20.webp",982,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/807b11fac898fc1e74e3e622e095ed03.webp",981,551,{"page_no":33,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/76b97883f969572c0a10106c4857adc9.webp",980,{"list":161,"token":11},[162,169,176,183,190,197,204,210,216,223],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":167,"category_name":29,"create_tm":168},129567,"RAG in Practice - Building AI Apps That Answer From Real Data","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229842237691/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=63Pyr53yh2%2B4bBlQION%2FtdDF4oU%3D","rag-in-practice-building-ai-apps-that-answer-from-real-data",36,1786106613,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":29,"create_tm":175},701572,"Building Production-Ready AI Agents with LlamaIndex - From First Query to Multi-Agent Systems - A Practical Guide for Python Developers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011609397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=H3UIaVHdh6WzgcwONJ%2Bf2p8sIyY%3D","building-production-ready-ai-agents-with-llamaindex-from-first-query-to-multi-agent-systems-a-practical-guide-for-python-developers",14,1794533229,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":29,"create_tm":182},682280,"Startup technical guide - AI agents - How to build, use, and scale","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998475801/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=XlNRlEV9WPtdh4G%2BEvAoDyZugvA%3D","startup-technical-guide-ai-agents-how-to-build-use-and-scale",15,1793964970,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":29,"create_tm":189},686336,"The Ollama Assistant Handbook - Build a Personal AI Assistant Locally - From Installation to Production Deployment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999818282/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=xRLL5yFpYkqKDl4ttieMYyYZDP0%3D","the-ollama-assistant-handbook-build-a-personal-ai-assistant-locally-from-installation-to-production-deployment",17,1794037344,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":29,"create_tm":196},298397,"Personalized Job Recommendation Engine - System Architecture and Execution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905803891/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=mabTlWPOf6RnByK%2Fpt3%2Bu4VVOk8%3D","personalized-job-recommendation-engine-system-architecture-and-execution",12,1789756860,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},115755,"Systems Thinking for Agentic AI - A Software Architect’s Guide to Building Reliable LLM and Agent Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831929552/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=6j5Ub6ToDSsPVkAfQm5OEsO2yeE%3D","systems-thinking-for-agentic-ai-a-software-architects-guide-to-building-reliable-llm-and-agent-systems",262,1785476399,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":127,"category_name":29,"create_tm":209},289939,"DAT 494 - Advanced Deep Learning - Course Flyer","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903024518/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=cpwgY7JyVtl6hEe2nWj05%2FpMoCA%3D","dat-494-advanced-deep-learning-course-flyer",1789638588,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":115,"category_name":29,"create_tm":215},656104,"DiagramFlyer - A Search Engine for Data-Driven Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975300602/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=4VjU%2BM9RlqQrcNLkuZud2wMdUE4%3D","diagramflyer-a-search-engine-for-data-driven-diagrams",1792966438,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":29,"create_tm":222},128967,"Designing the AI-Driven Data Foundations - Architecture, Principles, and Practice","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840699685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=0nEwHDt21395%2BBXjTusf2Co9KCs%3D","designing-the-ai-driven-data-foundations-architecture-principles-and-practice",92,1786006760,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":33,"category_name":29,"create_tm":228},726375,"RelativityOne - Searching Guide - October 2, 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028540800/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109479&Signature=33c3hFKQWag%2FL7yxLHlHY2ChTa0%3D","relativityone-searching-guide-october-2-2026",1795212419]