{"atlas":{"skills":[{"id":"transformer-architecture","name":"Transformer Architecture","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"The Transformer architecture models relationships using attention alongside learned transformations and positional information. It underpins encoder, decoder and encoder–decoder systems for many tasks. The skill is understanding attention masks, representation flow and runtime costs, so the selected architecture and input format match what information is available when a prediction is made.","type":"concept","editorial":{"definition":"Attention forms weighted combinations of value representations using relationships between queries and keys. Multiple heads learn different projection spaces, while feed-forward blocks, residual connections and normalization transform and stabilize representations. Positional information gives the model access to order that attention alone does not encode. Encoders can attend across an input, causal decoders restrict attention to preceding positions and encoder–decoder models connect an input representation to generated output. These variants have different task and leakage implications. KV caching reuses prior key and value computations during suitable autoregressive inference, but is an execution mechanism rather than the defining concept of a Transformer.","practice":"Choose encoder, causal decoder or encoder–decoder structure from the task. Verify masks, positional handling, padding and token alignment before training or inference. Inspect context-length and memory behavior and compare attention implementations only with behavioral checks. For generation, understand cache state and how decoding settings interact with the model. The deliverable should document architecture and input contracts with evaluation on relevant sequences, including evidence that future or padded information is not unintentionally available and that runtime optimization preserves the intended prediction behavior.","example":"For an illustrative language-understanding classifier, an engineer uses a bidirectional encoder over complete messages. A separate next-token experiment instead applies a causal mask, preventing access to future tokens. The engineer checks both tasks on short synthetic sequences where information flow is easy to inspect. During autoregressive inference, caching reduces repeated computation, but cached and uncached outputs are compared under controlled settings before the optimization is accepted.","limits":"Attention weights are not automatically faithful explanations or causal contributions. Context size and memory grow with architecture and implementation, and position handling may weaken on lengths unlike training. Incorrect masks can produce excellent but leaked results. Transformer architecture is distinct from a particular pretrained language model and does not imply generation, reasoning or multimodal support by itself. Check information flow and the full input-processing contract, and assess optimized attention or caching under the exact workload rather than relying on architectural labels.","sources":[{"title":"Attention Is All You Need","url":"https://arxiv.org/abs/1706.03762","note":"Multi-head attention, positional encoding and encoder–decoder architecture."}],"updatedAt":"2026-10-23"}},{"id":"nlp","name":"NLP","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Natural language processing turns written or spoken language into representations, predictions or generated text for a defined task. The competence is identifying what linguistic information the application needs, selecting suitable data and methods and evaluating errors in context. It combines language-aware problem formulation with reproducible computational workflows.","type":"concept","editorial":{"definition":"Language expresses information through words, syntax, context and conventions that vary across speakers and domains. NLP systems may normalize and tokenize text, assign labels, extract structures, retrieve documents or generate responses. Representations range from sparse word features to contextual neural embeddings, with different assumptions about meaning and sequence. A pipeline can contain deterministic rules and trained components, each with its own error modes. The task determines what counts as correct: a relevant search result, an entity span and a faithful summary require different supervision and evaluation. Competence includes understanding ambiguity and preserving the distinctions between related linguistic tasks rather than expecting one generic model output to satisfy every application.","practice":"Translate the application goal into a specific input-output contract and label definition. Inspect language, document length, style and annotation disagreements before choosing a model. Establish a simple baseline, then add linguistic or learned components where they address observed failures. Split by documents, conversations or time periods to prevent shared content from leaking. Evaluate relevant subgroups and inspect errors involving context, negation or unfamiliar terminology. Version preprocessing and models together. The useful result is a language system whose outputs support the intended decision with documented evidence about coverage, ambiguity and the cases requiring a person or another component.","example":"An illustrative service receives short messages in several languages. The engineer separates intent routing from entity extraction: one predicts the requested action, the other identifies an order number. They compare a keyword baseline with trained components and hold out complete conversations. Error review shows that copied earlier messages confuse the router, so the input scope changes. Evaluation then checks both component accuracy and whether the combined result routes the actual request correctly.","limits":"Text can contain indirect requests, sarcasm, conflicting statements and domain-specific meanings. Models may exploit formatting or source patterns unrelated to the task. A benchmark language or genre may not cover the deployment setting. Preprocessing can remove useful evidence, and fluent generation does not imply comprehension or factuality. Distinguish broad NLP competence from proficiency with a single library, and measure the exact linguistic operation and downstream consequence rather than using one score for the whole pipeline.","sources":[{"title":"Speech and Language Processing","url":"https://web.stanford.edu/~jurafsky/slp3/","note":"Author-maintained reference for linguistic tasks, representations and NLP methods."},{"title":"spaCy: Language Processing Pipelines","url":"https://spacy.io/usage/processing-pipelines","note":"Distinct processing components and their dependencies within language workflows."}],"updatedAt":"2026-10-10"}},{"id":"semantic-search","name":"Semantic Search","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Semantic search retrieves material using learned representations intended to capture meaning beyond exact keyword overlap. The competence is selecting embeddings and similarity measures, constructing a useful index and evaluating retrieval against real information needs. Similar wording or a high vector score does not by itself establish that a result answers the query.","type":"concept","editorial":{"definition":"A common approach encodes queries and candidate passages into vectors, then ranks candidates by cosine similarity or another compatible distance. Bi-encoders represent each item separately, enabling precomputed document vectors and efficient search. Cross-encoders jointly score a query and candidate and can rerank a smaller set at greater computational cost. Symmetric similarity tasks and asymmetric question-to-passage retrieval may require different training or encoding conventions. Chunk boundaries, metadata filters and index approximation affect which evidence is available. Semantic search is one retrieval technique; lexical search remains useful for exact identifiers and rare terms, and hybrid systems can combine the two signals.","practice":"Define relevant results with representative queries and graded judgments. Choose a model suited to the language, domain and query-document relationship, and preserve its encoding instructions and similarity convention. Build passages that retain enough context without hiding relevant detail in overly long chunks. Evaluate recall and rank quality against lexical and hybrid baselines, holding out source families and query variants. Inspect approximate-index misses separately from embedding errors. The result is an evaluated search configuration with documented corpus version, filters, encoding and ranking stages, plus a clear rule for insufficient or irrelevant matches.","example":"An illustrative technician searches manuals with a description of a fault rather than the official component name. Embedding retrieval finds relevant explanatory passages, but searches for an exact part number work better lexically. The developer combines the candidates and reranks them. Held-out queries include similar failures with different causes, and review checks whether retrieved passages contain the actual diagnostic step. A topically similar introduction is not counted as an adequate answer source.","limits":"Embeddings can miss negation, numbers and specialized identifiers, or retrieve a related topic without the needed fact. Similarity values are model-specific and generally not calibrated relevance probabilities. Approximate indexes add retrieval errors, and stale embeddings can misrepresent changed documents. Semantic search differs from question answering because retrieval returns candidates rather than a verified answer. Evaluate ranked relevance and evidence coverage, and retain exact-match support when the application's information needs require it.","sources":[{"title":"Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks","url":"https://arxiv.org/abs/1908.10084","note":"Separately encoded sentence representations for similarity and retrieval."},{"title":"Sentence Transformers: Semantic Search","url":"https://www.sbert.net/examples/sentence_transformer/applications/semantic-search/README.html","note":"Query-corpus encoding, similarity search and symmetric versus asymmetric retrieval."}],"updatedAt":"2026-10-10"}},{"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"}},{"id":"llamaindex","name":"LlamaIndex","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"LlamaIndex is a framework for connecting language-model applications to external data through ingestion, indexing, retrieval and agent workflows. The practitioner uses its data abstractions to preserve document context and build query or tool interfaces, then verifies that retrieved evidence supports the application's answers and actions.","type":"tool","aliases":["llama index"],"editorial":{"definition":"The framework organizes source data into representations that can be indexed and retrieved, with connectors, document processing and query components. Retrieval outputs can feed an answer generator or become tools available to an agent. Workflow facilities coordinate steps when data access is part of a larger process. LlamaIndex therefore spans both data-oriented language-model applications and agent execution, rather than being only a vector database or a model. An index determines how information can be located; an agent decides whether and how to use the exposed interfaces. The application must still define source permissions, provenance and what constitutes a correct response.","practice":"A practitioner chooses connectors and parsing rules, preserves metadata and selects indexing and retrieval methods suited to the documents. They inspect query results before relying on generated answers. If retrieval is exposed as a tool, its description and return format should communicate scope and source references. Useful deliverables include a versioned ingestion pipeline and evaluated query interface. Changes to parsing, chunking or embedding models require checking both retrieval behavior and downstream answers because framework defaults may not fit the source material.","example":"A team builds an assistant over equipment manuals and service bulletins. LlamaIndex loads the documents, carries revision metadata into indexed nodes and exposes a query tool. The assistant retrieves both a manual section and a later bulletin before answering a compatibility question. Evaluation includes obsolete revisions and tables whose meaning depends on nearby headings, allowing the team to inspect whether processing preserves the evidence needed for an accurate answer.","limits":"Connector availability does not guarantee clean data, and indexing does not establish that the right passage will be retrieved. Lost table structure or revision metadata can produce confidently outdated answers. Agent features also need limits and permissions independent of retrieval configuration. Quality depends on source fidelity, retrieval coverage and faithful use of evidence. Framework choice should not conceal the underlying data transformations: when an answer fails, the practitioner must be able to distinguish ingestion, retrieval and generation errors.","sources":[{"title":"LlamaIndex framework documentation","url":"https://developers.llamaindex.ai/python/framework/","note":"Covers data connectors, indexing, querying, agents and workflows for data-connected language-model applications."}],"updatedAt":"2026-11-02"}},{"id":"rag-evaluation","name":"RAG Evaluation","category":"RAG, Grounding & Output Verification","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"RAG evaluation measures how retrieval and generation jointly produce answers from an evidence collection. It separates whether relevant material was found, whether the answer used that material faithfully and whether it addressed the question, so a single polished response or overall score does not hide the stage that failed.","type":"concept","editorial":{"definition":"A RAG pipeline can retrieve irrelevant context, omit a necessary passage or generate claims unsupported by good context. Evaluation therefore needs several dimensions. Retrieval metrics compare ranked candidates with relevance judgments or known supporting passages. Answer checks examine completeness, relevance and contextual support; references or expert labels may also establish correctness. Faithfulness to retrieved context is distinct from real-world truth because a source can itself be wrong. Model-based evaluators can estimate some dimensions, but their prompts and validation matter. The unit of evaluation is the configured pipeline, including data preparation and context selection.","practice":"The practitioner builds questions with supporting evidence and expected behavior, including unanswerable and conflicting-source cases. It retains retrieved passages and source versions during runs. Separate scores and error categories identify retrieval misses, unused evidence and unsupported claims. Useful artifacts include relevance labels, claim–source annotations and a baseline comparison. Evaluators are checked against human judgments, and cost and latency are recorded alongside quality. Changing chunking, embeddings or generation settings is tested end to end because a local metric gain can worsen the final answer.","example":"A policy assistant answers carry-over questions using a policy library. Evaluation finds that the relevant exception appears among candidates but is removed by context selection, leading to an incomplete answer. Another case retrieves an old policy and produces a perfectly faithful but outdated answer. These failures need different corrections. The report preserves retrieval coverage, source version correctness and answer support separately, allowing the team to improve selection or ingestion rather than simply replacing the generator.","limits":"Automated scores can disagree with expert review and may overlook subtle qualifiers. Reference answers can be incomplete, while evaluation questions generated from the same source may be unrealistically easy. Strong faithfulness does not establish source accuracy or answer completeness. Quality reports should name the dimensions, labels and pipeline version, and retain evidence for inspection. RAG evaluation is useful when it diagnoses concrete failure mechanisms instead of collapsing all behavior into one reassuring number.","sources":[{"title":"Ragas: Automated Evaluation of Retrieval Augmented Generation","url":"https://arxiv.org/abs/2309.15217","note":"Defines distinct dimensions for retrieval context and generated-answer evaluation."},{"title":"Ragas faithfulness metric","url":"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/faithfulness/","note":"Documents claim support as a context-dependent property rather than universal factual correctness."}],"updatedAt":"2026-11-02"}},{"id":"secure-rag","name":"Secure RAG","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Secure RAG is the practice of making retrieval-augmented generation respect information boundaries throughout ingestion, retrieval and answer delivery. It combines document authorization, trusted identity handling and adversarial testing so that an assistant can use relevant evidence without exposing material its user is not allowed to read.","type":"concept","editorial":{"definition":"A retrieval system creates additional copies of source information: chunks, embeddings, metadata, cached results and generated answers. Secure RAG preserves the source permission model across those copies and applies authorization before material enters the model context. Authentication establishes who is asking; authorization establishes which records that identity may access. Retrieved text remains untrusted data even when access is legitimate, because a document can contain malicious instructions. Security therefore includes both controlling which evidence is retrieved and constraining what the application can do with it. Encryption alone does not provide these application-level boundaries.","practice":"A practitioner maps source permissions to indexed records, derives query filters from a trusted identity service and verifies that every retrieval path applies them. They decide how revocation propagates to chunks and caches, and separate tenant data where isolation requires it. Useful artifacts include a permission propagation diagram, denial tests and a policy for logging sensitive context. Tests should cover direct queries, citations, summaries and follow-up questions, because a restriction that works only in the first search can fail later in a conversation.","example":"An employee assistant searches both general policies and restricted compensation documents. A user asks why a colleague received a salary adjustment. The retriever excludes the restricted records before constructing context, while the assistant can still explain the public compensation policy. A regression test repeats the request through paraphrases and cached conversations, then removes a user's access and confirms that previously retrieved compensation chunks cannot reappear in a new answer.","limits":"A refusal instruction is not an access-control system, and hiding a citation does not remove information already supplied to the model. Permission metadata can become stale, shared caches can cross user boundaries and overly broad service accounts can defeat careful query filtering. A strong test checks what context and side effects were possible, not only whether the final response looked harmless. Secure retrieval also does not make the retrieved facts accurate.","sources":[{"title":"Microsoft Learn: document-level access control","url":"https://learn.microsoft.com/en-us/azure/search/search-document-level-access-overview","note":"Supports preserving document permissions and enforcing them at retrieval; the example is illustrative."},{"title":"OWASP: prompt injection","url":"https://genai.owasp.org/llmrisk/llm01-prompt-injection/","note":"Supports direct and indirect prompt-injection threats and layered mitigations."}],"updatedAt":"2026-11-02"}}],"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":"AI Grounding & Citations","subject_id":"ai-grounding-citations","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Agentic RAG","subject_id":"agentic-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Document AI","subject_id":"document-ai","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Document Chunking","subject_id":"document-chunking","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Embedding Models","subject_id":"embedding-models","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"GraphRAG","subject_id":"graphrag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Hybrid Search","subject_id":"hybrid-search","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"LlamaIndex","subject_id":"llamaindex","relation":"is an instance of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Multimodal RAG","subject_id":"multimodal-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Query Optimization","subject_id":"query-optimization","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"RAG Evaluation","subject_id":"rag-evaluation","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Retrieval-Augmented Generation","subject_id":"retrieval-augmented-generation","relation":"is subcategory of","object":"GenAI","object_id":"genai"},{"subject":"Search Re-Ranking","subject_id":"search-re-ranking","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Secure RAG","subject_id":"secure-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Self-Reflective RAG","subject_id":"self-reflective-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Semantic Search","subject_id":"semantic-search","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Vector Databases","subject_id":"vector-databases","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Visual Document Retrieval","subject_id":"visual-document-retrieval","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"}],"prerequisites":[{"skill":"Retrieval-Augmented Generation","skill_id":"retrieval-augmented-generation","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"RAG combines retrieval (embeddings, vector search) with generation (LLM) — NLP foundations are the glue"},{"skill":"Retrieval-Augmented Generation","skill_id":"retrieval-augmented-generation","prerequisite":"Vector Databases","prerequisite_id":"vector-databases","strength":"hard","rationale":"The retrieval step in RAG requires a vector database to store and search document embeddings"},{"skill":"Retrieval-Augmented Generation","skill_id":"retrieval-augmented-generation","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"Understanding how the LLM processes retrieved context (attention over concatenated tokens) helps debug RAG quality issues"}],"fieldNotes":{},"fieldNotesVersion":"2026-10-10"},"glossary":{"version":"2026-06-26+editorial-glossary-2026-01","count":6,"categories":["Agentownosc","Debata","Inne","Karpathy","Kultura","LLMOps","Produkty","Regulacje","Safety","Trening"],"entries":[{"id":"rag","idx":24,"term":"Retrieval-Augmented Generation","category":"Agentownosc","round":"R1","year":"2020-05-22","author":"Patrick Lewis and coauthors introduced the named architecture in a 2020 research paper produced across Facebook AI Research, University College London, and New York University.","description":"Retrieval-Augmented Generation (RAG) is a pattern in which a generative model receives evidence retrieved from an external collection at query time and uses that evidence while producing an answer. The original formulation combined a pretrained sequence-to-sequence model's parametric memory with a dense vector index of Wikipedia as non-parametric memory. Modern systems vary in how they index, retrieve, rerank, assemble, and cite evidence.","speculative":false,"maturity":4,"maturity_basis":"Maturity is rated 4 because the pattern has a peer-reviewed origin, a substantial research literature, multiple architectural variants, and an established evaluation vocabulary. The rating applies to RAG as a broad pattern, not to the quality of any particular retriever or deployment.","pl_status":"🔤","pl_term":"RAG","pl_comment":"Akronim; rzadkie \"wyszukiwanie wzbogacające generację\"","relation_count":5,"references":[["Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks","https://arxiv.org/abs/2005.11401","paper"],["Retrieval-Augmented Generation for Large Language Models: A Survey","https://arxiv.org/abs/2312.10997","paper"]],"skill_id":"retrieval-augmented-generation","editorial":{"id":"rag","identity":{"canonicalName":"Retrieval-Augmented Generation","aliases":["RAG"],"category":"Agentownosc","lifecycle":"established","firstSeenDate":"2020-05-22","firstSeenNote":"Lewis and colleagues submitted the reviewed RAG paper on 22 May 2020. The date marks this named neural retrieval-and-generation architecture, not the earlier history of information retrieval or open-domain question answering.","originAttribution":"Patrick Lewis and coauthors introduced the named architecture in a 2020 research paper produced across Facebook AI Research, University College London, and New York University.","maturity":4},"content":{"definition":{"text":"Retrieval-Augmented Generation (RAG) is a pattern in which a generative model receives evidence retrieved from an external collection at query time and uses that evidence while producing an answer. The original formulation combined a pretrained sequence-to-sequence model's parametric memory with a dense vector index of Wikipedia as non-parametric memory. Modern systems vary in how they index, retrieve, rerank, assemble, and cite evidence.","sourceIds":["s1","s2"]},"originContext":{"text":"The 2020 paper framed RAG as a way to improve knowledge-intensive language tasks and make factual knowledge easier to update or inspect than knowledge stored only in model parameters. Later research broadened the label beyond one architecture. A 2023 survey distinguishes naive, advanced, and modular RAG and organizes the field around retrieval, generation, augmentation, and evaluation choices.","sourceIds":["s1","s2"]},"whyItMatters":{"text":"RAG lets an application draw on private, recent, or domain-specific material without retraining the base model for every document change. Retrieved passages can also provide an evidence trail for users and evaluators. Its practical value depends on the whole pipeline: collection quality, chunking, indexing, query construction, retrieval recall, ranking, context assembly, and answer behavior. RAG is therefore an application architecture, not a guarantee that an answer is current or correct.","sourceIds":["s1","s2"]},"usageExample":{"text":"An internal support assistant can index approved product manuals and incident runbooks. When an engineer asks about an error code, the system retrieves the most relevant passages, places them in the model context, and asks for an answer with citations. A robust implementation also checks access permissions, records which passages were used, and declines when retrieval returns weak or conflicting evidence.","sourceIds":["s1","s2"]},"distinctions":[{"termId":"graphrag","explanation":{"text":"GraphRAG is a specialized family of retrieval-augmented approaches that derives graph structure and summaries to answer relationship-heavy or corpus-wide questions. Ordinary RAG can use flat text chunks and does not require a knowledge graph.","sourceIds":["s2"]}},{"termId":"long-context","explanation":{"text":"Long-context models increase how much material can be supplied in one request. RAG selects a subset before generation. The two can be combined; a larger context window does not by itself decide which evidence is relevant, current, or authorized.","sourceIds":["s2"]}}],"maturityRationale":{"text":"Maturity is rated 4 because the pattern has a peer-reviewed origin, a substantial research literature, multiple architectural variants, and an established evaluation vocabulary. The rating applies to RAG as a broad pattern, not to the quality of any particular retriever or deployment.","sourceIds":["s1","s2"]},"limitations":{"text":"Retrieval can miss decisive evidence, surface stale or adversarial text, or return passages that look similar but do not answer the question. Generation can ignore, distort, or overgeneralize retrieved material. Chunk boundaries may destroy context, while aggressive retrieval increases latency and context cost. Teams need retrieval and answer-level evaluation, provenance, permission filtering, update processes, and defenses against instructions embedded in untrusted documents.","sourceIds":["s2"]}},"sources":[{"id":"s1","title":"Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks","url":"https://arxiv.org/abs/2005.11401","publisher":"Facebook AI Research, UCL, and NYU / NeurIPS","quality":"A","role":"primary","kind":"paper","publishedAt":"2020-05-22","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"Retrieval-Augmented Generation for Large Language Models: A Survey","url":"https://arxiv.org/abs/2312.10997","publisher":"Independent academic collaboration / arXiv","quality":"B","role":"independent","kind":"paper","publishedAt":"2023-12-18","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["graphrag","long-context","context-engineering","hallucination","belief-tree-propagation"],"relatedSkillIds":["retrieval-augmented-generation","information-retrieval","rag-evaluation"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/retrieval-augmented-generation"]},"seo":{"title":"Retrieval-Augmented Generation (RAG) Explained","description":"Learn how RAG retrieves external evidence for language models, where it helps, how it differs from long context and GraphRAG, and why evaluation matters."},"updatedAt":"2026-09-07","indexable":true}},{"id":"compound-ai-systems","idx":29,"term":"Compound AI Systems","category":"Agentownosc","round":"R1","year":"2024-02-18","author":"Matei Zaharia, Omar Khattab, Lingjiao Chen, Jared Quincy Davis, and collaborators at Berkeley AI Research introduced the influential 2024 framing; independent IBM and systems research later developed enterprise and resource-management views.","description":"A compound AI system performs an AI task through multiple interacting components rather than one model call alone. Components can include language or specialist models, retrievers, databases, rules, rankers, verifiers, code executors, and external tools. The defining property is composition around an end-to-end task. The control flow may be fixed, learned, or agent-directed, so a compound system is not automatically an autonomous agent.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. The term has a clear primary definition and independent architectural and systems research. The design space is active rather than standardized: shared methods for end-to-end optimization, tracing, resource allocation, and safety evaluation are still developing.","pl_status":"🆕","pl_term":"złożone systemy AI","pl_comment":"Można po polsku, ale \"compound AI\" dominuje w dyskursie","relation_count":5,"references":[["The Shift from Models to Compound AI Systems","https://bair.berkeley.edu/blog/2024/02/18/compound-ai-systems/","technical_analysis"],["A Blueprint Architecture of Compound AI Systems for Enterprise","https://arxiv.org/abs/2406.00584","paper"],["Towards Resource-Efficient Compound AI Systems","https://arxiv.org/abs/2501.16634","paper"]],"skill_id":"distributed-systems","editorial":{"id":"compound-ai-systems","identity":{"canonicalName":"Compound AI Systems","aliases":["compound AI system","multi-component AI system","compound AI architecture"],"category":"Agentownosc","lifecycle":"established","firstSeenDate":"2024-02-18","firstSeenNote":"Berkeley AI Research published the reviewed definition on 18 February 2024. Multi-component AI applications are much older; the date marks the named compound-AI-systems framing rather than the invention of pipelines, retrieval, tools, or orchestration.","originAttribution":"Matei Zaharia, Omar Khattab, Lingjiao Chen, Jared Quincy Davis, and collaborators at Berkeley AI Research introduced the influential 2024 framing; independent IBM and systems research later developed enterprise and resource-management views.","maturity":3},"content":{"definition":{"text":"A compound AI system performs an AI task through multiple interacting components rather than one model call alone. Components can include language or specialist models, retrievers, databases, rules, rankers, verifiers, code executors, and external tools. The defining property is composition around an end-to-end task. The control flow may be fixed, learned, or agent-directed, so a compound system is not automatically an autonomous agent.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"The Berkeley AI Research post in February 2024 named a shift from optimizing a single model to designing systems of interacting components. An IBM Research paper later proposed an enterprise blueprint with planners, registries, data sources, agents, and production constraints. Systems researchers subsequently focused on the resource consequences of these workflows, arguing that orchestration and cluster scheduling need to be coordinated rather than optimized independently.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Composition lets a product add current or private data, deterministic checks, specialized tools, and different cost-quality paths without retraining one monolithic model for every change. It also moves reliability to the system level. A strong component can be undermined by poor retrieval, routing, permissions, state handling, or verification, while local metrics may miss failures caused by component interactions.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"A support assistant may classify a request, retrieve authorized account and policy data, call a language model, validate the proposed action, and either answer or hand the case to a person. The team evaluates the entire trace, including retrieval and tool failures, instead of reporting only the language model's benchmark score. It also budgets latency and cost across components and tests what happens when one dependency is unavailable.","sourceIds":["s1","s2","s3"]},"distinctions":[{"termId":"agentic-workflows","explanation":{"text":"An agentic workflow gives a model or policy some control over selecting steps or tools. A compound AI system is broader: its interactions can be a deterministic pipeline with no autonomous planning. Agentic workflows are one possible control pattern inside a compound system.","sourceIds":["s1","s2"]}},{"termId":"rag","explanation":{"text":"RAG combines retrieval with generation to supply external evidence. It is a common compound-system pattern, but compound systems can use many other combinations, and a RAG pipeline can itself contain routing, reranking, verification, and tool calls.","sourceIds":["s1","s2"]}}],"maturityRationale":{"text":"Maturity is rated 3. The term has a clear primary definition and independent architectural and systems research. The design space is active rather than standardized: shared methods for end-to-end optimization, tracing, resource allocation, and safety evaluation are still developing.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Adding components can improve control but also expands latency, cost, security boundaries, and failure combinations. Components may be optimized against incompatible metrics, and a verifier can share blind spots with the generator it checks. Dynamic routing makes two apparently identical requests follow different paths. Teams need versioned configurations, trace-level evaluation, access controls, dependency fallbacks, and end-to-end tests. The label should describe a real system architecture, not decorate any application that makes two API calls.","sourceIds":["s1","s2","s3"]}},"sources":[{"id":"s1","title":"The Shift from Models to Compound AI Systems","url":"https://bair.berkeley.edu/blog/2024/02/18/compound-ai-systems/","publisher":"Berkeley AI Research","quality":"B","role":"primary","kind":"technical_analysis","publishedAt":"2024-02-18","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s2","title":"A Blueprint Architecture of Compound AI Systems for Enterprise","url":"https://arxiv.org/abs/2406.00584","publisher":"IBM Research / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-06-02","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s3","title":"Towards Resource-Efficient Compound AI Systems","url":"https://arxiv.org/abs/2501.16634","publisher":"Microsoft Research, Brown and MIT / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-01-28","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"}],"relations":{"relatedTermIds":["rag","agentic-workflows","tool-use-function-calling","structured-outputs","llmops"],"relatedSkillIds":["distributed-systems","retrieval-augmented-generation"],"inboundPaths":["/glossary","/glossary/term/structured-outputs","/glossary/term/llmops"]},"seo":{"title":"Compound AI Systems: Design and Trade-offs","description":"Learn how compound AI systems combine models, retrieval, tools and checks, how they differ from agents and RAG, and why end-to-end evaluation matters."},"updatedAt":"2026-09-03","indexable":true}},{"id":"graphrag","idx":30,"term":"GraphRAG","category":"Agentownosc","round":"R1","year":"2024-02-13","author":"Jonathan Larson and Steven Truitt introduced GraphRAG publicly through Microsoft Research in February 2024; the research team later formalized the method for corpus-wide questions and released an open implementation and documentation.","description":"GraphRAG is a family of retrieval-augmented generation approaches that derives a graph of entities and relationships from a source corpus and uses graph structure, clusters, or summaries to support model answers. Microsoft's reference pipeline extracts a knowledge graph, builds a hierarchy of communities, produces summaries, and offers query modes for local and corpus-wide questions. Other implementations may use different graph stores and retrieval strategies.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. GraphRAG has a documented research method, an open Microsoft implementation, and an independent Neo4j implementation. However, graph extraction, community detection, query modes, and evaluation remain implementation-dependent, and production evidence is less mature than for conventional RAG.","pl_status":"🔤","pl_term":"GraphRAG","pl_comment":"Nazwa techniczna","relation_count":4,"references":[["From Local to Global: A Graph RAG Approach to Query-Focused Summarization","https://arxiv.org/abs/2404.16130","paper"],["GraphRAG documentation","https://microsoft.github.io/graphrag/","official_docs"],["Neo4j GraphRAG for Python documentation","https://neo4j.com/docs/neo4j-graphrag-python/current/","independent_implementation"],["GraphRAG: Unlocking LLM discovery on narrative private data","https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/","source_announcement"]],"skill_id":"graphrag","editorial":{"id":"graphrag","identity":{"canonicalName":"GraphRAG","aliases":["graph-based retrieval-augmented generation","knowledge graph RAG"],"category":"Agentownosc","lifecycle":"established","firstSeenDate":"2024-02-13","firstSeenNote":"Microsoft Research publicly introduced GraphRAG by name on 13 February 2024. The later paper formalized its approach to global questions over text corpora; knowledge-graph retrieval and graph-enhanced question answering have earlier lineages.","originAttribution":"Jonathan Larson and Steven Truitt introduced GraphRAG publicly through Microsoft Research in February 2024; the research team later formalized the method for corpus-wide questions and released an open implementation and documentation.","maturity":3},"content":{"definition":{"text":"GraphRAG is a family of retrieval-augmented generation approaches that derives a graph of entities and relationships from a source corpus and uses graph structure, clusters, or summaries to support model answers. Microsoft's reference pipeline extracts a knowledge graph, builds a hierarchy of communities, produces summaries, and offers query modes for local and corpus-wide questions. Other implementations may use different graph stores and retrieval strategies.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"Microsoft Research publicly introduced GraphRAG in February 2024 for connecting information and summarizing themes across narrative private datasets. The April paper then formalized global questions that require synthesis across an entire corpus, a difficult case for baseline RAG that retrieves a few semantically similar chunks. Microsoft subsequently documented an open pipeline, while Neo4j published an independent GraphRAG package that integrates graph retrieval with several model providers.","sourceIds":["s4","s1","s2","s3"]},"whyItMatters":{"text":"Flat chunk retrieval is effective when the question maps to a small number of passages, but it can miss distributed themes and multi-hop relationships. A graph can preserve explicit connections and provide higher-level summaries, helping analysts explore who or what is connected and what patterns span a corpus. GraphRAG is especially relevant for document collections where relationships, entities, and corpus-level sensemaking matter more than isolated passage lookup.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"A risk team could process incident reports into entities such as suppliers, systems, locations, and failure types, then connect co-occurring or extracted relationships. Local search could answer which incidents involve one supplier; global search could summarize recurring failure patterns across communities. Analysts should retain links from graph nodes and summaries back to source passages so they can verify an answer against the underlying reports.","sourceIds":["s1","s2","s3"]},"distinctions":[{"termId":"rag","explanation":{"text":"RAG is the broad pattern of retrieving external evidence for generation. GraphRAG adds graph construction and graph-aware retrieval or summarization. It is a RAG specialization, not a replacement term for every retrieval system that stores metadata or links.","sourceIds":["s1","s2"]}},{"termId":"long-context","explanation":{"text":"Long context supplies more raw material directly to a model. GraphRAG preprocesses a corpus into relationships and summaries, then selects graph-derived evidence. The approaches can be combined, but each introduces different costs and failure modes.","sourceIds":["s1","s2"]}}],"maturityRationale":{"text":"Maturity is rated 3. GraphRAG has a documented research method, an open Microsoft implementation, and an independent Neo4j implementation. However, graph extraction, community detection, query modes, and evaluation remain implementation-dependent, and production evidence is less mature than for conventional RAG.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Graph construction adds model calls, storage, latency, and update complexity before users can query the corpus. Entity resolution and relation extraction can create false or duplicate nodes; community summaries can omit minority evidence or propagate an early error. Global answers may be expensive, and benefits depend on the question type. Teams should benchmark against simpler RAG, preserve provenance, measure extraction quality, and define incremental rebuild procedures.","sourceIds":["s1","s2","s3"]}},"sources":[{"id":"s1","title":"From Local to Global: A Graph RAG Approach to Query-Focused Summarization","url":"https://arxiv.org/abs/2404.16130","publisher":"arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2024-04-24","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"GraphRAG documentation","url":"https://microsoft.github.io/graphrag/","publisher":"Microsoft","quality":"A","role":"primary","kind":"official_docs","publishedAt":"2024","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s3","title":"Neo4j GraphRAG for Python documentation","url":"https://neo4j.com/docs/neo4j-graphrag-python/current/","publisher":"Neo4j","quality":"A","role":"independent","kind":"independent_implementation","publishedAt":"2024","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s4","title":"GraphRAG: Unlocking LLM discovery on narrative private data","url":"https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/","publisher":"Microsoft Research","quality":"A","role":"primary","kind":"source_announcement","publishedAt":"2024-02-13","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["rag","long-context","context-engineering","llm-wiki"],"relatedSkillIds":["graphrag","knowledge-graphs","retrieval-augmented-generation"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/graphrag"]},"seo":{"title":"GraphRAG: Graph-Based Retrieval Explained","description":"Learn how GraphRAG builds entity graphs and community summaries for relationship-heavy and corpus-wide questions, and when simpler RAG may be better."},"updatedAt":"2026-08-27","indexable":true}},{"id":"context-engineering","idx":78,"term":"Context Engineering","category":"Agentownosc","round":"R1","year":"2025-06-23","author":"Context engineering emerged through distributed practitioner usage rather than one verified invention. LangChain and Anthropic published influential definitions in 2025; later research began to formalize the practice.","description":"Context engineering is the practice of selecting, structuring, and maintaining the information available to a language model at inference time so that it can perform a task reliably. The context can include system instructions, user messages, retrieved documents, tool definitions and results, examples, memory, summaries, and current workflow state. The work is dynamic because the useful context may change at every step of an agent loop.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. The term has clear definitions from multiple organizations and names a durable set of production practices, but its boundaries, measurements, and professional methodology remain fluid. The 2026 paper is useful formalization evidence, not proof of an established scientific consensus.","pl_status":null,"pl_term":null,"pl_comment":"The legacy value mixes an English label with an unreviewed Polish translation; it is withheld until a Polish-language editor selects one canonical form.","relation_count":5,"references":[["Effective context engineering for AI agents","https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents","technical_analysis"],["The rise of context engineering","https://www.langchain.com/blog/the-rise-of-context-engineering","technical_analysis"],["Context Engineering: A Practitioner Methodology for Structured Human-AI Collaboration","https://arxiv.org/abs/2604.04258","paper"]],"skill_id":"context-engineering","editorial":{"id":"context-engineering","identity":{"canonicalName":"Context Engineering","aliases":["context design","LLM context engineering","agent context engineering"],"category":"Agentownosc","lifecycle":"established","firstSeenDate":"2025-06-23","firstSeenNote":"LangChain published the earliest reviewed substantial definition on 23 June 2025. The phrase circulated in practitioner discussion around the same period, while the underlying practices of retrieval, memory, prompt construction, and context management are older.","originAttribution":"Context engineering emerged through distributed practitioner usage rather than one verified invention. LangChain and Anthropic published influential definitions in 2025; later research began to formalize the practice.","maturity":3},"content":{"definition":{"text":"Context engineering is the practice of selecting, structuring, and maintaining the information available to a language model at inference time so that it can perform a task reliably. The context can include system instructions, user messages, retrieved documents, tool definitions and results, examples, memory, summaries, and current workflow state. The work is dynamic because the useful context may change at every step of an agent loop.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"In 2025, practitioners used the term to distinguish whole-context design from wording a prompt alone. LangChain described systems that provide the right information and tools in the right format, while Anthropic defined the problem as curating the tokens available during inference under a finite attention budget. A 2026 preprint proposes a more structured practitioner methodology, but its authors describe limited observational evidence rather than a settled standard.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Model quality is only one determinant of application quality. An agent can fail because instructions conflict, retrieved material is stale, tool descriptions are ambiguous, history crowds out current evidence, or important state is missing. Context engineering treats those inputs as an operational system that can be measured and improved. It connects retrieval, memory, prompt design, compaction, tool ergonomics, permissions, and evaluation instead of optimizing each component in isolation.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"A coding agent working in a large repository might begin with concise project instructions and file paths rather than loading every file. It searches for relevant symbols when needed, adds only the most useful code and test output, records durable decisions in structured notes, and compacts older dialogue before the context window fills. Evaluations can compare whether this policy improves task success without excessive tokens or stale state.","sourceIds":["s1","s2"]},"distinctions":[{"termId":"prompt-engineering","explanation":{"text":"Prompt engineering focuses on the instructions and examples used to elicit behavior. Context engineering includes prompt design but also governs retrieved evidence, message history, tool descriptions and results, memory, and the policy for adding or removing information over time.","sourceIds":["s1","s2"]}},{"termId":"rag","explanation":{"text":"RAG retrieves external evidence for a request. It is one context-supply mechanism. Context engineering additionally decides when retrieval occurs, how evidence competes with other inputs, what the model retains, and how the assembled context is evaluated.","sourceIds":["s1","s2"]}}],"maturityRationale":{"text":"Maturity is rated 3. The term has clear definitions from multiple organizations and names a durable set of production practices, but its boundaries, measurements, and professional methodology remain fluid. The 2026 paper is useful formalization evidence, not proof of an established scientific consensus.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"More context is not automatically better. Irrelevant, duplicated, stale, or malicious inputs can dilute attention and change behavior. Summaries can erase details; retrieval can miss evidence; memory can preserve errors; and context policies can leak data across users. Teams need task-specific evaluations, provenance, access controls, token and latency budgets, and explicit rules for retention, compaction, and deletion. The field still lacks a universal context-quality metric.","sourceIds":["s1","s2","s3"]}},"sources":[{"id":"s1","title":"Effective context engineering for AI agents","url":"https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents","publisher":"Anthropic","quality":"A","role":"primary","kind":"technical_analysis","publishedAt":"2025-09-29","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"The rise of context engineering","url":"https://www.langchain.com/blog/the-rise-of-context-engineering","publisher":"LangChain","quality":"B","role":"independent","kind":"technical_analysis","publishedAt":"2025-06-23","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s3","title":"Context Engineering: A Practitioner Methodology for Structured Human-AI Collaboration","url":"https://arxiv.org/abs/2604.04258","publisher":"arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2026-04-05","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["prompt-engineering","rag","long-context","prompt-caching","compaction"],"relatedSkillIds":["context-engineering","retrieval-augmented-generation","prompt-caching"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/context-engineering"]},"seo":{"title":"What Is Context Engineering? LLM Memory, Tools & Limits","description":"Context engineering defined: curating instructions, retrieved evidence, tool schemas, memory and state for LLM agents beyond static prompt engineering."},"updatedAt":"2026-11-20","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}},{"id":"knowledge-poisoning","idx":428,"term":"Knowledge Poisoning (Corpus Poisoning / PoisonedRAG)","category":"Safety","round":"R4","year":"2024-02-12","author":"Wei Zou et al. (Penn State / USENIX Security 2025) and Zexuan Zhong et al. (Princeton University, EMNLP 2023).","description":"Knowledge poisoning, also known as corpus poisoning or PoisonedRAG, is an adversarial attack in which an attacker injects a small number of crafted documents into an external retrieval database so that a Retrieval-Augmented Generation (RAG) system retrieves them for target queries and generates attacker-chosen answers. Unlike training-time data poisoning or direct prompt injection by the end user, knowledge poisoning compromises the grounding corpus itself and can bypass standard retrieval ranking and safety filters without modifying model weights. It demonstrates that grounding a model in retrieved documents does not inherently guarantee trustworthiness without provenance and access controls.","speculative":false,"maturity":3,"maturity_basis":"Knowledge poisoning merits maturity 3: it is validated across top peer-reviewed security and NLP venues (USENIX Security, EMNLP, IEEE S&P) with open-source benchmark suites and recognized in OWASP LLM Top 10 (LLM04 / LLM08).","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":3,"references":[["PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models","https://arxiv.org/abs/2402.07867","paper"],["Poisoning Retrieval Corpora by Injecting Adversarial Passages","https://arxiv.org/abs/2310.19156","paper"],["Certifiably Robust RAG against Retrieval Corruption (RobustRAG)","https://arxiv.org/abs/2405.15556","paper"]],"skill_id":"secure-rag","editorial":{"id":"knowledge-poisoning","identity":{"canonicalName":"Knowledge Poisoning (Corpus Poisoning / PoisonedRAG)","aliases":["Knowledge Poisoning","Corpus Poisoning","PoisonedRAG","RAG Knowledge Base Poisoning"],"category":"Safety","lifecycle":"established","firstSeenDate":"2024-02-12","firstSeenNote":"Zou et al. submitted PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models on 12 February 2024 (published at USENIX Security 2025); Zhong et al. previously studied dense-retriever corpus poisoning at EMNLP 2023.","originAttribution":"Wei Zou et al. (Penn State / USENIX Security 2025) and Zexuan Zhong et al. (Princeton University, EMNLP 2023).","maturity":3},"content":{"definition":{"text":"Knowledge poisoning, also known as corpus poisoning or PoisonedRAG, is an adversarial attack in which an attacker injects a small number of crafted documents into an external retrieval database so that a Retrieval-Augmented Generation (RAG) system retrieves them for target queries and generates attacker-chosen answers. Unlike training-time data poisoning or direct prompt injection by the end user, knowledge poisoning compromises the grounding corpus itself and can bypass standard retrieval ranking and safety filters without modifying model weights. It demonstrates that grounding a model in retrieved documents does not inherently guarantee trustworthiness without provenance and access controls.","sourceIds":["s1","s2"]},"originContext":{"text":"Following the widespread adoption of RAG to mitigate LLM hallucinations, security researchers examined what happens when the retrieval corpus contains untrusted third-party content (such as indexed web pages, shared wikis, tickets, or emails). Building on Zhong et al.’s EMNLP 2023 work on poisoning dense retrievers via gradient-optimized adversarial passages (\"HotFlip\"), Wei Zou et al. introduced PoisonedRAG in February 2024 (USENIX Security 2025), decomposing the attack into a retrieval condition (crafting text that maximizes vector or lexical similarity to target queries) and a generation condition (steering the LLM to output the target falsehood).","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"PoisonedRAG demonstrated that injecting just five crafted passages into a corpus of millions of documents (such as Natural Questions or MS MARCO) can achieve over 90% attack success rate in both black-box and white-box retrieval settings. Because the injected passage looks like factual domain text rather than an imperative \"ignore previous instructions\" command, prompt-injection classifiers that scan only for instruction-override syntax frequently fail to flag it.","sourceIds":["s1","s2"]},"usageExample":{"text":"An attacker posts a public support forum comment crafted to have high cosine similarity with queries about a competitor’s API authentication endpoint while stating that TLS certificate verification must be disabled to fix timeout errors. When a developer’s RAG assistant indexes public community threads, the poisoned passage ranks in the top-3 retrieved chunks and the assistant recommends disabling TLS verification as a cited best practice.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Knowledge poisoning merits maturity 3: it is validated across top peer-reviewed security and NLP venues (USENIX Security, EMNLP, IEEE S&P) with open-source benchmark suites and recognized in OWASP LLM Top 10 (LLM04 / LLM08).","sourceIds":["s1","s2","s3"]},"limitations":{"text":"White-box embedding collisions require knowing the target embedding model architecture, and multi-source consensus defenses (such as RobustRAG or provenance-weighted reranking) can substantially reduce single-document attack success when authoritative documents outnumber untrusted sources.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models","url":"https://arxiv.org/abs/2402.07867","publisher":"Zou et al. / USENIX Security 2025 (arXiv)","quality":"A","role":"primary","kind":"paper","publishedAt":"2024-02-12","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"Poisoning Retrieval Corpora by Injecting Adversarial Passages","url":"https://arxiv.org/abs/2310.19156","publisher":"Zhong et al. / Princeton University & EMNLP 2023 (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2023-10-30","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"Certifiably Robust RAG against Retrieval Corruption (RobustRAG)","url":"https://arxiv.org/abs/2405.15556","publisher":"Xiang et al. (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-05-24","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["rag","indirect-prompt-injection","data-poisoning-nightshade"],"relatedSkillIds":["secure-rag","ai-data-security","retrieval-augmented-generation","adversarial-ai-testing"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/secure-rag","/atlas/genai-2026/skill/ai-data-security"]},"seo":{"title":"Knowledge Poisoning & PoisonedRAG Attacks","description":"Understand how knowledge poisoning (PoisonedRAG) corrupts external retrieval corpora so RAG systems retrieve and output attacker-chosen disinformation."},"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"]}