Skip to main content
Back to registry

similarity-search-patterns

wshobson/agents

Patterns for implementing efficient similarity search in production systems.

Installs2
Install command
npx skills add https://github.com/wshobson/agents --skill similarity-search-patterns
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Patterns for implementing efficient similarity search in production systems. | Metric | Formula | Best For | | ------------------ | ------------------ | --------------------- | --- | -------------- | | Cosine | 1 - (A·B)/(‖A‖‖B‖) | Normalized embeddings | | Euclidean (L2) | √Σ(a-b)² | Raw embeddings | | Dot Product | A·B | Magnitude matters | | Manhattan (L1) | Σ | a-b | | Sparse vectors | - Building semantic search systems - Implementing RAG retrieval - Creating recommendation engines - Optimizing search latency - Scaling to millions of vectors - Combining semantic and keyword search - Use appropriate index - HNSW for most cases - Tune parameters - ef_search, nprobe for recall/speed - Implement hybrid search - Combine with keyword search - Monitor recall - Measure search quality - Pre-filter when possible - Reduce search space - Don't skip evaluation - Measure before optimizing - Don't over-index - Start with flat, scale up - Don't ignore latency - P99 matters for UX - Don't forget costs - Vector storage adds up

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does similarity-search-patterns do?

Patterns for implementing efficient similarity search in production systems.

Is similarity-search-patterns good?

similarity-search-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does similarity-search-patterns work with?

similarity-search-patterns currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to similarity-search-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install similarity-search-patterns?

npx skills add https://github.com/wshobson/agents --skill similarity-search-patterns

Related skills

More from wshobson/agents

Related skills

Alternatives in Software Engineering