{"atlas":{"skills":[{"id":"agentic-rag","name":"Agentic RAG","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Agentic RAG gives an agent control over when and how to retrieve information before answering. Instead of always running one fixed search, the system can choose a source, refine a query or retrieve again when evidence is insufficient, with explicit limits on the actions and resources available to it.","type":"concept","editorial":{"definition":"Retrieval-augmented generation combines external evidence with model generation. In an agentic design, retrieval is exposed as a tool or decision-controlled step. The model may answer a simple request directly, search a document collection, inspect a result and decide that another query is necessary. A controller retains the current question, evidence and actions across those steps. The term is an architectural category rather than a single algorithm: implementations differ in how they select tools, assess evidence and stop. A fixed multi-stage retrieval pipeline can be sophisticated without being agent-controlled.","practice":"The practitioner defines the retrieval tools, their access boundaries and the decision policy for using them. State records preserve the original question and previously gathered evidence so iterative searches do not drift. Evaluation tracks task completion, unnecessary searches, evidence coverage and total cost. A maximum step or time budget provides a stopping condition. Useful artifacts include the control graph, tool contracts and traces that reveal why retrieval happened or was skipped. Retrieval quality and agent decision quality are tested separately where possible.","example":"An assistant is asked whether a product can be installed in a humid warehouse. It first searches the installation manual, then finds an environmental rating but no humidity limit. It follows a reference to the warranty conditions and retrieves a second passage before answering. A greeting does not trigger either search. The system preserves both source versions and stops with an explicit uncertainty if the second document still lacks the requested limit, instead of treating more searches as progress by themselves.","limits":"An agent can choose the wrong collection, rewrite away a constraint or repeatedly search without finding new evidence. Model-based relevance checks can share the generator's errors. Extra steps increase latency and complicate debugging, so agentic RAG should be compared with a simpler retrieval baseline. Authorization must be enforced by tools, and retrieved instructions remain source content. More autonomy is useful only when the decision policy improves evidence gathering under the application's constraints.","sources":[{"title":"Build a custom RAG agent with LangGraph","url":"https://docs.langchain.com/oss/python/langgraph/agentic-rag","note":"Demonstrates conditional retrieval, document grading and query rewriting in an agent control graph."}],"updatedAt":"2026-10-10"}},{"id":"multimodal-rag","name":"Multimodal RAG","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Multimodal RAG retrieves evidence from more than one media type, such as text, images, audio or video, and supplies usable evidence to a generative model. The engineering challenge is preserving the information carried by each medium while linking retrieval results to their source location and the question being answered.","type":"concept","editorial":{"definition":"A multimodal collection can be indexed through extracted text, captions, media embeddings or a mixture of representations. A query may be textual even when the relevant evidence is a chart or video frame. The retrieval stage returns source items or regions, and the generation stage must receive a representation the selected model can interpret. This differs from merely attaching an image to a prompt: RAG includes searching a collection for evidence. Cross-modal embedding and vision-native retrieval are possible mechanisms, while OCR-based document retrieval is another, with different information losses and operational costs.","practice":"The practitioner maps each question type to the media evidence it needs. Ingestion records document pages, image regions or timestamps and retains originals for verification. Retrieval tests distinguish locating the right item from interpreting it correctly. Generation checks verify that citations point to the actual supporting page or segment. Useful artifacts include the media representation pipeline, source locator schema and annotated queries. Comparing text-only and multimodal approaches helps establish whether the additional complexity improves answers that depend on visual or acoustic information.","example":"An engineering assistant searches maintenance slides containing diagrams and a recorded training session. A question about valve order retrieves a diagram page and the video segment where the technician demonstrates the sequence. The answer references the diagram and timestamp rather than only a generated caption. Tests include a slide whose text labels are correct but whose arrows reverse the order, checking whether the system uses the visual relationship instead of answering from nearby words alone.","limits":"Captions and OCR can omit layout, small labels or temporal relationships, while media embeddings may retrieve a visually similar but irrelevant item. Large media inputs can also increase cost and processing time. A cited image is not proof that the answer interpreted it correctly. Quality requires media-specific ground truth and inspection of source regions. Implementations differ, so multimodal RAG should be described by its actual representations and retrieval behavior rather than assumed to be uniformly more capable.","sources":[{"title":"ColPali: Efficient Document Retrieval with Vision Language Models","url":"https://arxiv.org/abs/2407.01449","note":"Presents visual document representations and retrieval as one concrete multimodal retrieval approach."},{"title":"Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks","url":"https://arxiv.org/abs/2005.11401","note":"Establishes the retrieval-plus-generation architecture extended by multimodal systems."}],"updatedAt":"2026-10-10"}},{"id":"query-optimization","name":"Query Optimization","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Query optimization for retrieval transforms a user's request into search inputs that are more likely to find relevant evidence. It can resolve references, expand terminology, decompose a question or generate a hypothetical passage, while preserving the original intent and testing whether the transformation actually improves retrieval.","type":"concept","editorial":{"definition":"A user's wording may not match the vocabulary or structure of an indexed collection. Query rewriting can express the same request using domain terms; expansion adds related search terms; decomposition creates subqueries for separate evidence needs. HyDE is a specific approach that generates a hypothetical answer-like document and embeds it as a retrieval query. These methods operate before or during retrieval rather than changing database execution plans, another meaning of query optimization. They can be implemented with rules or language models, and their output is a search representation, not verified evidence.","practice":"The practitioner records original and transformed queries, evaluates retrieved items against relevance labels and checks intent preservation. Transformation policies should preserve identifiers, dates, negation and other decisive constraints. Multiple query results need deduplication and a documented fusion rule. A direct-query baseline reveals whether the added call is worthwhile. Useful artifacts include the rewriting prompt or rules, examples of harmful rewrites and retrieval scores by question type. Generated hypothetical content should never be presented as a source that supports the final answer.","example":"A user asks why a particular machine keeps losing pressure after the evening cycle. A rewrite introduces the machine's documented term for the pressure-maintenance subsystem while preserving the evening condition and model identifier. A second query targets error logs. The system compares retrieved troubleshooting passages with those from the original request. If a rewrite drops the evening condition and retrieves a generic pressure fault, it is treated as a failed transformation despite returning many plausible documents.","limits":"Expansion can dilute a precise request, and a fluent rewrite can introduce a premise the user never supplied. Hypothetical documents may steer retrieval toward an imagined answer. Additional queries also consume latency and can inflate apparent recall by returning too much irrelevant material. Quality should be measured on the evidence ultimately used, with particular attention to rare terms and constraints. A transformation is valuable when it improves relevant retrieval while retaining the question's meaning.","sources":[{"title":"Precise Zero-Shot Dense Retrieval without Relevance Labels","url":"https://arxiv.org/abs/2212.10496","note":"Introduces HyDE and explains hypothetical-document representations for retrieval."}],"updatedAt":"2026-10-10"}},{"id":"self-reflective-rag","name":"Self-Reflective RAG","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Self-reflective RAG adds decisions that assess retrieved evidence or generated answers and use that assessment to retrieve again, revise or stop. Self-RAG and Corrective RAG are specific research approaches within this space; ordinary reflection instructions alone do not reproduce their trained mechanisms or evaluation claims.","type":"concept","editorial":{"definition":"A retrieval pipeline can fail because evidence is irrelevant, incomplete or poorly used. Self-reflective designs introduce signals that assess these stages. Self-RAG trains a model to emit reflection tokens governing retrieval and evaluating passages and generation. Corrective RAG uses a retrieval evaluator and corrective actions when retrieved evidence is unreliable. Other applications use a separate judge or programmed checks. The common idea is feedback controlling the retrieval–generation process, but the implementations differ in training, critique representation and fallback behavior. These differences matter when attributing a claimed result.","practice":"The practitioner identifies which failure a check is intended to detect and validates that check against independently labeled examples. A control policy specifies the response to low relevance, unsupported claims or missing evidence, including step limits. Traces retain critique decisions and the passages they evaluated. The artifact should name the actual mechanism rather than label every retry loop Self-RAG. End-to-end evaluation compares the reflective system with the same retriever and generator without correction, including costs and errors introduced by mistaken critiques.","example":"A product assistant retrieves passages about a similarly named model. A relevance check detects that the identifier differs and requests a new search with the exact model code. After generation, a support check finds that the answer's temperature limit has no matching passage and removes it or retrieves further evidence. In evaluation, reviewers inspect both cases where correction helped and cases where the checker wrongly rejected valid material. The system is judged on supported answers, not the number of reflective steps it performs.","limits":"A model's critique is fallible and may agree with its own unsupported answer. Repeated reflection can add confident wording without new evidence, while overstrict checks discard useful passages. Research mechanisms requiring trained reflection tokens cannot be assumed to emerge from a generic prompt. The correction policy needs an abstention path and resource limit. Independent validation of the evaluator is as important as evaluation of the generator it is intended to improve.","sources":[{"title":"Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection","url":"https://arxiv.org/abs/2310.11511","note":"Defines trained reflection tokens and adaptive retrieval and generation decisions."},{"title":"Corrective Retrieval Augmented Generation","url":"https://arxiv.org/abs/2401.15884","note":"Describes retrieval evaluation and corrective actions as a distinct approach."}],"updatedAt":"2026-10-10"}},{"id":"embedding-models","name":"Embedding Models","category":"Embeddings","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Embedding models map inputs such as words, passages or images to numerical vectors whose geometry supports a task. For search, useful representations place relevant queries and documents in compatible regions; selecting or adapting an embedding model therefore requires evaluation of relevance, language coverage and the intended comparison function.","type":"concept","editorial":{"definition":"An embedding is a learned representation rather than a database record identifier or a guarantee of semantic equivalence. A model encodes an input into a vector, which can be compared using cosine similarity, inner product or distance according to the model's design. Query and document encoders may share weights or use different instructions and training roles. Representations can serve retrieval, clustering or classification, but performance in one task does not establish quality in another. Training or adaptation typically uses examples that bring desired pairs together and separate less relevant alternatives.","practice":"The practitioner chooses a model compatible with input length, language and deployment constraints, then measures retrieval on realistic queries and relevance labels. It records tokenization, truncation, normalization and the exact model version. Changing the embedding model generally requires re-encoding indexed content and reconsidering similarity thresholds. Fine-tuning needs representative positive and negative pairs with a held-out evaluation. The artifact includes an encoding pipeline and benchmark against lexical or existing retrieval, making it clear whether the representation captures the distinctions important to the application.","example":"An equipment knowledge base contains abbreviations and near-identical model names. A generic embedding model retrieves documents about the wrong variant, so the team compares a domain-adapted model and a hybrid lexical–dense baseline. Evaluation asks whether passages with the exact variant and relevant procedure rank highly, including queries written with informal terminology. If domain tuning improves broad topical matches but loses identifier precision, the final design retains lexical constraints rather than assuming better semantic vectors solve every retrieval need.","limits":"Similarity scores do not directly measure truth or calibrated relevance probability. Models can encode unwanted biases, truncate decisive text or poorly represent rare identifiers. Mixing vectors from incompatible models makes distances unreliable even if dimensions match. Public benchmarks also may not reflect a private task's languages or vocabulary. Good selection combines representative relevance tests, operational measurement and explicit model versioning instead of choosing solely by vector size or a general leaderboard.","sources":[{"title":"Sentence Transformers usage","url":"https://www.sbert.net/docs/sentence_transformer/usage/usage.html","note":"Explains embedding generation, similarity and task-specific model use."},{"title":"Dense Passage Retrieval for Open-Domain Question Answering","url":"https://arxiv.org/abs/2004.04906","note":"Primary account of learned query and passage representations for retrieval."}],"updatedAt":"2026-10-10"}},{"id":"neo4j","name":"Neo4j","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Neo4j is a graph database that represents data as nodes, relationships and properties and supports queries over those connections. In AI applications, the skill includes modeling entities and relationships, writing reliable graph queries and deciding when explicit graph structure adds value beyond document or vector retrieval.","type":"tool","editorial":{"definition":"A property graph stores entities as nodes and typed relationships between them, with properties on both. Neo4j's Cypher language expresses patterns such as finding components connected to a supplier or traversing a dependency chain. Indexes and constraints support efficient lookup and data integrity. This is different from an embedding store, whose main operation compares vector representations, although graph and vector capabilities can coexist. A knowledge graph built in Neo4j additionally requires meaningful entity identities, relation semantics and provenance; the database alone does not supply those modeling decisions.","practice":"The practitioner defines labels, relationship types, identifiers and constraints before ingesting data. Query tests verify both results and traversal boundaries, especially where cycles or high-degree nodes can expand work. Application access is restricted to allowed operations, and natural-language-generated Cypher is validated before execution. Useful artifacts include the graph schema, ingestion mapping, tested queries and source provenance. Performance evaluation uses representative graph shapes rather than only small examples, since a query that looks simple can touch many relationships in a real collection.","example":"A maintenance assistant needs to explain which machines are affected by a recalled component. The graph links component batches to assemblies and installed machines. A query follows those typed relationships and returns affected machine identifiers with source records. The language model summarizes the query result but does not invent links from textual similarity. When an installation record is missing, the answer distinguishes an unknown dependency from a machine verified to use another component.","limits":"Incorrect entity merging or poorly defined relationships can produce confidently wrong traversals. Graph queries also require attention to cardinality, privileges and query cost. Neo4j is a particular database implementation, while knowledge graphs and GraphRAG are broader modeling and application approaches. Choosing it should follow a demonstrated need for connected-data queries and operational requirements. A graph structure does not make extracted facts true or remove the need to maintain their provenance.","sources":[{"title":"Get started with Neo4j","url":"https://neo4j.com/docs/getting-started/","note":"Official explanation of property graphs, Cypher and database modeling concepts."}],"updatedAt":"2026-10-10"}},{"id":"ai-grounding-citations","name":"AI Grounding & Citations","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"AI grounding connects an answer to evidence the system can inspect, while citations identify where particular claims are supported. The skill combines evidence selection, claim attribution and source presentation, so a reader can distinguish a supported statement from an inference or a claim for which the available material is insufficient.","type":"concept","editorial":{"definition":"A grounded response conditions generation on relevant external material rather than relying only on information encoded in model weights. A citation should connect a statement to a source passage, page or other inspectable location. Merely appending a document title or link does not establish support: the cited material must entail the relevant claim, with qualifiers and scope preserved. Grounding and citation are related but separable. An answer may use evidence without exposing it, or display citations that fail to support what the text says. Both behavior and attribution therefore require evaluation.","practice":"The practitioner retains source identifiers and passage locations during retrieval, asks for claim-level attribution and validates references against supplied material. Review checks whether a citation exists, whether it supports the statement and whether important statements lack support. Conflicting or outdated sources require an explicit handling policy. Useful artifacts include an attribution schema, annotated claim–passage pairs and an interface that opens the relevant evidence. Generated interpretations should be identified as interpretations when the source does not state the conclusion directly.","example":"A policy assistant answers whether employees may carry unused leave into a new year. It retrieves the policy section, states the allowed conditions and cites the exact passage. A separate source describes a departmental exception, so the answer explains that exception with its own citation. If the documents do not specify a contractor's eligibility, the assistant says the evidence is insufficient. A link to the general policy homepage would not substitute for support of that narrower question.","limits":"Faithful use of a source does not establish that the source itself is accurate or current. Citations can be fabricated, overbroad or attached to a sentence containing several differently supported claims. Model-based attribution checks can also fail on subtle contradictions. Quality assessment should inspect evidence relationships and source reliability separately. The desired outcome is traceable, appropriately scoped claims, rather than maximizing the number of visible citation markers.","sources":[{"title":"Enabling Large Language Models to Generate Text with Citations","url":"https://arxiv.org/abs/2305.14627","note":"Studies citation quality and the relationship between generated claims and supporting evidence."}],"updatedAt":"2026-10-10"}},{"id":"document-ai","name":"Document AI","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Document AI turns document content and structure into information that software can use. It combines capabilities such as text recognition, layout analysis, field extraction and validation, with attention to tables, reading order and source locations rather than assuming every document is a clean sequence of plain text.","type":"concept","editorial":{"definition":"Documents carry meaning through both content and arrangement. OCR recognizes text in an image; layout analysis identifies regions such as headings or tables; extraction maps evidence to fields or relationships. Vision-language models can also interpret pages, sometimes alongside specialist OCR and parsing tools. These components may be combined in a pipeline or provided by a service. Document AI is broader than OCR and distinct from retrieval: extraction interprets the document, while a retriever decides which document or region to inspect. Preserving structure helps downstream generation avoid losing associations between values and labels.","practice":"The practitioner identifies required fields and document families, creates annotated examples and evaluates extraction at both field and document level. Ingestion retains page coordinates or text spans so reviewers can inspect errors. Normalization and business validation follow recognition: an extracted amount still needs a currency and consistent total. Useful artifacts include the document schema, parsing pipeline, source locator and review workflow for uncertain cases. Tests cover scans, rotated pages, merged table cells and layouts that differ from the examples used to configure the extractor.","example":"An invoice system extracts supplier identity, line items and totals from PDF files. A table parser preserves which quantity and price belong to each line, while OCR handles scanned pages. The application checks arithmetic and compares the supplier identifier with an approved record. When a scan obscures the decimal separator, the field is sent for review with the relevant page region. The goal is a verified usable invoice record, not simply an OCR transcript with impressive coverage.","limits":"Recognition errors can propagate through normalization and look plausible in a generated summary. Tables, handwriting and unfamiliar layouts remain difficult, and confidence values are implementation-specific rather than universal correctness probabilities. A model can also infer a field that is absent from the page. Evaluation needs actual document variety and source-grounded checks. Processing sensitive documents requires controlled access and retention, regardless of whether extraction runs locally or through a managed service.","sources":[{"title":"Azure Document Intelligence overview","url":"https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/overview","note":"Explains OCR, layout and structured field extraction as components of a document-processing service."}],"updatedAt":"2026-10-10"}},{"id":"document-chunking","name":"Document Chunking","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Document chunking divides source material into units that can be indexed, retrieved and supplied to a model. Good boundaries preserve enough local meaning to answer a question while keeping units selective, traceable and small enough for the retrieval and generation system that will use them.","type":"concept","editorial":{"definition":"A chunk can be a fixed token window, paragraph, section, table or another document-aware unit. Overlap repeats some content across boundaries so a split does not discard continuity, but it also creates redundancy. Chunk size interacts with the embedding model's input limit, the granularity of relevance labels and the amount of context the generator receives. A short chunk may lose a definition's subject; a long one may bury the relevant sentence. Chunking changes the evidence units in the index, not merely the formatting of a document for display.","practice":"The practitioner tests several boundary and size policies on annotated questions, preserving source identifiers, headings and locations. Tables and code blocks may need special handling so structure is not split arbitrarily. Evaluation inspects retrieval recall and final-answer support, including the additional cost of overlap and duplicated context. Useful artifacts include the splitter configuration, sample chunks and an error analysis of missing or misleading boundaries. Changing the policy requires rebuilding affected index entries and checking whether existing source links still point to the intended material.","example":"A troubleshooting manual has a warning at the end of one page and the procedure on the next. Fixed page-sized chunks retrieve the steps without the warning. A document-aware policy groups the warning with its procedure and retains the section title as context. Tests then check whether queries about the procedure retrieve both. The team also avoids combining several unrelated procedures into a large chunk that would make every answer appear supported by a broad but poorly targeted block.","limits":"There is no universally best chunk size. Results depend on document structure, query style, embedding behavior and downstream context selection. Overlap can inflate apparent retrieval success by producing near-duplicate hits, while generated chunk summaries can introduce inaccuracies. Quality checks should preserve original source evidence and compare complete pipelines. The useful unit is one that supports the intended question with the necessary qualifiers, not one selected solely because a framework offers that default.","sources":[{"title":"Build a custom RAG agent with LangGraph","url":"https://docs.langchain.com/oss/python/langgraph/agentic-rag","note":"Shows document splitting as an explicit preparation step before embedding and retrieval."},{"title":"Contextual Retrieval","url":"https://www.anthropic.com/engineering/contextual-retrieval","note":"Discusses missing context in isolated chunks and an approach to enriching their representations."}],"updatedAt":"2026-10-10"}},{"id":"graphrag","name":"GraphRAG","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"GraphRAG uses a graph representation of entities and relationships to help retrieve or organize evidence for generation. The name includes a specific Microsoft research approach as well as broader graph-assisted designs; a useful description should state which graph, retrieval mechanism and evidence aggregation the implementation actually uses.","type":"concept","editorial":{"definition":"In Microsoft's GraphRAG approach, a language model extracts entities and relationships from source text, builds a graph and creates summaries of graph communities. Different query strategies can then use local entity context or community summaries to answer questions, including broad questions across a collection. Other graph-assisted RAG systems traverse curated relationships or combine graph results with vector search. These designs share the use of connected evidence but are not identical algorithms. GraphRAG differs from simply storing embeddings in a graph database: explicit connections influence what evidence is retrieved or how it is summarized.","practice":"The practitioner defines entity identity, relationship semantics and provenance, then validates the extracted graph before relying on it. Query tests should distinguish local factual lookup from global synthesis because they exercise different retrieval behavior. A comparison with ordinary lexical or dense RAG measures whether graph construction adds value. Useful artifacts include graph-building configuration, sampled extraction audits, query modes and answer traces back to original sources. Rebuilding or updating summaries also needs an operational policy when the underlying documents change.","example":"A collection of incident reports describes failures involving overlapping suppliers and components. A graph-assisted system links recurring entities and creates summaries of related incidents. A question about shared failure patterns can use those summaries, while a question about one component follows its local evidence. Reviewers check the resulting synthesis against the original reports, including reports that contradict the dominant pattern. The graph helps organize connections but does not permit a summary to turn a correlation into a verified cause.","limits":"Entity extraction and merging can introduce false links, and community summaries can lose minority evidence or qualifiers. Graph construction may be costly and updates complex. Broad synthesis quality does not establish superior performance for simple lookups. The label should therefore identify the actual method and workload, with separate checks for graph accuracy and answer support. A graph is an organized representation of available claims, not an automatic guarantee that those claims are correct.","sources":[{"title":"From Local to Global: A Graph RAG Approach to Query-Focused Summarization","url":"https://arxiv.org/abs/2404.16130","note":"Primary formulation of entity graphs, community summaries and global query-focused synthesis."},{"title":"Microsoft GraphRAG documentation","url":"https://microsoft.github.io/graphrag/","note":"Official implementation documentation and query architecture."}],"updatedAt":"2026-10-10"}},{"id":"knowledge-graphs","name":"Knowledge Graphs","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Knowledge graphs represent entities and their relationships using explicit identities and meaningful relation types. They help applications connect facts across sources, query those connections and preserve provenance; their value depends on the quality of the model and evidence, rather than simply displaying data as nodes and edges.","type":"concept","editorial":{"definition":"A knowledge graph associates statements with identifiable entities, such as a component, organization or location, and expresses relationships such as manufactured by or installed in. Implementations may use RDF triples, property graphs or other representations. A schema or ontology gives relationships and types consistent meaning, while provenance connects statements to supporting records. This differs from a graph database, which is storage and query infrastructure, and from GraphRAG, which uses graph-organized evidence for generation. A knowledge graph can support rules or inference, but only under explicitly defined semantics and assumptions.","practice":"The practitioner designs identifiers, types and relation definitions, then maps source data into that structure. Entity resolution is audited because merging similarly named objects can create false connections. Validation checks required properties, allowed relationships and contradictions. Useful artifacts include the graph model, ingestion rules, provenance links and queries that answer actual business questions. Updating or retracting a fact should be planned alongside insertion. A graph built through model extraction needs sampled review and source traceability rather than assuming every extracted edge is reliable.","example":"A manufacturer links products to component batches, suppliers and inspection records. A query can identify products connected to a batch with a failed inspection and return the underlying records. If two suppliers share a similar trading name, their identifiers remain distinct until evidence establishes they are the same entity. An assistant can summarize the connected records, but it must distinguish a recorded failure from an inferred risk and retain the inspection source for each affected batch.","limits":"Graphs can organize incorrect or incomplete information very effectively. Entity ambiguity, inconsistent relationship meaning and stale updates can mislead downstream queries or generation. Absence of an edge may mean missing data rather than evidence that a relationship does not exist. Quality checks need semantic and provenance review as well as schema validation. Graph modeling is worthwhile when explicit connections answer important questions; a graph representation alone does not create knowledge or guarantee valid inference.","sources":[{"title":"RDF 1.1 Concepts and Abstract Syntax","url":"https://www.w3.org/TR/rdf11-concepts/","note":"Defines a standard graph data model with identified resources and statements."},{"title":"Get started with Neo4j","url":"https://neo4j.com/docs/getting-started/","note":"Provides an official property-graph implementation perspective."}],"updatedAt":"2026-10-10"}},{"id":"visual-document-retrieval","name":"Visual Document Retrieval","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Visual document retrieval searches documents using representations of rendered pages or page regions, preserving information in layout, charts and images. It can complement text extraction when the relevant evidence is visual, but retrieving the correct page and accurately interpreting that page remain separate tasks to evaluate.","type":"concept","editorial":{"definition":"Traditional document search commonly indexes OCR text or parsed passages. A visual retriever instead encodes page imagery, sometimes into multiple patch-level vectors that interact with query-token vectors. ColPali is a specific research implementation of this approach using a vision-language model and late interaction. Such representations can capture visual relationships that a plain-text transcript loses. Visual retrieval does not necessarily eliminate every preprocessing step or guarantee that text in small labels is understood. It supplies candidate pages or regions; an answer system still needs a model or tool capable of reading the retrieved evidence.","practice":"The practitioner renders documents consistently, keeps page identifiers and selects a model with an appropriate visual retrieval design. Evaluation includes questions dependent on diagrams, tables and layout, alongside text-only queries. Retrieval recall is measured separately from downstream answer quality. Storage and query costs need attention because multiple vectors per page can be substantial. Useful artifacts include the rendering pipeline, indexing configuration, page-level relevance labels and evidence links that let a reviewer inspect exactly what the system retrieved.","example":"An engineering collection contains wiring diagrams whose labels and connections are spread across a page. A query asks which connector feeds a particular sensor. OCR text contains both connector names but loses the line connecting them. A visual retriever finds the relevant diagram page, and a vision-capable answer step inspects the connection. Tests include a visually similar diagram for another device, checking whether the model identifies the correct page rather than merely a familiar drawing style.","limits":"Visual similarity can retrieve the wrong revision or a page with the same template but different values. Small text, low-resolution scans and unusual diagrams can also defeat the encoder or answer model. Page retrieval scores do not establish that a generated claim follows from the image. The approach should be compared with text and hybrid baselines on the same documents, with explicit evidence review and realistic memory, latency and indexing measurements.","sources":[{"title":"ColPali: Efficient Document Retrieval with Vision Language Models","url":"https://arxiv.org/abs/2407.01449","note":"Primary description of vision-language page embeddings and late-interaction document retrieval."}],"updatedAt":"2026-10-10"}},{"id":"retrieval-augmented-generation","name":"Retrieval-Augmented Generation","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Retrieval-augmented generation supplies a generative model with external evidence found for the current request. The application indexes or searches a collection, selects relevant material and uses it during answer generation, making knowledge updates and source attribution possible without relying only on information encoded in the model's weights.","type":"concept","aliases":["Retrieval-Augmented Generation (RAG)","retrieval augmented generation"],"editorial":{"definition":"A typical RAG pipeline prepares documents, indexes searchable representations, retrieves candidates for a query and passes selected evidence to a generator. Retrieval may be lexical, vector-based, graph-assisted or combined. The original RAG research integrated retrieved passages with a generative model; deployed applications often use a simpler explicit retrieve-then-prompt architecture. RAG differs from fine-tuning because adding or changing evidence in the collection does not inherently update the model's parameters. It also differs from merely providing a long document: retrieval chooses relevant evidence from a larger source space for each request.","practice":"The practitioner builds ingestion with source versioning, chooses retrieval and context policies and evaluates questions with known supporting evidence. Tests distinguish failure to retrieve a passage from failure to use it correctly. Answer checks inspect coverage, unsupported claims and citations. Useful artifacts include the indexing pipeline, relevance labels, generation contract and traces of selected passages. Operational work covers access controls, document updates and deletion. The application needs an abstention or clarification path when the collection cannot support a reliable answer.","example":"A product assistant answers a question about an installation requirement. It searches current manuals, retrieves the matching model's procedure and uses those passages to explain the requirement with a source reference. When an older manual differs, source metadata prevents the older revision from silently becoming the answer. A test asks about an undocumented configuration: the assistant should state that the evidence is missing instead of filling the gap with a plausible instruction learned during pretraining.","limits":"RAG can reduce some knowledge gaps but does not eliminate hallucination. Retrieval may miss the evidence, return an unauthorized document or rank a near match above the correct item. The generator may ignore qualifiers or combine conflicting passages incorrectly. Quality depends on the collection and complete pipeline, so adding a vector database alone does not establish a trustworthy system. Grounding, source reliability and access enforcement require their own checks.","sources":[{"title":"Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks","url":"https://arxiv.org/abs/2005.11401","note":"Primary retrieval-plus-generation formulation and comparison with parameter-only generation."}],"updatedAt":"2026-10-10"}},{"id":"hybrid-search","name":"Hybrid Search","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Hybrid search combines retrieval signals, commonly lexical matching and dense-vector similarity, to find candidates that either method might miss alone. The skill includes defining the combination rule and evaluating the resulting ranking, with particular attention to exact terms, semantic paraphrases and the behavior of filters.","type":"concept","editorial":{"definition":"Lexical search scores shared terms and can preserve rare identifiers, while dense search compares learned representations that may connect different wording. A hybrid system runs both or incorporates both signals into a retrieval engine. Scores can be normalized and weighted, or rankings can be fused with a method such as reciprocal rank fusion. A fusion rule is necessary because raw scores from different retrievers usually have different scales. Hybrid retrieval is distinct from reranking: it combines candidate generation signals, while a reranker may then rescore the smaller candidate set more expensively.","practice":"The practitioner creates relevance judgments covering semantic queries and exact-match cases, then measures the hybrid against each component separately. Candidate counts, fusion weights and filters are tuned on development data and checked on held-out queries. Deduplication should preserve source identity. Useful artifacts include index mappings, query definitions, a documented fusion rule and rank-level error analysis. Operational measurement records latency and resource use for both retrievers, since combining them can increase work even when the returned result count stays small.","example":"A parts catalog contains model codes and descriptions. A query with an exact code benefits from lexical matching, while a query describing a leaking seal can benefit from semantic matching with a passage using different terminology. The hybrid ranking combines these candidates and retains the exact model restriction. Evaluation includes near-identical codes and paraphrased descriptions. A fusion configuration is accepted only if it improves those retrieval needs without allowing a thematically similar part to displace the specified one.","limits":"Combining weak retrievers does not guarantee a strong ranking. Score normalization, candidate truncation and filter placement can suppress relevant items before fusion. Hybrid gains also depend on query distribution and corpus vocabulary. A final similarity score is not a probability of relevance or evidence of truth. The combination should be reported with its concrete method and measured against component baselines, rather than presenting hybrid search as automatically superior for every collection.","sources":[{"title":"Vector relevance and ranking","url":"https://learn.microsoft.com/en-us/azure/search/vector-search-ranking","note":"Official explanation of vector ranking and reciprocal rank fusion in a hybrid search implementation."}],"updatedAt":"2026-10-10"}},{"id":"search-re-ranking","name":"Search Re-Ranking","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Search reranking applies a second scoring or ordering step to an initial candidate set. It spends more detailed computation on a smaller collection of results, using signals such as query–document interaction or business rules to improve the order presented to a user or supplied to a generative model.","type":"concept","editorial":{"definition":"Initial retrieval must search a large collection efficiently, so its scoring may be comparatively coarse. A reranker receives the query and candidate items and recomputes relevance or applies a ranking policy. Cross-encoders are one common neural method, but reranking can also use learning-to-rank features, language-model judgments or deterministic constraints. The operation differs from indexing or candidate generation: an item missing from the initial set normally cannot be recovered by reranking. It also differs from simple filtering, which excludes items rather than assessing their relative position.","practice":"The practitioner measures candidate recall before choosing a reranker, then evaluates ranking metrics and downstream usefulness on labeled queries. Candidate count, input truncation and batching affect cost and latency. Tests include items with similar vocabulary but different factual relevance. Useful artifacts include the scoring model or policy, a candidate-size study and before-and-after ranked examples. A business rule affecting the order should be documented separately from model relevance so reviewers can see whether the ranking reflects evidence, freshness, access or another explicit objective.","example":"A support search returns several passages about resetting devices. A reranker jointly inspects the query and each passage, pushing the procedure for the requested hardware revision above generic reset advice. The generator receives the best supported candidates with their source identifiers. A test where the correct procedure never appears in the initial set reveals a retriever problem; increasing reranker complexity would not solve it. The team improves candidate recall before assessing additional ranking changes.","limits":"A reranker can favor persuasive or lengthy text, truncate the decisive part of a document or misinterpret negation. Its score is not necessarily calibrated across queries. Larger candidate sets improve opportunity but increase computation. Quality checks must therefore examine both the initial retrieval and final order, including latency and access filtering. Reranking is most useful when the relevant evidence already enters the candidate pool and the second stage reliably distinguishes it from plausible alternatives.","sources":[{"title":"Retrieve and rerank","url":"https://www.sbert.net/examples/sentence_transformer/applications/retrieve_rerank/README.html","note":"Explains a two-stage retrieval and cross-encoder reranking pipeline."}],"updatedAt":"2026-10-10"}},{"id":"faiss","name":"FAISS","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"FAISS is a library for efficient similarity search and clustering over dense vectors. It supplies exact and approximate index structures that applications can use to find nearby embeddings, while leaving document storage, permissions, update workflows and the meaning of those embeddings to the surrounding system.","type":"tool","aliases":["faiss (facebook ai similarity search)"],"editorial":{"definition":"Given a collection of vectors and a query vector, FAISS computes or approximates neighbors under supported similarity measures. Different indexes trade search quality, memory, construction time and query speed. Some approaches partition vectors, compress them or use graph structures; suitable builds can use GPU acceleration. FAISS is a library rather than a complete managed vector database. It returns vector identifiers and scores, so applications need a mapping to original records and their metadata. Choosing an index is separate from choosing an embedding model, although vector dimension and geometry constrain index configuration.","practice":"The practitioner establishes an exact-search baseline, selects candidate indexes and measures recall against that baseline on realistic queries. It records index training, search parameters, memory and build time. The system keeps stable identifiers and a consistent mapping between vectors and source records. Useful artifacts include the benchmark, serialized index configuration and an update or rebuild procedure. Filtering and access controls require explicit design around the library. Evaluation should include the collection's actual distribution and scale instead of relying only on synthetic random vectors.","example":"A research application encodes article passages and stores their vectors in a FAISS index. Query results return passage identifiers that the application resolves to text and citations. The team compares a compressed approximate index with exact search, inspecting whether the relevant passage remains among the returned candidates. If memory savings lose rare technical distinctions, it changes compression or search effort. A separate record store handles article metadata and deletion so a removed passage cannot remain visible through an outdated identifier mapping.","limits":"Approximate indexes can miss true nearest neighbors, and compressed distances can alter ranking. An index trained on an unrepresentative sample may behave poorly after the collection changes. Persistence alone does not synchronize FAISS with a document store or enforce authorization. The library's efficiency claims concern defined vector-search workloads; application quality still depends on embeddings, relevant labels and reliable record handling around the index.","sources":[{"title":"FAISS repository","url":"https://github.com/facebookresearch/faiss","note":"Official library description, supported search concepts and implementation references."}],"updatedAt":"2026-10-10"}},{"id":"vector-databases","name":"Vector Databases","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Vector databases store vector representations alongside identifiers and often metadata, providing similarity search and lifecycle operations for an application. They support retrieval infrastructure; deciding what to embed, which similarity means relevance and how retrieved evidence should be used remains a separate modeling and application responsibility.","type":"concept","editorial":{"definition":"A vector database receives embeddings from an encoding process and retrieves items near a query vector under a configured distance or similarity measure. It may provide approximate indexes, metadata filters, updates, persistence and distributed operations. Some products also offer lexical or hybrid search. The category includes embedded stores and managed or self-hosted services with different operational trade-offs. A vector database does not inherently know that a nearby item answers a question, and storing embeddings is distinct from training the model that produced them. Access control and consistency semantics depend on the implementation.","practice":"The practitioner compares candidate systems against realistic collection size, update rate, filtering needs and latency targets. It evaluates retrieval recall alongside memory, ingestion cost and operational reliability. Records should preserve embedding model version and source identity so incompatible representations are not silently mixed. Useful artifacts include the collection schema, index configuration, backup or recovery plan and relevance benchmark. Deletion and tenant isolation need end-to-end tests, especially where a retrieved vector maps to an external document with its own permissions.","example":"A company indexes product manuals with vectors, product identifiers and revision dates. A query searches only manuals for the selected product and returns passage identifiers for generation. The team measures whether the database finds annotated relevant passages under those filters and confirms that deleted revisions disappear from both search and source resolution. Selecting the store involves update and recovery requirements as well as raw search speed, because a fast stale result can still produce a wrong answer.","limits":"Nearest neighbors can be irrelevant, and approximate search adds another source of misses. Aggressive filtering may change recall or leave too few candidates. Vendor features and limits evolve, so product selection needs current documentation and workload testing. A database is one stage of a retrieval system rather than a guarantee of answer correctness. Comparing exact search and a lexical baseline helps identify whether errors originate in indexing, representation or the evidence collection itself.","sources":[{"title":"Qdrant concepts","url":"https://qdrant.tech/documentation/overview/","note":"Official vector-store concepts covering collections, vectors, payloads and similarity search."},{"title":"Milvus overview","url":"https://milvus.io/docs/overview.md","note":"Provides a second official implementation perspective on vector database functions."}],"updatedAt":"2026-10-10"}},{"id":"pgvector","name":"pgvector","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"pgvector is a PostgreSQL extension that adds vector data types and similarity-search operations to a relational database. It lets an application keep embeddings near its existing records and query them with SQL, while requiring deliberate index selection, filtering and performance evaluation as the collection and workload grow.","type":"tool","editorial":{"definition":"The extension stores vectors in PostgreSQL columns and exposes operators for supported distance or similarity calculations. Exact search compares eligible records directly, while approximate indexes such as HNSW and IVFFlat can reduce search work with a recall trade-off. Relational joins and ordinary metadata conditions remain available, which is useful when source data already lives in PostgreSQL. pgvector differs from an embedding model and from a separate vector service: it supplies vector operations within the database's existing transaction and operational environment. Index behavior depends on the query shape and configuration.","practice":"The practitioner defines vector dimensions and similarity consistently with the encoder, tests SQL queries and inspects query plans. Exact-search results provide a recall reference for approximate indexes. Filter selectivity, result limits and search parameters are tested together because an approximate candidate set may not contain enough matching records. Useful artifacts include migrations, index definitions, relevance tests and capacity measurements. Embedding updates should maintain source version consistency, and normal PostgreSQL access controls still need correct application use rather than reliance on a similarity predicate.","example":"A document application already stores records and access metadata in PostgreSQL. It adds an embedding column to searchable passages and uses a query that combines a permitted-document condition with vector ordering. The team compares exact results and an approximate index for both broad and highly selective filters. A test account with access to only a small folder verifies that search returns enough relevant authorized passages. If the approximate query misses them, search settings or the query plan are revised.","limits":"Sharing a relational database does not make every vector workload inexpensive. Large indexes consume resources alongside transactional queries, and approximate filtering can affect recall. Supported types and index features depend on the installed extension version. Evaluation should measure the actual deployment rather than assume it matches a dedicated vector service. pgvector is useful when SQL integration and database operations fit the application, with explicit checks for retrieval quality, concurrency and recovery.","sources":[{"title":"pgvector repository and documentation","url":"https://github.com/pgvector/pgvector","note":"Official documentation for types, distance operators, HNSW, IVFFlat and filtering considerations."}],"updatedAt":"2026-10-10"}},{"id":"sentence-transformers","name":"Sentence-Transformers","category":"Embeddings","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Sentence-Transformers is a library for using and training embedding and related text-matching models. It supports representations for sentences and passages as well as cross-encoder scoring, making it useful for retrieval experiments where model choice, input formatting and task-specific evaluation matter more than a generic notion of semantic similarity.","type":"tool","editorial":{"definition":"A sentence-transformer model encodes text into a vector that can be reused for similarity search, clustering or other tasks. The library also exposes cross-encoders, which jointly process a pair and produce a score rather than independently reusable embeddings. Models differ in training objectives, languages, maximum input lengths and required query or document instructions. The library is therefore an implementation toolkit, not one fixed embedding model. A retrieval system typically pre-encodes documents, encodes queries at runtime and optionally uses a cross-encoder to reorder the retrieved candidate set.","practice":"The practitioner selects a model suitable for the language and task, checks its model card and documents preprocessing and normalization. Retrieval evaluation uses representative query–passage judgments; fine-tuning uses defensible pairs and negatives with a separate test set. Batching and device selection are measured for ingestion and query workloads. Useful artifacts include the encoding code, model version, evaluation results and saved training configuration. Changing models requires rebuilding document embeddings and checking score thresholds, even when the output vector dimension happens to remain the same.","example":"A multilingual help center tests several supported models on queries in the languages its users actually write. The team checks whether an informal question retrieves the right article and whether exact product codes are preserved. It then uses a cross-encoder for the best initial candidates and compares the full pipeline with embedding retrieval alone. A model that performs well on one language but loses relevance in another is not selected solely because its overall public benchmark result is high.","limits":"The library cannot guarantee relevance for every supported model or task. Truncation can remove the decisive sentence, training data may not cover specialist vocabulary and similarity scores are not calibrated confidence. Cross-encoders also add per-candidate computation. Good use requires model-specific documentation, representative relevance labels and operational measurement. Framework convenience should not hide which encoder, objective and input format produced the vectors or scores used by the application.","sources":[{"title":"Sentence Transformers usage","url":"https://www.sbert.net/docs/sentence_transformer/usage/usage.html","note":"Official guidance on model use, embeddings and similarity computation."},{"title":"Retrieve and rerank","url":"https://www.sbert.net/examples/sentence_transformer/applications/retrieve_rerank/README.html","note":"Explains bi-encoder retrieval and cross-encoder scoring as distinct library capabilities."}],"updatedAt":"2026-10-10"}},{"id":"graph-databases","name":"Graph Databases","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Graph databases store and query connected data with explicit relationships as a first-class part of the data model. The skill involves choosing a graph representation, writing bounded traversals and maintaining consistency, so an application can answer relationship-oriented questions without repeatedly reconstructing connections from unrelated records.","type":"concept","editorial":{"definition":"In a property graph, nodes and relationships carry labels, types and properties. Other graph systems use RDF statements and different query languages. Queries can find a pattern, follow paths or aggregate connected records. This differs from a knowledge graph, which adds domain semantics and often provenance to the represented relationships. It also differs from GraphRAG, an application architecture using graph-organized evidence for generation. A graph database may support indexes or vector features, but its defining role is storing and querying connections under its own transaction, query and operational model.","practice":"The practitioner selects a data model based on actual relationship queries and establishes identifiers, constraints and update rules. It tests traversal depth, cycle handling and query cardinality on representative graph shapes. Ingestion must preserve relationship direction and source identity. Useful artifacts include the schema, query library, performance measurements and recovery procedures. When a language model proposes queries, application code restricts operations and validates the query before execution. Read and write permissions are enforced through database and application controls rather than graph terminology alone.","example":"A logistics system tracks packages, containers, shipments and transfer events. A graph query follows a package through transfers to identify the last recorded container and supporting events. The team tests missing transfers and cycles created by erroneous imports, so a query neither invents continuity nor traverses indefinitely. A generative assistant explains the result with event references. If the last transfer is unknown, the graph records the gap instead of implying that the package is still at its earlier location.","limits":"Connected storage can make bad relationships easier to propagate. High-degree nodes or unbounded paths can also create expensive queries, and a graph model may complicate simple tabular reporting. Product capabilities vary, so selection should follow workload evidence rather than a claim that connected data always requires a graph database. Correctness depends on identity, relation semantics and update quality in addition to the database's ability to execute a traversal.","sources":[{"title":"Get started with Neo4j","url":"https://neo4j.com/docs/getting-started/","note":"Explains property graphs and graph queries through an official database implementation."},{"title":"RDF 1.1 Concepts and Abstract Syntax","url":"https://www.w3.org/TR/rdf11-concepts/","note":"Defines a distinct standard graph representation for comparison."}],"updatedAt":"2026-10-10"}},{"id":"azure-document-intelligence","name":"Azure Document Intelligence","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Azure Document Intelligence is a Microsoft service for extracting text, layout and structured information from documents. Using it well involves choosing supported models, connecting extracted fields to page evidence and validating results against the application's requirements, especially when document layouts or image quality differ from the configuration examples.","type":"tool","editorial":{"definition":"The service provides document analysis capabilities including OCR and layout extraction, along with models for supported document types and custom extraction scenarios. An analysis response can expose text, tables, fields and locations depending on the selected model and API. These are machine-generated interpretations of a document, not automatically verified business records. The service is a particular implementation of Document AI, whereas OCR, layout analysis and information extraction are broader capabilities. Model selection, supported input formats and API version affect what information is returned and how it should be interpreted.","practice":"The practitioner checks the current model and API documentation, prepares representative documents and maps responses into an application schema. Validation handles missing values, normalization and consistency rules rather than blindly copying every field. Source coordinates or spans allow review of ambiguous extractions. Useful artifacts include the analysis adapter, field mapping, annotated test documents and a review policy. Evaluation covers unfamiliar suppliers, rotated scans and complex tables, while operational work handles authentication, asynchronous results, errors and controlled retention of sensitive source documents.","example":"An accounting application sends invoices to an appropriate extraction model and maps line items, currency and totals into proposed records. The application checks that line totals agree with the invoice total and that the supplier matches an approved account. An ambiguous amount is shown with its source page region for review. A new supplier's invoice layout enters the evaluation collection before automated processing is expanded, so apparent success on one familiar template does not determine the whole rollout.","limits":"Supported models and response structures evolve, and a confidence value is not a universal probability of correctness. Handwriting, unusual layouts or low-resolution scans can cause recognition and field-association errors. A service response can be technically complete while a critical field is wrong. Application acceptance therefore depends on evidence-based validation and real document coverage, with an explicit path for manual review when extraction cannot support the required record.","sources":[{"title":"Azure Document Intelligence overview","url":"https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/overview","note":"Official service capabilities, model families and document analysis concepts."}],"updatedAt":"2026-10-10"}},{"id":"contextual-retrieval","name":"Contextual Retrieval","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Contextual retrieval adds explanatory context to individual chunks before indexing them so that isolated passages remain meaningful during search. A specific Anthropic approach uses generated chunk context for both embeddings and lexical indexing; the broader practice is useful only when the added context accurately preserves the source's identity and meaning.","type":"concept","editorial":{"definition":"A document chunk can contain an amount or pronoun without identifying the company, event or section it refers to. Contextual enrichment supplies a short description derived from the surrounding document, such as what entity and reporting period the chunk concerns. The enriched representation is then indexed, while the original passage remains available as evidence. This differs from query rewriting, which changes the search input, and from merely expanding context after retrieval. Implementations vary in how context is produced and whether it is used for dense, lexical or combined search.","practice":"The practitioner defines a context-generation procedure, checks sampled enrichments against original documents and compares retrieval with an unenriched baseline. Source identifiers and versions are retained so context can be refreshed when content changes. Evaluation includes short passages with missing antecedents and rare identifiers, where enrichment might help or accidentally mislead. Useful artifacts include the enrichment prompt or rules, indexed text format and relevance results. Generated context should be distinguishable from quoted source content in any downstream evidence view.","example":"A report chunk states that operating costs increased but does not repeat the business unit named earlier. The index adds a short contextual sentence identifying that unit and the reporting period. A query about the unit's costs can now match the passage more directly. Review confirms that the generated context names the correct unit and does not infer an increase percentage absent from the report. The answer system cites the original passage and surrounding section, rather than presenting the enrichment as an independent fact.","limits":"Generated context can introduce an incorrect entity, date or interpretation and make a wrong chunk easier to retrieve. It also adds preprocessing cost and update work. Improved retrieval in one reported experiment is not a guarantee across document types. A useful assessment compares relevance and downstream support under the actual collection, audits context accuracy and preserves the original source so enrichment never becomes an untraceable replacement for evidence.","sources":[{"title":"Contextual Retrieval","url":"https://www.anthropic.com/engineering/contextual-retrieval","note":"Describes generating chunk context and incorporating it into embedding and lexical retrieval representations."}],"updatedAt":"2026-10-10"}},{"id":"bm25","name":"BM25","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"BM25 is a lexical relevance scoring method that ranks documents using query-term matches, term rarity and document-length normalization. It is a strong baseline for text retrieval and the lexical component of many hybrid systems, especially when exact identifiers or specialist terms matter more than broad semantic similarity.","type":"concept","editorial":{"definition":"BM25 belongs to the probabilistic information retrieval tradition. Its score gives more weight to terms that are informative across the collection, reduces the marginal contribution of repeated occurrences and adjusts for document length. Parameters control aspects of term-frequency saturation and length normalization. Text analysis also matters: tokenization, stemming and field handling determine which terms match before scoring. BM25 differs from dense retrieval because it primarily uses lexical overlap rather than learned vector proximity. Its numeric scores are ranking signals within a query and index configuration, not direct probabilities of relevance.","practice":"The practitioner configures text analysis and searchable fields, establishes relevance labels and tunes scoring only where evaluation justifies it. Tests include identifiers, abbreviations, spelling variants and queries whose relevant document uses different wording. Useful artifacts include the index mapping, query strategy and measured ranking baseline. Comparing BM25 with dense or hybrid search helps identify whether errors come from vocabulary mismatch or candidate ranking. Field weights and filters are documented so a result's position can be explained without attributing every effect to the BM25 formula.","example":"A technical catalog contains short product codes and long descriptions. A query with the exact code should strongly favor the matching item even if another description is topically similar. The team tests field weighting so the code field contributes appropriately and analyzes whether tokenization splits meaningful punctuation. A paraphrased symptom query may require dense or expanded retrieval as well. BM25 remains the reference baseline, making it possible to see what additional semantic machinery improves and what precision it loses.","limits":"Lexical matching can miss paraphrases, synonyms and cross-language relevance. Scores are also affected by corpus statistics and document preparation, so thresholds do not transfer automatically between indexes. Aggressive stemming can merge distinct identifiers, while repeated terms can still distort ranking under unsuitable configuration. Evaluation should include the actual query vocabulary and field structure. BM25's simplicity and usefulness do not make it a universal solution or justify skipping a retrieval quality test.","sources":[{"title":"Elasticsearch similarity configuration","url":"https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/similarity","note":"Official documentation for BM25 scoring parameters and similarity configuration."},{"title":"The Probabilistic Relevance Framework: BM25 and Beyond","url":"https://www.staff.city.ac.uk/~sbrp622/papers/foundations_bm25_review.pdf","note":"Primary author account of BM25's probabilistic basis and scoring design."}],"updatedAt":"2026-10-10"}},{"id":"dense-retrieval","name":"Dense Retrieval","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Dense retrieval searches by comparing learned vector representations of queries and documents. It can find relevant passages with different wording from the query, but its quality depends on the encoder, training objective and similarity function; nearby vectors are candidates for relevance rather than verified answers.","type":"concept","editorial":{"definition":"A dense retriever commonly uses a query encoder and a document encoder to produce vectors in a compatible space. Document vectors are computed during indexing, and a query vector is compared with them at search time. Training can use relevant query–passage pairs and negative examples to shape that space. Approximate nearest-neighbor indexes make searching large collections more efficient with a recall trade-off. Dense retrieval differs from a cross-encoder, which jointly processes each query–document pair, and from lexical retrieval, which ranks primarily through term matches. These methods can be combined rather than treated as exclusive choices.","practice":"The practitioner evaluates the encoder on representative relevance judgments, including languages, identifiers and difficult near matches. Preprocessing, truncation and query instructions are recorded with the model version. An exact vector search baseline separates embedding errors from approximate-index errors. Useful artifacts include the encoding pipeline, relevance benchmark and index parameters. Fine-tuning requires defensible positives and negatives with a held-out test. Changing encoders generally means rebuilding document vectors, because equal dimensions do not establish that two models produce comparable representations.","example":"A help center indexes passages about resetting access credentials. A user asks how to regain entry after losing a sign-in token, using wording absent from the article title. Dense retrieval may find the relevant passage through semantic similarity. Tests also include a question about physical access tokens, where a thematically similar credential passage would be wrong. A hybrid exact-term signal or metadata restriction can then help preserve the distinction that the dense model alone handles poorly.","limits":"Dense models can blur rare terms, numerical differences or negation, and long documents may be truncated before the relevant material is encoded. Similarity scores are not calibrated across every query. Public benchmark performance may not transfer to specialist collections. Quality should be assessed with lexical and exact-search baselines, source-level relevance judgments and end-to-end answer checks, rather than assuming semantic representation makes every retrieval result meaningfully relevant.","sources":[{"title":"Dense Passage Retrieval for Open-Domain Question Answering","url":"https://arxiv.org/abs/2004.04906","note":"Primary dual-encoder retrieval formulation and training setup."}],"updatedAt":"2026-10-10"}},{"id":"opensearch","name":"OpenSearch","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"OpenSearch is a search and analytics engine that can support lexical, vector and hybrid retrieval in an application. The skill involves index design, query construction and operational management, with attention to how text analysis, vector configuration and filters jointly determine which records can be returned and how they are ranked.","type":"tool","editorial":{"definition":"OpenSearch indexes documents with mapped fields and provides query interfaces for text search, filtering and aggregation. Vector capabilities add nearest-neighbor retrieval over embeddings, while hybrid search can combine signals from multiple retrieval methods. These are engine features rather than a single retrieval model: applications still choose encoders, field analysis and relevance objectives. A search index is also distinct from the authoritative source store, so ingestion and update consistency need design. Distributed execution, shard layout and plugin or version choices influence available functionality and operational behavior.","practice":"The practitioner defines mappings before ingestion, validates analyzers and queries and evaluates ranking on labeled requests. Vector tests use the intended similarity, index method and filters. Operational plans cover capacity, shard choices, snapshots and reindexing when representations change. Useful artifacts include index templates, ingestion code, query definitions and relevance and load-test reports. An application should enforce authorization consistently for every query path, including hybrid or diagnostic searches, so new retrieval capabilities do not bypass the record restrictions applied to lexical search.","example":"A documentation portal indexes body text, product identifiers, dates and embeddings in OpenSearch. An exact product query uses lexical fields, while a symptom description uses a hybrid query. The team labels relevant passages and tests whether freshness and product filters remain correct under both paths. When the embedding model changes, a replacement index is built and compared before traffic switches. Snapshot and rollback procedures protect the portal from a failed reindex rather than relying on a model query to reconstruct lost records.","limits":"Default mappings or approximate-search settings may be unsuitable for a specific collection. Distributed operations add capacity and consistency considerations, and feature support differs by version and deployment. Search scores also do not prove answer support. Choosing OpenSearch should follow query and operational requirements, with testing of the actual index and workload. A shared engine can simplify integration, but it does not remove the need to evaluate each retrieval signal and its combination.","sources":[{"title":"OpenSearch vector search","url":"https://docs.opensearch.org/latest/vector-search/","note":"Official documentation for vector indexing and retrieval capabilities in the search engine."}],"updatedAt":"2026-10-10"}},{"id":"chroma","name":"Chroma","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Chroma is a retrieval database and toolkit for storing embeddings, documents and metadata and querying related records. It can simplify application prototypes and deployed retrieval workflows, but useful search still depends on the selected embedding model, collection design, filters and explicit handling of source versions and access.","type":"tool","editorial":{"definition":"A Chroma collection contains records with identifiers and associated representations or content. An application can add, update, delete and query those records, with embeddings produced through configured functions or supplied by the application. Deployment modes and operational features vary by the current product interface. Chroma is a particular retrieval implementation, not an embedding model or a complete RAG application. Its returned distances and records become inputs to downstream selection or generation. The meaning of distance depends on the collection configuration and encoder, rather than the database name alone.","practice":"The practitioner fixes stable record identifiers, documents the embedding function and checks how persistence and deployment work in the selected environment. Query tests cover metadata restrictions, missing records and updates. Relevance evaluation uses realistic questions rather than simply checking that some result returns. Useful artifacts include collection initialization, ingestion and deletion procedures, an encoder version record and search measurements. Source evidence should remain available through reliable record links. Moving from a local prototype to a shared service requires renewed tests of concurrency and access handling.","example":"A small technical assistant indexes manual passages in Chroma with product and revision metadata. Queries restrict the collection to the requested product before selecting relevant passages. The team updates a corrected procedure and verifies that old records are removed or replaced, then checks that generation cites the updated source. A prototype that retrieves a passage successfully is followed by evaluation on ambiguous product names and empty-result cases, where broad semantic similarity could otherwise hide an incorrect match.","limits":"Convenient setup does not establish relevance or production suitability for every workload. Embedding changes can leave incompatible vectors, and metadata filters alone are not a complete authorization system. Operational behavior depends on deployment mode and version. Testing should cover persistence, updates and actual search quality alongside performance. Chroma's role is retrieval infrastructure; evidence interpretation, user permissions and reliable answer behavior remain responsibilities of the surrounding application.","sources":[{"title":"Chroma introduction","url":"https://docs.trychroma.com/docs/overview/introduction","note":"Official overview of collections, embedding workflows and retrieval capabilities."}],"updatedAt":"2026-10-10"}},{"id":"lancedb","name":"LanceDB","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"LanceDB is a database for vector and multimodal retrieval built around columnar data storage. The skill combines table and schema design, embedding management and search configuration, particularly where vectors need to remain connected to structured fields or media references that an application can filter, inspect and update.","type":"tool","editorial":{"definition":"LanceDB stores records in tables with vector and other columns, using the Lance data format in its architecture. Applications can search embeddings and use additional retrieval or filtering features supported by the selected version and deployment. It differs from a standalone nearest-neighbor library by providing data and query abstractions around the vectors. It also differs from an embedding model, which determines the representations themselves. Local and managed deployment choices carry different operational responsibilities. The important application contract is how source records, vectors and metadata remain consistent as content is added or changed.","practice":"The practitioner defines table schemas and stable identifiers, records the encoder and chooses index configuration based on measured workload. Search quality is compared with an exact baseline where possible, including filtered queries and multimodal cases. Ingestion tests preserve links to original media or documents. Useful artifacts include schema definitions, index settings, source versioning rules and performance reports. Update and deletion procedures should be tested through query results, rather than assuming that a successful write necessarily invalidates every old representation used by the application.","example":"A media archive stores image references, captions, collection metadata and embeddings in a LanceDB table. A query combines a visual description with a date restriction, returning source items for inspection. The team tests both semantic relevance and whether filters retain the intended collection boundary. A revised image caption triggers a defined representation update. The application keeps the original media reference so reviewers can determine whether a retrieved match actually contains the feature described in the user's request.","limits":"A columnar foundation does not guarantee that every retrieval or update workload is fast. Approximate indexes, filtering and embedding quality can each affect results. Deployment capabilities also change, so a design must use current documentation rather than assume identical behavior across local and managed products. Evaluation needs the actual data shape and query mix. LanceDB can organize retrieval data, while source quality and downstream interpretation still need separate validation.","sources":[{"title":"LanceDB documentation","url":"https://docs.lancedb.com/","note":"Official overview of tables, storage architecture, vector search and deployment options."}],"updatedAt":"2026-10-10"}},{"id":"metadata-filtering","name":"Metadata Filtering","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Metadata filtering restricts retrieval using structured fields such as product, date, tenant or access category. It helps search obey explicit constraints that embeddings may not preserve, but correct behavior depends on the filter semantics, where filtering occurs and whether the application enforces the underlying authorization policy.","type":"concept","editorial":{"definition":"Each indexed record can carry structured attributes in addition to its text or vectors. A filter expresses allowed values or conditions, such as a date range and product identifier. A search engine may apply filtering before candidate search, during index traversal or after candidates are produced. These choices affect efficiency and recall, particularly for approximate vector search with selective filters. Filtering differs from ranking: it determines eligibility rather than relative preference. A metadata field can encode an access rule, but trusted server-side logic must derive that rule rather than accepting an arbitrary user-provided tenant identifier.","practice":"The practitioner defines typed metadata and its source of truth, validates missing values and tests filter combinations. Retrieval evaluations include highly selective conditions and cases with no eligible result. Access tests attempt cross-tenant queries and inspect every search path, not only the main interface. Useful artifacts include the metadata schema, query builder and filter correctness tests. Update workflows must propagate permission or date changes promptly. The application also distinguishes an empty authorized result from a broad search that found material it must not reveal.","example":"A maintenance assistant retrieves procedures for one factory and a specific equipment revision. The server constructs a filter from the user's allowed factory list and selected revision, then performs vector search within eligible records. Tests include a relevant procedure from another factory and a nearly identical older revision. Neither may enter the generated answer. When the eligible set is small, the team measures approximate-search recall and adjusts the search strategy instead of widening the permission boundary to obtain more results.","limits":"Missing or stale metadata can exclude useful evidence or expose the wrong records. Post-filtering may return too few results even when eligible relevant documents exist. Some engines support different operators or null behavior, so filters need implementation-specific tests. Metadata similarity and ranking cannot replace authorization. The quality criterion combines correct eligibility with adequate retrieval recall, preserving explicit constraints even when relaxing them would produce an apparently better semantic match.","sources":[{"title":"Qdrant filtering","url":"https://qdrant.tech/documentation/search/filtering/","note":"Official explanation of payload conditions and their role in vector search filtering."}],"updatedAt":"2026-10-10"}},{"id":"milvus","name":"Milvus","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Milvus is a vector database designed to store and search embeddings with structured metadata and scalable indexing infrastructure. Competence involves choosing a schema and index, managing data ingestion and lifecycle, and validating filtered retrieval under the actual workload rather than treating scale-oriented architecture as evidence of relevance.","type":"tool","editorial":{"definition":"A Milvus collection holds records with defined fields, including vectors and identifiers. Search compares query vectors with stored representations using a configured metric and index, while supported metadata expressions constrain eligible records. Deployment architectures and index options provide different operational trade-offs. Milvus does not create the semantic meaning of embeddings; the encoder and data preparation do that. It supplies storage and search capabilities that applications combine with source resolution, permissions and generation. Collection consistency and readiness also matter when newly written records must become available to queries.","practice":"The practitioner designs field types and identifiers, selects an index using relevance and load measurements and records the embedding model. Ingestion handles batches, retries and duplicate prevention. Tests cover inserts, updates or replacement records, deletion and selective filters. Useful artifacts include schema and index configuration, capacity measurements, retrieval recall and recovery procedures. Production planning considers the chosen deployment components and their failure behavior. A migration or model change should use a controlled rebuild and comparison rather than mix incompatible vectors in one searchable collection.","example":"A large support archive indexes passages with product, language and document revision fields. Milvus supplies filtered candidate search, and another store resolves identifiers to the original text. The team tests recall for both common and rare products, then measures ingestion and concurrent query behavior. A deleted confidential document must disappear from candidate results and source resolution. When a new encoder is introduced, a parallel collection is evaluated before the application changes its query routing.","limits":"Distributed search and approximate indexes introduce tuning and operational complexity. A collection may contain nearby but irrelevant vectors, and filters can affect recall or result availability. Current capabilities depend on version and deployment, so workload testing is more informative than scale claims alone. Milvus is appropriate when its retrieval and operational model fit the application, with separate evidence for search quality, permission enforcement and reliable data lifecycle handling.","sources":[{"title":"Milvus overview","url":"https://milvus.io/docs/overview.md","note":"Official architecture and vector database concepts for collections, search and deployment."}],"updatedAt":"2026-10-10"}},{"id":"pinecone","name":"Pinecone","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Pinecone is a managed retrieval service for indexing and querying vector-based representations with associated metadata. The skill involves defining record and namespace organization, selecting supported search behavior and measuring quality, latency and lifecycle costs, while keeping application authorization and source correctness explicit outside the service abstraction.","type":"tool","editorial":{"definition":"An application writes records with identifiers, vectors or supported text representations and metadata, then queries an index for related items. Pinecone exposes managed index and search capabilities whose exact modes depend on the current product configuration. Namespaces can partition records, and filters can restrict eligible items, but the application must map them to its trusted access policy. Pinecone is a service implementation rather than an embedding concept or complete RAG architecture. Search returns candidates and scores; a downstream system still resolves sources, chooses evidence and validates generated claims.","practice":"The practitioner checks current index options and limits, plans namespaces and stable identifiers and records the encoder version. It tests ingestion, deletion, filtered queries and expected data visibility after writes. Relevance and resource measurements use the intended workload and request patterns. Useful artifacts include the index specification, namespace policy, ingestion adapter and a benchmark with source-level judgments. Backfill and model migrations require a controlled strategy. Managed infrastructure reduces some operational tasks but does not remove the need for error handling and recovery planning.","example":"A software documentation service assigns separate namespaces to independent customer collections. The server chooses the allowed namespace before querying and filters by product version. Pinecone returns passage identifiers that the application resolves to current source content. Tests attempt an unauthorized namespace, a deleted passage and a version with no matching document. The service configuration is accepted only when these cases behave correctly and annotated queries retrieve useful evidence under normal traffic conditions.","limits":"A managed service does not guarantee that a model's embeddings preserve the distinctions a task needs. Index behavior, limits and pricing can change, and data visibility or deletion semantics need current verification. Namespace choice supplied directly by a client can become an access flaw. Evaluation should include filtered relevance, lifecycle correctness and actual usage costs, rather than infer application quality from the absence of infrastructure maintenance work.","sources":[{"title":"Pinecone Database overview","url":"https://docs.pinecone.io/guides/get-started/overview","note":"Official description of managed indexes, records, search and database organization."}],"updatedAt":"2026-10-10"}},{"id":"qdrant","name":"Qdrant","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Qdrant is a vector database that stores vector representations with structured payloads and provides similarity search and filtering. The skill includes configuring collections and indexes, designing payload fields and evaluating recall under selective queries, particularly where metadata and semantic search must work together without weakening explicit constraints.","type":"tool","editorial":{"definition":"A Qdrant point has an identifier, one or more supported vector representations and optional payload data. Collections define relevant vector configuration, while payload conditions constrain search. The service provides index and optimization features whose use depends on the workload and version. This distinguishes Qdrant from an encoder: it stores and searches representations but does not determine whether their geometry captures the task. It also differs from a complete RAG system, where evidence selection, source resolution and generation add further decisions. Filtering and indexing choices jointly influence retrieval behavior.","practice":"The practitioner specifies dimensions, distance metrics, payload types and stable identifiers before ingestion. Representative tests compare approximate results with an appropriate baseline and examine selective filters. Resource measurements cover index construction, updates and query concurrency. Useful artifacts include collection configuration, payload indexes, source mappings and relevance results. Authorization conditions are built by trusted application code and tested across query modes. When embeddings or documents change, controlled replacement or rebuilding keeps source records and their searchable representations consistent.","example":"A machine-parts assistant indexes descriptions with vectors and payloads for manufacturer, revision and allowed organization. A query must respect those payload conditions even if another organization's record is a stronger semantic match. The team tests both retrieval recall inside a small permitted set and deletion of a retired part. A result identifier resolves to the exact current record, so a stale source mapping cannot silently turn a valid vector match into an answer about an obsolete revision.","limits":"Vector proximity is not evidence that a part or passage is correct for a question. Approximate indexing, quantization and filtering can alter candidate recall, and operational configuration affects update visibility. Product features also evolve. Choosing Qdrant should follow measured relevance and lifecycle needs, with clear source and authorization contracts. Its payload capabilities are useful engineering mechanisms, while the surrounding application remains responsible for interpreting and validating the records it returns.","sources":[{"title":"Qdrant overview","url":"https://qdrant.tech/documentation/overview/","note":"Official vector database architecture and supported representation concepts."},{"title":"Qdrant filtering","url":"https://qdrant.tech/documentation/search/filtering/","note":"Explains payload conditions and filter semantics used during retrieval."}],"updatedAt":"2026-10-10"}},{"id":"vector-indexing","name":"Vector Indexing","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Vector indexing organizes embeddings so similarity search can find candidates without comparing every stored vector on each query. Exact and approximate structures trade memory, build effort, update behavior and recall; the skill is selecting and tuning that trade-off with measurements tied to the application's relevance requirements.","type":"concept","editorial":{"definition":"An exact search computes similarity across the eligible collection and provides a useful reference. Approximate nearest-neighbor methods reduce work by organizing vectors into partitions, graphs or compressed representations. HNSW uses a navigable graph, while inverted-file approaches narrow the candidate region; compression can further reduce memory. Search parameters control how much of the structure is explored. Indexing differs from embedding: an index accelerates comparison of existing representations rather than learning their meaning. Missing a relevant item can therefore originate in the representation, the approximate search or both.","practice":"The practitioner benchmarks candidate indexes against exact neighbors on representative queries and measures recall, latency, memory and construction time. Tests include selective filters and changing data distributions, not only an unfiltered static collection. Parameters and training samples are recorded for reproducibility. Useful artifacts include a recall–latency comparison, index configuration and rebuild policy. End-to-end relevance is also checked, since retaining exact vector neighbors is helpful only when those neighbors are useful for the task. Update and deletion behavior belongs in index selection.","example":"A document collection outgrows comfortable exact-search latency. The team tests a graph index at several search-effort settings and compares returned candidates with exact search. A faster setting loses a passage needed for rare error codes, so a more thorough setting is selected for that query class. The report includes index memory and build time. When the collection's subject mix changes, the same benchmark is rerun rather than assuming the earlier recall measurement remains valid indefinitely.","limits":"Approximate recall is not the same as user relevance, and high average recall can hide failures on rare queries. Index parameters tuned on one scale or distribution may not transfer. Compression can also change ranking and score interpretation. Good indexing decisions keep an exact or defensible reference and inspect task errors, balancing resources against acceptable misses rather than claiming that one index structure is universally fastest or best.","sources":[{"title":"Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs","url":"https://arxiv.org/abs/1603.09320","note":"Primary HNSW index design and approximate-search mechanism."},{"title":"FAISS repository","url":"https://github.com/facebookresearch/faiss","note":"Official implementation of multiple exact and approximate vector-index approaches."}],"updatedAt":"2026-10-10"}},{"id":"weaviate","name":"Weaviate","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Weaviate is a database for vector-oriented and hybrid retrieval with structured objects and metadata. Using it requires deliberate schema, representation and query choices, along with testing of filtering, updates and source resolution; built-in integration features do not replace an application's relevance and access-control requirements.","type":"tool","editorial":{"definition":"A Weaviate collection stores objects and properties with configured vector representations. Applications can supply vectors or use supported integration modules, then query through vector, lexical or hybrid mechanisms available in the selected version. The database's object model and operational features surround similarity search with storage and query behavior. Weaviate is distinct from an embedding model, which determines the representation, and from a generative application, which interprets retrieved records. Configuration choices such as vectorization, distance and property indexing affect how an object becomes searchable and how explicit metadata conditions interact with retrieval.","practice":"The practitioner defines collections, properties, identifiers and vector configuration before loading data. It measures lexical, vector and hybrid relevance separately, then evaluates combined behavior. Filters and tenant organization are checked against the trusted access model. Useful artifacts include schema definitions, ingestion mappings, query contracts and relevance and load results. Updates and deletion need tests through both search and source lookup. A model migration requires controlled representation replacement, while deployment planning covers the operational features of the chosen self-hosted or managed environment.","example":"A policy library stores passages with department, policy version and source references. The application queries Weaviate for relevant passages using a hybrid search and restricts results to the user's allowed departments. Tests include an exact policy code and an informal question with different wording. When a policy is replaced, ingestion verifies that the active version is searchable and the obsolete passage is excluded. The answer system cites the original policy text rather than treating a database object or similarity score as sufficient evidence.","limits":"Feature availability and operational behavior depend on version and deployment. A convenient vectorizer can obscure model changes, and hybrid settings can weaken exact-term precision. Approximate search and filters also need relevance measurement. Product choice should follow the actual query and maintenance workload, not a generic claim that vector storage makes an application intelligent. Source integrity, authorization and generated-answer correctness remain separate parts of a reliable retrieval system.","sources":[{"title":"Weaviate Database documentation","url":"https://docs.weaviate.io/weaviate","note":"Official database concepts, object collections and retrieval configuration."}],"updatedAt":"2026-10-10"}},{"id":"cross-encoder-reranking","name":"Cross-Encoder Reranking","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Cross-encoder reranking scores each query and candidate document together, allowing the model to inspect their interaction before reordering results. It is a second-stage retrieval technique that can distinguish subtle relevance differences, while trading per-candidate computation for a ranking that independent embedding similarity may not provide.","type":"concept","aliases":["Cross-Encoder Re-Ranking","CrossEncoder Reranking"],"editorial":{"definition":"A bi-encoder represents query and document separately, enabling reusable document vectors and fast candidate search. A cross-encoder instead processes a query–document pair as one model input and predicts a relevance or relationship score. Because the document representation depends on the query, its score cannot ordinarily be precomputed once for every future search. The approach is therefore commonly applied to a limited candidate set. It is one implementation of search reranking rather than a synonym for all reranking, and its score meaning follows the model's training objective and calibration.","practice":"The practitioner selects a model appropriate for the language and relevance objective, then evaluates ranked candidates against labeled queries. Candidate recall is measured first because reranking cannot repair a missing document. Input-length limits, batching and candidate count are tested for latency and quality. Useful artifacts include the scoring configuration, before-and-after rankings and errors involving negation or near-identical entities. A held-out test checks whether improvements transfer beyond tuning examples. Application constraints and access filtering remain explicit rather than being inferred from the pair score.","example":"A support query asks how to disable automatic updates without disabling security alerts. The first-stage retriever returns several passages mentioning both features. A cross-encoder inspects each passage with the full request and favors the one that preserves alerts while changing update behavior. Tests include a passage instructing users to disable both, which shares many words but violates the condition. The application then verifies that the top passage supports the final answer and measures the extra reranking time under realistic load.","limits":"Cross-encoders can misread a condition, favor familiar wording or truncate the decisive part of a long candidate. A high score is not factual verification, and scores may not be comparable across unrelated queries. More candidates increase opportunity and cost simultaneously. The technique needs task-specific ranking tests and an operational budget, with separate attention to candidate recall, model suitability and whether the reordered evidence actually improves supported answers.","sources":[{"title":"Cross-Encoder usage","url":"https://www.sbert.net/docs/cross_encoder/usage/usage.html","note":"Official explanation of joint pair encoding and predicted scores."}],"updatedAt":"2026-10-10"}},{"id":"multi-vector-retrieval","name":"Multi-Vector Retrieval","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Multi-vector retrieval represents a source item with several vectors and defines how their matches produce an item-level result. The vectors may represent chunks or derived views, or tokens and patches used in late interaction; the aggregation rule is central because multiple vectors alone do not define a retrieval method.","type":"concept","aliases":["Multi Vector Retrieval"],"editorial":{"definition":"A single vector compresses an item into one representation. Multiple vectors can retain separate facets, such as passages, summaries or visual regions. One system may retrieve these views and map hits back to a parent document, while another computes token-level interactions and aggregates their scores. ColBERT is a specific late-interaction approach that compares query-token vectors with document-token vectors. These designs share representational multiplicity but differ in scoring, indexing and storage requirements. Multi-vector retrieval is therefore an umbrella practice, not an automatic synonym for ColBERT or for splitting a document into independently returned chunks.","practice":"The practitioner states what each vector represents and how vector hits are deduplicated, combined or scored at source-item level. Evaluation compares with a single-vector baseline and checks whether items with more vectors receive an unintended advantage. Source mappings and update procedures must keep all representations synchronized. Useful artifacts include the representation schema, aggregation function, storage measurements and relevance results. For late interaction, token or patch handling and supported index mechanisms require explicit configuration. Latency and memory are assessed alongside quality gains.","example":"A technical manual is represented by passage vectors and a short overview vector, all linked to one manual identifier. Search may match a specific procedure or the overview; the application aggregates hits into a ranked manual result and retains the supporting passage. A separate experiment uses token-level late interaction for the same query set. The team compares these mechanisms rather than grouping their scores as if they were equivalent, and checks that long manuals do not win merely because they contain more indexed views.","limits":"More representations can increase storage, indexing and scoring cost without improving relevant retrieval. Poor aggregation can overcount duplicate evidence or bias ranking toward large documents. Generated views may also contain unsupported summaries. Quality checks need original source traceability and a clearly defined scoring rule. Any claimed improvement should identify the multi-vector design and baseline, since gains from one token-level method do not establish the value of every chunk or view aggregation strategy.","sources":[{"title":"ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT","url":"https://arxiv.org/abs/2004.12832","note":"Primary token-level multi-vector late-interaction retrieval design."}],"updatedAt":"2026-10-10"}}],"sections":[{"id":"mathematical-statistical-foundations","name":"Mathematical & Statistical Foundations","skills":["calculus-for-machine-learning","causal-inference","a-b-testing","information-theory","linear-algebra","mathematical-optimization","operations-research","scheduling-algorithms","search-algorithms","bayesian-statistics","monte-carlo-simulation","probability-theory","quantitative-research","statistical-inference","hypothesis-testing"]},{"id":"classical-machine-learning-modeling","name":"Classical Machine Learning & Modeling","skills":["anomaly-detection","exploratory-data-analysis","model-evaluation","predictive-analytics","time-series-forecasting","hyperparameter-optimization","recommender-systems","reinforcement-learning","multi-armed-bandits","classical-machine-learning","gradient-boosting","regression-analysis","unsupervised-learning","prophet","automl","optuna","catboost","classification","decision-trees","ensemble-learning","lightgbm","random-forests","supervised-machine-learning","support-vector-machines","xgboost","cluster-analysis","naive-bayes","hdbscan","smote","sarima","arima","class-imbalance-handling","logistic-regression","k-nearest-neighbors","k-means-clustering","isolation-forest","dbscan","cross-validation","linear-regression","principal-component-analysis"]},{"id":"deep-learning-foundation-model-architectures","name":"Deep Learning & Foundation Model Architectures","skills":["hugging-face","jax","pytorch","tensorflow","deep-learning","edge-ai","open-source-llms","comfyui","diffusion-models","video-generation","graph-neural-networks","multimodal-ai","convolutional-neural-networks","mixture-of-experts","recurrent-neural-networks","state-space-models","transformer-architecture","reasoning-models","transfer-learning","long-context-modeling","litert-tensorflow-lite","nvidia-jetson","large-language-models","generative-adversarial-networks-gan","generative-architectures","hugging-face-diffusers","image-generation","stable-diffusion","pytorch-geometric","model-pruning","autoencoders","contrastive-learning","model-training","resnet","efficientnet","gated-recurrent-unit","roberta","keras","long-short-term-memory","bert"]},{"id":"natural-language-processing-computer-vision","name":"Natural Language Processing & Computer Vision","skills":["audio-ai","computer-vision","object-detection","opencv","vision-language-models","nlp","tokenization","multilingual-nlp","named-entity-recognition","semantic-search","audio-processing","elevenlabs","librosa","speech-recognition","text-to-speech","whisper","detectron2","emotion-recognition","facial-recognition","image-classification","image-segmentation","mmdetection","mediapipe","object-tracking","yolo","dlib","gensim","nltk","spacy","information-retrieval","intent-detection","natural-language-understanding-nlu","summarization","text-classification","word2vec","tf-idf","topic-modeling","text-preprocessing","sentiment-analysis","information-extraction","question-answering"]},{"id":"model-training-fine-tuning-alignment","name":"Model Training, Fine-Tuning & Alignment","skills":["direct-preference-optimization","rlhf","reinforcement-learning-from-verifiable-rewards","reward-modeling","catastrophic-forgetting","fine-tuning-evaluation","hugging-face-peft","hugging-face-trl","llm-fine-tuning","supervised-fine-tuning-sft","model-merging","knowledge-distillation","model-quantization","lora-qlora","continual-pre-training","deepspeed","distributed-training","grpo","unsloth","federated-learning","instruction-tuning"]},{"id":"prompt-engineering-model-interaction","name":"Prompt Engineering & Model Interaction","skills":["context-engineering","synthetic-data-generation","llm-decoding-strategies","prompt-caching","token-optimization","anthropic-api","openai-api","llm-api-integration","semantic-routing","in-context-learning","prompt-engineering","system-prompt-design","prompt-management","automated-prompt-optimization","dspy","program-aided-lms-pal","self-consistency","structured-llm-outputs","test-time-compute-scaling","google-gemini-api","chain-of-thought-prompting"]},{"id":"retrieval-augmented-generation-knowledge-systems","name":"Retrieval-Augmented Generation & Knowledge Systems","skills":["agentic-rag","multimodal-rag","query-optimization","self-reflective-rag","embedding-models","neo4j","ai-grounding-citations","document-ai","document-chunking","graphrag","knowledge-graphs","visual-document-retrieval","retrieval-augmented-generation","hybrid-search","search-re-ranking","faiss","vector-databases","pgvector","sentence-transformers","graph-databases","azure-document-intelligence","contextual-retrieval","bm25","dense-retrieval","opensearch","chroma","lancedb","metadata-filtering","milvus","pinecone","qdrant","vector-indexing","weaviate","cross-encoder-reranking","multi-vector-retrieval"]},{"id":"agentic-ai-systems","name":"Agentic AI Systems","skills":["code-execution-agents","computer-use-ai","deep-research-agents","text-to-sql","voice-agents","ai-agent-design","agent-state-management","agentic-planning-task-decomposition","reflection-self-refinement","self-improving-agents","ai-guardrails","agent-sandboxing","human-in-the-loop-ai","resource-aware-agent-optimization","langchain","langgraph","llamaindex","pydantic-ai","agent-memory-systems","model-context-protocol","multi-agent-coordination-patterns","multi-agent-debate","multi-agent-orchestration","a2a-protocol","llm-function-calling","conversational-ai","dialogflow","dialogue-systems","livekit","rasa","agent-frameworks","crewai","google-adk","microsoft-autogen-agent-framework","semantic-kernel","langflow","low-code-ai-automation","microsoft-copilot-studio","n8n","multi-agent-systems","mcp-gateway-tool-governance","agent-write-action-verification"]},{"id":"llmops-model-serving-inference-optimization","name":"LLMOps, Model Serving & Inference Optimization","skills":["llm-api-gateway","litellm","ci-cd","ml-ci-cd","docker","ai-cost-optimization","ai-finops","semantic-caching","serverless-ai","mlflow","weights-biases","gpu-kernel-programming","inference-optimization","kv-cache-optimization","speculative-decoding","ollama","llama-cpp","kubernetes","kubeflow","bentoml","kserve","llm-inference-serving","ray-serve","sglang","vllm","model-retraining","reproducibility","model-deployment","experiment-tracking","cuda","gpu-acceleration","flashattention","openvino","tensorrt","onnx","onnx-runtime","nvidia-triton-inference-server","tensorrt-llm","torchserve","real-time-inference","disaggregated-inference-serving"]},{"id":"ai-evaluation-observability","name":"AI Evaluation & Observability","skills":["benchmark-analysis","llm-benchmarking","stochastic-system-debugging","agent-evaluation","llm-evaluation-design","llm-as-judge","deepeval","llm-evaluation-frameworks","llm-testing","data-drift","ml-monitoring","llm-observability","langfuse","ai-output-verification","rag-evaluation","ragas","hallucination-detection","bertscore","bleu","rouge","trulens","evidently","langsmith","opentelemetry","rag-faithfulness-evaluation","agentic-task-environment-design"]},{"id":"ai-safety-security-governance-ethics","name":"AI Safety, Security, Governance & Ethics","skills":["secure-rag","ai-data-security","agent-identity-access-management","ai-rate-limiting","ai-supply-chain-security","ai-toxicity-analysis","ai-ethics","ai-fairness","explainable-ai","mechanistic-interpretability","ai-auditability","iso-42001","nemo-guardrails","prompt-injection-defense","presidio","ai-watermarking","ai-red-teaming","adversarial-ai-testing","eu-ai-act-compliance","nist-ai-rmf","agent-threat-modeling-maestro","owasp-top-10-for-llm-applications","saif","lime","shap","ai-incident-response-reporting"]},{"id":"data-engineering-pipelines","name":"Data Engineering & Pipelines","skills":["data-mesh","databricks-unity-catalog","data-contracts","document-parsing","web-scraping","data-modeling","pii-management","data-quality-management","data-observability","entity-resolution","nosql","data-curation","data-labeling-annotation","dataset-engineering","evaluation-data-engineering","training-data-curation","apache-spark","etl-pipeline-design","apache-kafka","stream-processing","event-driven-architecture","apache-iceberg","dbt","data-versioning","bigquery","databricks","snowflake","apache-airflow","beautifulsoup","data-ingestion","optical-character-recognition-ocr","scrapy","tesseract","cvat","data-augmentation","label-studio","kedro","dvc","dagster","prefect","workflow-orchestration","data-cleaning","pii-redaction"]},{"id":"software-engineering-for-ai","name":"Software Engineering for AI","skills":["ai-code-generation","api-development","fastapi","streamlit","duckdb-polars","ai-assisted-development","feature-engineering","python","r","rust","sql","shell-scripting","numpy","pandas","scikit-learn","software-testing","git","github","claude-code","github-copilot","flask","dash","feast","computational-notebooks","jupyter","geopandas","matplotlib","plotly","scipy","seaborn","statsmodels","hypothesis","data-preprocessing-for-ml","feature-scaling","feature-extraction","feature-selection"]},{"id":"cloud-ai-platform-infrastructure","name":"Cloud & AI Platform Infrastructure","skills":["amazon-bedrock","amazon-sagemaker","azure-openai-service","aws","microsoft-azure","distributed-systems","google-vertex-ai","iac-infrastructure-as-code","terraform","aws-fargate","amazon-emr","amazon-textract","azure-ai-search","azure-machine-learning","foundry-tools","microsoft-foundry","cloud-platforms","google-cloud-platform-gcp","dask","hpc-cluster-computing","ray","cloud-run","google-cloud-build","google-cloud-data-fusion"]},{"id":"ai-product-collaboration-professional-practice","name":"AI Product, Collaboration & Professional Practice","skills":["research-to-engineering-translation","technical-mentoring","cross-functional-collaboration","data-storytelling","technical-stakeholder-management","data-visualization","domain-expertise","ai-team-leadership","technical-facilitation","rapid-prototyping","ai-product-management","ai-requirements-engineering","ai-risk-management","ai-ux-design","gradio","shiny","scientific-writing","apache-superset","dashboards","geospatial-data","metrics-definition","skills-taxonomy-architecture-mapping"]}],"ontology":[{"subject":"Dense Retrieval","subject_id":"dense-retrieval","relation":"is subcategory of","object":"Hybrid Search","object_id":"hybrid-search"},{"subject":"Multi-Vector Retrieval","subject_id":"multi-vector-retrieval","relation":"is subcategory of","object":"Dense Retrieval","object_id":"dense-retrieval"}],"prerequisites":[],"fieldNotes":{},"fieldNotesVersion":"2026-10-10"},"glossary":{"version":"2026-06-26+editorial-glossary-2026-01","count":2,"categories":["Agentownosc","Debata","Inne","Karpathy","Kultura","LLMOps","Produkty","Regulacje","Safety","Trening"],"entries":[{"id":"late-interaction-retrieval","idx":417,"term":"Late Interaction & Multi-Vector Retrieval","category":"LLMOps","round":"R4","year":"2020-04-27","author":"Omar Khattab and Matei Zaharia (Stanford University, SIGIR 2020) for ColBERT; Manuel Faysse et al. (Illuin Technology & CentraleSupélec, ICLR 2025) for ColPali.","description":"Late interaction is a neural retrieval paradigm, exemplified by ColBERT for text and ColPali for visually rich documents, that encodes queries and documents into matrices of token-level or image-patch vectors rather than compressing each passage into a single pooled embedding. Relevance is computed at query time via a lightweight maximum-similarity (MaxSim) operator that sums the best-matching document vector for every query vector. This preserves fine-grained lexical and layout signals that single-vector bi-encoders lose while remaining orders of magnitude faster than full cross-encoder reranking, though it increases index storage footprint and memory requirements.","speculative":false,"maturity":3,"maturity_basis":"Late interaction merits maturity 3: it is established across peer-reviewed IR and ML conferences (SIGIR, NAACL, ICLR) and natively supported as a multi-vector data type in major vector databases including Vespa, Qdrant, Milvus, and LanceDB.","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":3,"references":[["ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT","https://arxiv.org/abs/2004.12832","paper"],["ColPali: Efficient Document Retrieval with Vision Language Models","https://arxiv.org/abs/2407.01449","paper"],["ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interaction","https://arxiv.org/abs/2112.01488","paper"]],"skill_id":"multimodal-rag","editorial":{"id":"late-interaction-retrieval","identity":{"canonicalName":"Late Interaction & Multi-Vector Retrieval","aliases":["Late Interaction","ColBERT Retrieval","ColPali Multimodal Late Interaction","MaxSim Multi-Vector Retrieval"],"category":"LLMOps","lifecycle":"established","firstSeenDate":"2020-04-27","firstSeenNote":"Khattab and Zaharia introduced the late-interaction paradigm and MaxSim operator in ColBERT (arXiv April 2020, SIGIR 2020); Faysse et al. extended it to vision-language document retrieval in ColPali (2024).","originAttribution":"Omar Khattab and Matei Zaharia (Stanford University, SIGIR 2020) for ColBERT; Manuel Faysse et al. (Illuin Technology & CentraleSupélec, ICLR 2025) for ColPali.","maturity":3},"content":{"definition":{"text":"Late interaction is a neural retrieval paradigm, exemplified by ColBERT for text and ColPali for visually rich documents, that encodes queries and documents into matrices of token-level or image-patch vectors rather than compressing each passage into a single pooled embedding. Relevance is computed at query time via a lightweight maximum-similarity (MaxSim) operator that sums the best-matching document vector for every query vector. This preserves fine-grained lexical and layout signals that single-vector bi-encoders lose while remaining orders of magnitude faster than full cross-encoder reranking, though it increases index storage footprint and memory requirements.","sourceIds":["s1","s2"]},"originContext":{"text":"Information-retrieval architectures traditionally faced a stark trade-off between fast single-vector bi-encoders—which bottleneck an entire passage into one vector—and accurate cross-encoders that jointly attend over every query-document token pair at prohibitive latency. In April 2020 (SIGIR 2020), Omar Khattab and Matei Zaharia introduced ColBERT, delaying query-document interaction until after independent token-level encoding and using PLAID/residual compression in ColBERTv2 (NAACL 2022) to shrink the index. In 2024, Faysse et al. introduced ColPali, applying late interaction directly to Vision-Language Model (VLM) image-patch embeddings of PDF pages, eliminating fragile OCR and layout-chunking pipelines.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Single-vector dense embeddings frequently fail on exact part numbers, rare entities, multi-constraint queries, and complex PDF tables or charts because pooling averages away localized features. Late interaction retains one vector per token or visual patch, allowing each query token to align with its strongest counterpart anywhere in the document. In both text benchmarks (BEIR, LoTTE) and visual document benchmarks (ViDoRe), late-interaction models consistently outperform single-vector bi-encoders on out-of-domain generalization and complex visual layouts while supporting sub-100ms vector-index search.","sourceIds":["s1","s2"]},"usageExample":{"text":"Instead of running OCR, table-detection, and text chunking on a 10,000-page financial PDF archive, an engineering team renders each page as an image and encodes it with ColPali into 1,030 patch vectors of 128 dimensions stored in Qdrant or Vespa using binary quantization. At query time, the user’s question is encoded into token vectors, scored via MaxSim against candidate page matrices, and the top-3 page images are passed directly to a multimodal LLM for grounded answer generation.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Late interaction merits maturity 3: it is established across peer-reviewed IR and ML conferences (SIGIR, NAACL, ICLR) and natively supported as a multi-vector data type in major vector databases including Vespa, Qdrant, Milvus, and LanceDB.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Storing 500 to 1,000 vectors per document or page increases raw index size by an order of magnitude compared with single-vector embeddings. Practical deployments require aggressive quantization (int8 or binary vectors), token pooling, or two-stage prefetching to keep RAM and IOPS costs manageable at multi-million-document scale.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT","url":"https://arxiv.org/abs/2004.12832","publisher":"Khattab & Zaharia / Stanford University & SIGIR 2020","quality":"A","role":"primary","kind":"paper","publishedAt":"2020-04-27","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"ColPali: Efficient Document Retrieval with Vision Language Models","url":"https://arxiv.org/abs/2407.01449","publisher":"Faysse et al. / ICLR 2025 (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-07-01","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interaction","url":"https://arxiv.org/abs/2112.01488","publisher":"Santhanam et al. / NAACL 2022 (arXiv)","quality":"A","role":"primary","kind":"paper","publishedAt":"2021-12-02","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["rag","graphrag","semantic-compression"],"relatedSkillIds":["multimodal-rag","dense-retrieval","search-re-ranking","information-retrieval","multi-vector-retrieval"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/multimodal-rag","/atlas/genai-2026/skill/dense-retrieval"]},"seo":{"title":"Late Interaction & Multi-Vector Retrieval Guide","description":"Learn how late interaction and MaxSim multi-vector retrieval in ColBERT and ColPali preserve token-level and visual layout signals for RAG systems."},"updatedAt":"2026-10-19","indexable":true}},{"id":"contextual-retrieval-late-chunking","idx":418,"term":"Contextual Retrieval & Late Chunking","category":"LLMOps","round":"R4","year":"2024-09-19","author":"Anthropic (Contextual Retrieval, September 2024) and Günther et al. at Jina AI (Late Chunking, August 2024).","description":"Contextual retrieval and late chunking are document-ingestion techniques designed to preserve global document context when splitting text into retrieval chunks. Contextual retrieval prepends a concise, model-generated situating summary to each chunk before embedding and lexical indexing; late chunking applies a long-context embedding model to the entire document first and pools token representations into chunks only after full-document self-attention has occurred. Both methods mitigate out-of-context reference failures in standard RAG pipelines, but neither substitutes for query-time reranking or fixes downstream reasoning errors over retrieved passages.","speculative":false,"maturity":3,"maturity_basis":"Contextual retrieval and late chunking merit maturity 3: both techniques are supported by reproducible benchmarks, open-source reference implementations, and widespread adoption in production RAG ingestion pipelines.","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":3,"references":[["Introducing Contextual Retrieval","https://www.anthropic.com/news/contextual-retrieval","technical_analysis"],["Late Chunking: Contextual Chunk Embeddings Using Long-Context Embedding Models","https://arxiv.org/abs/2409.04701","paper"],["Anthropic Cookbook: Contextual Embeddings Implementation Guide","https://github.com/anthropics/anthropic-cookbook/tree/main/skills/contextual-embeddings","repository"]],"skill_id":"retrieval-augmented-generation","editorial":{"id":"contextual-retrieval-late-chunking","identity":{"canonicalName":"Contextual Retrieval & Late Chunking","aliases":["Contextual Retrieval","Late Chunking","Context-Preserving Chunking"],"category":"LLMOps","lifecycle":"established","firstSeenDate":"2024-09-19","firstSeenNote":"Jina AI published the Late Chunking paper on 22 August 2024 and Anthropic published Contextual Retrieval on 19 September 2024, establishing the two primary context-preserving chunking methods.","originAttribution":"Anthropic (Contextual Retrieval, September 2024) and Günther et al. at Jina AI (Late Chunking, August 2024).","maturity":3},"content":{"definition":{"text":"Contextual retrieval and late chunking are document-ingestion techniques designed to preserve global document context when splitting text into retrieval chunks. Contextual retrieval prepends a concise, model-generated situating summary to each chunk before embedding and lexical indexing; late chunking applies a long-context embedding model to the entire document first and pools token representations into chunks only after full-document self-attention has occurred. Both methods mitigate out-of-context reference failures in standard RAG pipelines, but neither substitutes for query-time reranking or fixes downstream reasoning errors over retrieved passages.","sourceIds":["s1","s2"]},"originContext":{"text":"Traditional RAG ingestion splits documents into fixed 200–500 token passages before encoding. As a result, a chunk stating \"The company’s revenue grew by 3% over the previous quarter\" loses the entity name and reporting period that appeared on page one. In August 2024, researchers at Jina AI introduced Late Chunking, leveraging 8K-token bi-encoders to run transformer self-attention across the entire document prior to mean-pooling chunk spans. In September 2024, Anthropic introduced Contextual Retrieval, using prompt-cached LLM calls to prepend a 50–100 token document-specific header to every chunk before computing both dense embeddings and BM25 lexical indexes.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Coreference resolution and implicit document scope are among the most common causes of retrieval misses in enterprise RAG. When chunks are embedded in isolation, queries naming both an entity and a metric fail to match passages that use pronouns or section-inherited context. Contextual retrieval enriches both vector and BM25 lexical search with explicit entity names and dates, while late chunking achieves context conditioning at native embedding inference speed without invoking a generative LLM for every chunk.","sourceIds":["s1","s2"]},"usageExample":{"text":"When indexing an SEC 10-K filing, a contextual-retrieval pipeline caches the full filing in the LLM prompt cache and asks the model to generate a two-sentence header for each chunk (for example, \"This chunk is from ACME Corp’s Q2 2025 10-K filing discussing European cloud segment operating margins\"). That header is prepended to the raw passage before indexing in OpenSearch and pgvector. Alternatively, a late-chunking pipeline feeds the entire 6,000-token section into `jina-embeddings-v3`, extracts the contextualized token embeddings, and pools them by paragraph boundaries.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Contextual retrieval and late chunking merit maturity 3: both techniques are supported by reproducible benchmarks, open-source reference implementations, and widespread adoption in production RAG ingestion pipelines.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Contextual retrieval requires an LLM generation pass per chunk at indexing time; even with prompt caching reducing input token costs, re-indexing millions of rapidly changing documents adds nontrivial ingestion latency and cost. Late chunking avoids generative LLM cost but is bounded by the maximum context window of the embedding model and does not enrich lexical BM25 indexes with explicit keywords.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"Introducing Contextual Retrieval","url":"https://www.anthropic.com/news/contextual-retrieval","publisher":"Anthropic","quality":"A","role":"primary","kind":"technical_analysis","publishedAt":"2024-09-19","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"Late Chunking: Contextual Chunk Embeddings Using Long-Context Embedding Models","url":"https://arxiv.org/abs/2409.04701","publisher":"Günther et al. / Jina AI (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-09-07","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"Anthropic Cookbook: Contextual Embeddings Implementation Guide","url":"https://github.com/anthropics/anthropic-cookbook/tree/main/skills/contextual-embeddings","publisher":"Anthropic / GitHub","quality":"B","role":"primary","kind":"repository","publishedAt":"2024-09-19","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["rag","prompt-caching","late-interaction-retrieval"],"relatedSkillIds":["retrieval-augmented-generation","dense-retrieval","embedding-models","context-engineering","contextual-retrieval"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/retrieval-augmented-generation","/atlas/genai-2026/skill/dense-retrieval"]},"seo":{"title":"Contextual Retrieval & Late Chunking in RAG","description":"Compare Anthropic Contextual Retrieval and Jina Late Chunking: how both methods preserve full-document context in RAG embeddings and BM25 indexes."},"updatedAt":"2026-10-19","indexable":true}}]},"roles":{"version":"2026-10-24","profileVersion":"2026-10-24.1","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","note":"Editorial role profiles covering technology, business, operations and engineering. Skills and task examples are indicative, not a complete occupational standard.","sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"categories":[]},"exposure":{"version":"2026-10-24","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","method":{"version":"task-scenario-1","assessmentDate":"2026-10-24","title":"Illustrative task-based AI exposure","scenario":"AI-assisted software and agents with authorized access to relevant digital inputs and tools. A person verifies material outputs and retains decisions, permissions and accountability. Required quality is fit for the stated work context. Physical robotics and unrestricted autonomous action are outside the scenario.","weighting":"Each of the six representative tasks has weight 1. These are assumed units of work, not measured time shares.","outcomes":{"commoditize":"AI can produce a constrained routine output, with human verification.","mixed":"AI assistance is material, but integration, reliability or context can dominate completion.","amplify":"AI supports analysis or design while contextual judgment remains central.","durable":"Physical presence, interpersonal trust or accountable decisions remain central under this scenario."},"calculation":"Sum task weights within each outcome, divide by total weight, and multiply by 100. Display integer percentages using largest remainders in the order commoditize, mixed, amplify, durable. If raw commoditize and amplify are equal, preserve their equality with the floor-or-ceiling allocation having the smallest squared rounding error and a total of 100. Displayed net = displayed commoditize minus displayed amplify. Raw values are retained.","sensitivity":"Range of raw net over all combinations of task weights 0.5 or 2, plus each single-task alternative classification at baseline weights. The two perturbations are evaluated separately. This is a scenario range, not a confidence interval or exhaustive bound.","limitations":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","review":{"type":"AI-assisted editorial review","date":"2026-10-24","independentDomainValidation":false,"scope":"Profile boundaries, explicit task assumptions, rationale consistency and arithmetic. No tool-performance experiment was conducted for these profiles."},"sourceIds":["ilo-tasks","metr-context"]},"sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"note":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","grouping":{"method":"Editorial work families shared with the Role Dictionary. Each role has one primary family; real jobs may combine several profiles.","families":[{"id":"SW","label":"Software Development & Testing","n":16},{"id":"CL","label":"Cloud, Platform & IT Operations","n":14},{"id":"SEC","label":"Cybersecurity & Privacy","n":8},{"id":"DATA","label":"Data Engineering & Analytics","n":11},{"id":"AI","label":"AI & Machine Learning","n":6},{"id":"ENT","label":"Enterprise Applications & Business Analysis","n":6},{"id":"PROD","label":"Product, Project & Change Management","n":8},{"id":"SALES","label":"Sales & Customer Service","n":10},{"id":"MKT","label":"Marketing, Design & Content","n":12},{"id":"HR","label":"People, Learning & Education","n":10},{"id":"FIN","label":"Finance & Accounting","n":6},{"id":"OPS","label":"Business Operations & Administration","n":6},{"id":"LOG","label":"Supply Chain & Logistics","n":4},{"id":"ELEC","label":"Electrical & Industrial Automation","n":4},{"id":"MECH","label":"Mechanical & Manufacturing Engineering","n":5},{"id":"BUILT","label":"Construction & Energy Engineering","n":2},{"id":"QUAL","label":"Quality, Safety & Compliance","n":6},{"id":"EMB","label":"Embedded Systems & Electronics","n":3}]},"roles":[]},"newsroom":{"schemaVersion":"1.1.0","generatedAt":"2026-11-23T18:47:38.499Z","topics":[{"decisionQuestion":"Which tasks have become newly feasible, cheaper, more reliable, or more autonomous?","id":"ai_capability_frontier","label":"AI Capability Frontier"},{"decisionQuestion":"How are tasks, role boundaries, accountability, and human-machine collaboration changing?","id":"work_and_role_change","label":"Work and Role Change"},{"decisionQuestion":"Which capabilities are gaining or losing demand, and where is the evidence visible?","id":"skills_demand_and_labour_market","label":"Skills Demand and Labour Market"},{"decisionQuestion":"How are skills data, inference, assessment, mobility, learning, and workforce-planning systems changing?","id":"skills_systems_and_hr_tech","label":"Skills Systems and HR Tech"},{"decisionQuestion":"Which rules, classifications, standards, and decision rights change what organisations must do?","id":"policy_standards_and_governance","label":"Policy, Standards and Governance"}],"articles":[]},"summary":{"skillCount":473,"sectionCount":15,"ontologyCount":467,"prerequisiteCount":344,"atlasEditorialDate":"2026-11-02","sectionSkillCounts":{"mathematical-statistical-foundations":15,"classical-machine-learning-modeling":40,"deep-learning-foundation-model-architectures":40,"natural-language-processing-computer-vision":41,"model-training-fine-tuning-alignment":21,"prompt-engineering-model-interaction":21,"retrieval-augmented-generation-knowledge-systems":35,"agentic-ai-systems":42,"llmops-model-serving-inference-optimization":41,"ai-evaluation-observability":26,"ai-safety-security-governance-ethics":26,"data-engineering-pipelines":43,"software-engineering-for-ai":36,"cloud-ai-platform-infrastructure":24,"ai-product-collaboration-professional-practice":22},"atlasFacts":{"skills":473,"sections":15,"ontologyRelations":467,"prerequisiteRelations":344,"prerequisites":{"hard":173,"medium":153,"soft":18,"other":0}},"transformerPrerequisites":[{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Self-attention, layer normalization, residual connections, softmax — all are DL building blocks assembled in the Transformer"},{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Q·Kᵀ/√d is a scaled dot product of matrices; multi-head attention is parallel matrix projections — Transformers ARE linear algebra in action"}],"glossaryTermCount":421,"glossaryMaturityCounts":[59,69,215,58,20],"roleCount":137,"exposureFacts":{"roles":137,"assessed":137,"unassessed":0,"exposed":55,"amplified":39,"neutral":43},"exposureLeadersExposed":[{"role":"Accounting Administrator","net":50},{"role":"Document Controller","net":34},{"role":"IT Support Specialist","net":33},{"role":"Office Administrator","net":33},{"role":"Communications & Events Coordinator","net":33}],"exposureLeadersAmplified":[{"role":"Machine Learning Engineer","net":-16},{"role":"Software Architect","net":-16},{"role":"Network Engineer","net":-16},{"role":"Site Reliability Engineer","net":-16},{"role":"Cloud Infrastructure Engineer","net":-16}],"newsroomArticleCount":360,"newsroomTopicCounts":{"ai_capability_frontier":171,"work_and_role_change":157,"skills_demand_and_labour_market":98,"skills_systems_and_hr_tech":152,"policy_standards_and_governance":188}},"partialSlices":["atlas","glossary","roles","exposure","newsroom"]}