Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
66
48%
Does it follow best practices?
Impact
100%
1.38xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/llm-application-dev/skills/similarity-search-patterns/SKILL.mdQdrant client patterns and quantization
QdrantClient import
100%
100%
models import
100%
100%
COSINE distance
100%
100%
Scalar quantization enabled
100%
100%
INT8 quantization type
100%
100%
Quantile 0.99
100%
100%
Always RAM
0%
100%
Default vector size 1536
0%
100%
Collection existence check
100%
100%
Metadata filter support
100%
100%
pgvector HNSW index and hybrid search
asyncpg usage
100%
100%
Vector extension
100%
100%
HNSW index type
100%
100%
vector_cosine_ops
100%
100%
HNSW m=16
100%
100%
HNSW ef_construction=64
100%
100%
Cosine distance operator
100%
100%
Similarity as 1 minus distance
100%
100%
Hybrid search CTE
100%
100%
Weighted score combination
100%
100%
Reranking pipeline and Pinecone batch patterns
Pinecone import
100%
100%
ServerlessSpec import
0%
100%
Default dimension 1536
0%
100%
Default metric cosine
0%
100%
Batch size 100
100%
100%
Chunked upsert loop
100%
100%
CrossEncoder import
0%
100%
CrossEncoder model name
0%
100%
Rerank over-fetch
100%
100%
Default rerank_top_n 50
0%
100%
Float rerank scores
0%
100%
91fe43e
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.