Databricks Context Engineer Associate study materials
Databricks Context Engineer Associate study resources

Databricks Context Engineer Associate key terms

Databricks Context Engineer Associate · Get comfortable with the vocabulary.

Context engineering

The practice of selecting, shaping, storing, and delivering the right information to a model at inference time so its output is grounded, current, and relevant rather than relying on training data alone.

Related: Retrieval-augmented generation, Context window
Context window

The maximum number of tokens a model can accept in a single request, covering system prompt, retrieved passages, conversation history, and the user question together. Exceeding it forces truncation or summarization.

Related: Token, Chunking
Token

The atomic unit of text a model reads and bills for, roughly a word fragment. Token counts drive context-window limits, embedding cost, and chunk-size decisions in a pipeline.

Related: Context window, Chunking
Unity Catalog

Databricks' centralized governance layer for data and AI assets. It holds catalogs, schemas, tables, volumes, models, functions, and vector indexes, and enforces permissions and lineage across all of them.

Related: Delta Lake, Vector Search index, Lineage
Delta Lake

The open table format underpinning most Databricks storage. It adds a transaction log for ACID guarantees, schema enforcement, time travel, and change data feed on top of Parquet files.

Related: Change Data Feed, Medallion architecture, Unity Catalog
Medallion architecture

A layered data design with bronze (raw ingested), silver (cleaned and conformed), and gold (business-level, retrieval-ready) tables. Each layer improves quality and narrows what downstream context consumes.

Related: Delta Lake, Data quality expectation
Auto Loader

A Databricks ingestion utility that incrementally detects and processes new files landing in cloud storage. It tracks discovered files in a checkpoint, supports schema inference and evolution, and scales to large volumes.

Related: Structured Streaming, Schema evolution
Structured Streaming

Spark's incremental processing engine where a query runs continuously over an unbounded table. In Databricks it powers near-real-time pipelines that keep context stores fresh as source data arrives.

Related: Auto Loader, Change Data Feed
Change Data Feed

A Delta Lake feature that records row-level inserts, updates, and deletes so downstream consumers can read only what changed. Useful for incrementally refreshing embeddings instead of re-embedding whole tables.

Related: Delta Lake, Structured Streaming
Schema evolution

The ability of a pipeline to absorb new or changed columns without breaking. Relevant when source documents gain metadata fields that must flow into chunk tables and vector index filters.

Related: Auto Loader, Schema enforcement
Schema enforcement

A Delta Lake behavior that rejects writes whose data does not match the table's declared schema, protecting downstream retrieval quality from malformed or unexpected columns.

Related: Schema evolution, Data quality expectation
Chunking

Splitting source documents into smaller passages before embedding. Chunk size and overlap trade retrieval precision against lost surrounding context, and often need tuning per document type.

Related: Embedding, Token, Recursive text splitting
Recursive text splitting

A chunking strategy that tries large natural boundaries first (sections, paragraphs, sentences) and falls back to smaller ones, preserving semantic units better than fixed-length character cuts.

Related: Chunking, Semantic chunking
Semantic chunking

Grouping text by meaning rather than length, for example by detecting topic shifts through embedding similarity between adjacent sentences. Often improves answer grounding at higher compute cost.

Related: Chunking, Embedding
Embedding

A dense numeric vector representing text meaning, produced by a model so that semantically similar passages land near each other in vector space. Stored alongside chunk text for similarity search.

Related: Embedding model, Vector Search index, Cosine similarity
Embedding model

The model that converts text into vectors. Choice affects dimensionality, language coverage, max input length, cost, and retrieval quality; changing it requires re-embedding the whole corpus.

Related: Embedding, Databricks Foundation Model APIs
Cosine similarity

A measure of the angle between two vectors, ranging from -1 to 1, used to rank passages against a query. Ignores magnitude, so it suits normalized embeddings and is the common default metric.

Related: Embedding, Vector Search index
Vector Search index

A Databricks-managed index over embeddings stored in a Delta table, supporting similarity queries with metadata filters. It syncs from the source table and exposes results through an SDK or SQL.

Related: Embedding, Hybrid search, Unity Catalog
Hybrid search

Combining vector similarity with keyword or BM25 matching and merging the ranked results. Recovers exact identifiers and rare terms that pure embedding search often misses.

Related: Vector Search index, Reciprocal rank fusion
Reciprocal rank fusion

A rank-merging method that scores each document by the sum of 1/(k + rank) across result lists. It blends lexical and vector rankings without needing comparable raw scores.

Related: Hybrid search, Reranking
Reranking

A second-stage scoring pass, usually a cross-encoder, that reorders an initial candidate set by fine-grained query-document relevance. Improves precision at the cost of extra latency.

Related: Hybrid search, Reciprocal rank fusion
Retrieval-augmented generation

An architecture that retrieves relevant passages at query time and inserts them into the prompt so the model answers from supplied evidence instead of memory alone, reducing hallucination and staleness.

Related: Vector Search index, Grounding, Context window
Grounding

Tying a model's answer to specific retrieved evidence, ideally with citations, so claims can be traced and verified. A core quality goal of any context pipeline.

Related: Retrieval-augmented generation, Faithfulness
Metadata filtering

Restricting vector search to records matching attribute conditions such as tenant, date, or document type. Enforces scoping and access boundaries before similarity ranking happens.

Related: Vector Search index, Row-level security
Databricks Foundation Model APIs

Hosted endpoints giving pay-per-token access to curated foundation models for chat and embeddings, without managing infrastructure. Useful for prototyping and for workloads that need no custom weights.

Related: Embedding model, Model serving endpoint
Model serving endpoint

A Databricks-hosted REST API exposing a model, agent, or composed chain for real-time inference. Handles scaling, versioning, and authentication for application traffic.

Related: Databricks Foundation Model APIs, LangChain
LangChain

An open-source framework for composing LLM applications from components such as loaders, retrievers, prompt templates, and chains. Integrates with Databricks models, vector stores, and tracing.

Related: Retrieval-augmented generation, Model serving endpoint
Agent

An LLM-driven program that decides which tools or retrieval steps to invoke and iterates toward a goal. Requires guardrails on tool access, step limits, and output validation.

Related: Tool calling, Model serving endpoint
Tool calling

A model capability to emit structured requests for external functions, such as a search or SQL query, whose results are fed back into the conversation. The basis for agentic retrieval.

Related: Agent, Function
MLflow tracing

Instrumentation that records each step of an LLM or agent request as a span, capturing inputs, outputs, latency, and token usage. Essential for debugging and monitoring retrieval pipelines.

Related: Evaluation dataset, Model serving endpoint
Evaluation dataset

A curated set of questions paired with expected answers or relevant documents, used to score retrieval and generation quality repeatably as prompts, chunking, or models change.

Related: Faithfulness, Context recall
Faithfulness

The degree to which every claim in a generated answer is supported by the retrieved context. A high score means little unsupported invention, independent of whether the answer is complete.

Related: Grounding, Context recall
Context recall

A retrieval metric measuring how much of the information needed for the reference answer appears in the retrieved passages. Low recall usually signals chunking, embedding, or top-k problems.

Related: Evaluation dataset, Faithfulness
Row-level security

Access control that restricts which rows a user can see, enforced through Unity Catalog row filters or dynamic views. Critical so retrieval never returns another tenant's or region's content.

Related: Metadata filtering, Unity Catalog
Lineage

A recorded graph of how data moves from source tables through transformations to downstream tables, indexes, and models. Supports impact analysis and audit when context sources change.

Related: Unity Catalog, Delta Lake
Data quality expectation

A declared rule about acceptable data, such as non-null or range constraints, checked during pipeline runs. Failures can warn, drop rows, or halt, protecting retrieval from bad inputs.

Related: Schema enforcement, Medallion architecture
Prompt injection

An attack where untrusted content in retrieved documents or user input steers the model to ignore instructions or leak data. Mitigated by delimiting context, least-privilege tools, and output checks.

Related: Grounding, Agent
Function

A Unity Catalog-governed routine, including Python UDFs, that can be registered, permissioned, and invoked in SQL or agents. A controlled way to expose logic to models and pipelines.

Related: Unity Catalog, Tool calling