databricks-vector-search

Create and query Databricks Vector Search indexes for RAG applications.

3|Updated Jan 2, 2025
One-click install
npx skills add https://github.com/ScottHMcKean/genai_notebooks --skill databricks-vector-search-scotthmckean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-vector-search
Source: https://github.com/ScottHMcKean/genai_notebooks/tree/main/.cursor/skills/databricks-vector-search
Command: npx skills add https://github.com/ScottHMcKean/genai_notebooks --skill databricks-vector-search-scotthmckean

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the creation and querying of vector search indexes, enabling efficient similarity matching and retrieval for RAG applications.

Core Features & Use Cases

  • Endpoint & Index Management: Create and manage Databricks Vector Search endpoints and indexes (Delta Sync, Direct Access).
  • Embedding Generation: Supports both managed (Databricks computes) and self-managed embeddings.
  • Querying & Filtering: Enables semantic search, hybrid search, and filtering of results.
  • Use Case: Integrate this Skill into your RAG pipeline to quickly find relevant documents based on a user's query, powering intelligent Q&A systems.

Quick Start

Use the databricks-vector-search skill to create a standard endpoint named 'my-vs-endpoint' and a delta sync index named 'catalog.schema.my_index' using the 'content' column from 'catalog.schema.documents' with the 'databricks-gte-large-en' embedding model.

Frequently Asked Questions about databricks-vector-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a vector search index for a RAG application?

To create a vector search index for RAG, you provision a Databricks Vector Search endpoint and configure a Delta Sync or Direct Access index. This enables efficient semantic similarity matching and document retrieval for your pipeline.

What is the difference between Delta Sync and Direct Access vector indexes?

Delta Sync indexes automatically synchronize vector embeddings directly from Delta tables, while Direct Access indexes require you to manually manage and ingest embeddings. Both facilitate semantic search but differ in embedding management overhead.

Can I use self-managed embeddings with Databricks Vector Search?

Yes, Databricks Vector Search supports both managed and self-managed embeddings. You can compute embeddings externally and ingest them into Direct Access indexes, or let Databricks compute them automatically using Delta Sync.

How do I apply filters to semantic search queries in Databricks?

You can apply filters to semantic search queries by passing filtering conditions alongside your vector similarity search. This enables hybrid search capabilities, allowing you to restrict retrieval to specific metadata fields within your index.

When should I choose a storage-optimized endpoint over a standard one?

Choose a storage-optimized endpoint for vector search when managing large-scale indexes where cost efficiency is prioritized over latency. Standard endpoints are better suited for high-performance, low-latency similarity matching workloads.

Does Databricks Vector Search support hybrid search capabilities?

Yes, Databricks Vector Search supports hybrid search by combining semantic similarity matching with metadata filtering. This allows you to query indexes using both vector embeddings and traditional filters to refine RAG retrieval results.