thomazrossito/data-agents/databricks-vector-search
Claude Code and agent skill by thomazrossito/data-agents
- community
Checking that the SKILL.md file is still in the repository.
Patterns for Databricks Vector Search: create endpoints and indexes, query with filters, manage embeddings. Use when building RAG applications, semantic search, or similarity matching. Covers both storage-optimized and standard endpoints.
Install
npx vskill@latest install thomazrossito/data-agents/databricks-vector-searchSKILL.md
The same SKILL.md was published earlier as thomazrossito/data-agents/databricks-vector-search.
Databricks Vector Search
Patterns for creating, managing, and querying vector search indexes for RAG and semantic search applications.
When to Use
Use this skill when:
- Building RAG (Retrieval-Augmented Generation) applications
- Implementing semantic search or similarity matching
- Creating vector indexes from Delta tables
- Choosing between storage-optimized and standard endpoints
- Querying vector indexes with filters
Overview
Databricks Vector Search provides managed vector similarity search with automatic embedding generation and Delta Lake integration.
| Component | Description | |
|---|---|---|
| Endpoint | Compute resource hosting indexes (Standard or Storage-Optimized) | |
| Index | Vector data structure for similarity search | |
| Delta Sync | Auto-syncs with source Delta table | |
| Direct Access | Manual CRUD operations on vectors |
Endpoint Types
| Type | Latency | Capacity | Cost | Best For | |
|---|---|---|---|---|---|
| Standard | 20-50ms | 320M vectors (768 dim) | Higher | Real-time, low-latency | |
| Storage-Optimized | 300-500ms | 1B+ vectors (768 dim) | 7x lower | Large-scale, cost-sensitive |
Index Types
| Type | Embeddings | Sync | Use Case | |
|---|---|---|---|---|
| Delta Sync (managed) | Databricks computes | Auto from Delta | Easiest setup | |
| Delta Sync (self-managed) | You provide | Auto from Delta | Custom embeddings | |
| Direct Access | You provide | Manual CRUD | Real-time updates |
Quick Start
Create Endpoint
Create Delta Sync Index (Managed Embeddings)
Query Index
Common Patterns
Create Storage-Optimized Endpoint
Delta Sync with Self-Managed Embeddings
Direct Access Index
Query with Embedding Vector
Hybrid Search (Semantic + Keyword)
Hybrid search combines vector similarity (ANN) with BM25 keyword scoring. Use it when queries contain exact terms that must match — SKUs, error codes, proper nouns, or technical terminology — where pure semantic search might miss keyword-specific results. See search-modes.md for detailed guidance on choosing between ANN and hybrid search.
Filtering
Standard Endpoint Filters (Dictionary)
Storage-Optimized Filters (SQL-like)
Storage-Optimized endpoints use SQL-like filter syntax via the databricks-vectorsearch package's filters parameter (accepts a string):
Trigger Index Sync
Scan All Index Entries
Reference Files
| Topic | File | Description | |
|---|---|---|---|
| Index Types | index-types.md | Detailed comparison of Delta Sync (managed/self-managed) vs Direct Access | |
| End-to-End RAG | end-to-end-rag.md | Complete walkthrough: source table → endpoint → index → query → agent integration | |
| Search Modes | search-modes.md | When to use semantic (ANN) vs hybrid search, decision guide | |
| Operations | troubleshooting-and-operations.md | Monitoring, cost optimization, capacity planning, migration |
CLI Quick Reference
Common Issues
| Issue | Solution | |
|---|---|---|
| Index sync slow | Use Storage-Optimized endpoints (20x faster indexing) | |
| Query latency high | Use Standard endpoint for <100ms latency | |
| filters_json not working | Storage-Optimized uses SQL-like string filters via databricks-vectorsearch package's filters parameter | |
| Embedding dimension mismatch | Ensure query and index dimensions match | |
| Index not updating | Check pipeline_type; use sync_index() for TRIGGERED | |
| Out of capacity | Upgrade to Storage-Optimized (1B+ vectors) | |
| `query_vector` truncated by MCP tool | MCP tool calls serialize arrays as JSON and can truncate large vectors (e.g. 1024-dim). Use query_text instead (for managed embedding indexes), or use the Databricks SDK/CLI to pass raw vectors |
Embedding Models
Databricks provides built-in embedding models:
| Model | Dimensions | Context Window | Use Case | |
|---|---|---|---|---|
databricks-gte-large-en | 1024 | 8192 tokens | English text, high quality | |
databricks-bge-large-en | 1024 | 512 tokens | English text, general purpose |
MCP Tools
The following MCP tools are available for managing Vector Search infrastructure. For a full end-to-end walkthrough, see end-to-end-rag.md.
manage_vs_endpoint - Endpoint Management
| Action | Description | Required Params | |
|---|---|---|---|
create_or_update | Create endpoint (STANDARD or STORAGE_OPTIMIZED). Idempotent | name | |
get | Get endpoint details | name | |
list | List all endpoints | (none) | |
delete | Delete endpoint (indexes must be deleted first) | name |
manage_vs_index - Index Management
| Action | Description | Required Params | |
|---|---|---|---|
create_or_update | Create index. Idempotent, auto-triggers sync for DELTA_SYNC | name, endpoint_name, primary_key | |
get | Get index details | name | |
list | List indexes. Optional endpoint_name filter | (none) | |
delete | Delete index | name |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/databricks/databricks-vector-search/SKILL.md
Popularity
- Repository stars
- 31
- Repository forks
- 18
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thomazrossito/data-agents/databricks-vector-search)