similarity-search-patterns

Implement vector upsert and similarity search across Pinecone, Qdrant, pgvector, and Weaviate.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/goodnight000/KittyCourt --skill similarity-search-patterns-goodnight000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: similarity-search-patterns
Source: https://github.com/goodnight000/KittyCourt/tree/main/.codex/skills/similarity-search-patterns
Command: npx skills add https://github.com/goodnight000/KittyCourt --skill similarity-search-patterns-goodnight000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers design and implement scalable similarity search using vector databases, enabling fast retrieval over large vector collections.

Core Features & Use Cases

  • Multi-backend templates: Provide ready-to-adapt code for Pinecone, Qdrant, pgvector and Weaviate to perform upserts and nearest-neighbor queries.
  • Structured guidance: Includes best practices for index types, distance metrics, and hybrid search strategies.
  • Use Case: Build a semantic search layer for a product catalog, a document search system, or a RAG-enabled assistant.

Quick Start

Run the Pinecone-template example to upsert a batch of vectors and perform a top-5 similarity search against a sample dataset.

Frequently Asked Questions about similarity-search-patterns

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

FAQPage Schema
How do I build scalable similarity search with vector databases for RAG retrieval?

This skill provides multi-backend templates for Pinecone, Qdrant, pgvector, and Weaviate to perform vector upserts and nearest-neighbor queries, enabling fast similarity search over large vector collections for semantic retrieval and RAG.

What's the best way to perform semantic search across large vector collections in Pinecone or Qdrant?

You can perform semantic search by running backend-specific templates that execute batch vector upserts and top-k nearest-neighbor queries, applying best practices for index types, distance metrics, and hybrid search strategies across large vector collections.

Does this similarity search approach support pgvector and Weaviate for production workloads?

Yes, this approach supports pgvector and Weaviate alongside Pinecone and Qdrant, providing core vector operations including upsert, search, and optional cross-encoder reranking for production-grade semantic retrieval.

Can I apply cross-encoder reranking to nearest-neighbor search results?

Yes, you can apply optional cross-encoder reranking to nearest-neighbor search results to improve retrieval accuracy in semantic search, RAG retrieval, and recommendation systems.

When do I need hybrid search strategies for vector similarity search?

You need hybrid search strategies when combining semantic and keyword-based retrieval to improve search accuracy over large vector collections, using provided best practices for index types and distance metrics.