Databricks Context Engineer Associate key terms
Databricks Context Engineer Associate · Get comfortable with the vocabulary.
- Context engineering
- Related: Retrieval-augmented generation, Context window
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.
- Context window
- Related: Token, Chunking
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.
- Token
- Related: Context window, Chunking
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.
- Unity Catalog
- Related: Delta Lake, Vector Search index, Lineage
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.
- Delta Lake
- Related: Change Data Feed, Medallion architecture, Unity Catalog
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.
- Medallion architecture
- Related: Delta Lake, Data quality expectation
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.
- Auto Loader
- Related: Structured Streaming, Schema evolution
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.
- Structured Streaming
- Related: Auto Loader, Change Data Feed
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.
- Change Data Feed
- Related: Delta Lake, Structured Streaming
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.
- Schema evolution
- Related: Auto Loader, Schema enforcement
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.
- Schema enforcement
- Related: Schema evolution, Data quality expectation
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.
- Chunking
- Related: Embedding, Token, Recursive text splitting
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.
- Recursive text splitting
- Related: Chunking, Semantic chunking
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.
- Semantic chunking
- Related: Chunking, Embedding
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.
- Embedding
- Related: Embedding model, Vector Search index, Cosine similarity
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.
- Embedding model
- Related: Embedding, Databricks Foundation Model APIs
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.
- Cosine similarity
- Related: Embedding, Vector Search index
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.
- Vector Search index
- Related: Embedding, Hybrid search, Unity Catalog
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.
- Hybrid search
- Related: Vector Search index, Reciprocal rank fusion
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.
- Reciprocal rank fusion
- Related: Hybrid search, Reranking
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.
- Reranking
- Related: Hybrid search, Reciprocal rank fusion
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.
- Retrieval-augmented generation
- Related: Vector Search index, Grounding, Context window
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.
- Grounding
- Related: Retrieval-augmented generation, Faithfulness
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.
- Metadata filtering
- Related: Vector Search index, Row-level security
Restricting vector search to records matching attribute conditions such as tenant, date, or document type. Enforces scoping and access boundaries before similarity ranking happens.
- Databricks Foundation Model APIs
- Related: Embedding model, Model serving endpoint
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.
- Model serving endpoint
- Related: Databricks Foundation Model APIs, LangChain
A Databricks-hosted REST API exposing a model, agent, or composed chain for real-time inference. Handles scaling, versioning, and authentication for application traffic.
- LangChain
- Related: Retrieval-augmented generation, Model serving endpoint
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.
- Agent
- Related: Tool calling, Model serving endpoint
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.
- Tool calling
- Related: Agent, Function
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.
- MLflow tracing
- Related: Evaluation dataset, Model serving endpoint
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.
- Evaluation dataset
- Related: Faithfulness, Context recall
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.
- Faithfulness
- Related: Grounding, Context recall
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.
- Context recall
- Related: Evaluation dataset, Faithfulness
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.
- Row-level security
- Related: Metadata filtering, Unity Catalog
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.
- Lineage
- Related: Unity Catalog, Delta Lake
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.
- Data quality expectation
- Related: Schema enforcement, Medallion architecture
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.
- Prompt injection
- Related: Grounding, Agent
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.
- Function
- Related: Unity Catalog, Tool calling
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.