From documentdb
Guides vector search best practices for Azure DocumentDB using cosmosSearch: index type selection (DiskANN/HNSW/IVF), index creation, query tuning, product quantization, half-precision indexing, and embedding normalization for RAG/semantic-search applications.
How this skill is triggered — by the user, by Claude, or both
Slash command
/documentdb:vector-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Azure DocumentDB's native vector index type is `cosmosSearch`. Pick the sub-type by scale:
cosmosSearch)Azure DocumentDB's native vector index type is cosmosSearch. Pick the sub-type by scale:
| Index sub-type | Scale sweet spot | Tier |
|---|---|---|
vector-diskann (recommended) | Up to 500k+ vectors | M30+ |
vector-hnsw | Up to ~50k vectors | M30+ |
vector-ivf | Under ~10k vectors | M10+ |
Similarity options: COS (cosine), L2 (Euclidean), IP (inner product).
vector-diskann index with correct dimensions, similarity, maxDegree, and lBuild.$search + cosmosSearch; tune lSearch and k; combine with pre-filters.npx claudepluginhub azure/documentdb-agent-kit --plugin documentdbProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.