Skill / SKILL.md

Pgvector Semantic Search

timescale/pg-aiguide

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. **Trigger when user asks to:** - Store or search vector embeddings in PostgreSQL - Set up semantic search, similarity search, or nearest neighbor search - Create HNSW or IVFFlat indexes for vectors - Implement RAG (Retrieval Augmented Generation) with PostgreSQL - Optimize pgvector performance, recall, or memory usage - Use binary quantization for large vector datasets **Keywords:** pgvector, embeddings, semantic search, vector similarity, HNSW, IVFFlat, halfvec, cosine distance, nearest neighbor, RAG, LLM, AI search Covers: halfvec storage, HNSW index configuration (m, ef_construction, ef_search), quantization strategies, filtered search, bulk loading, and performance tuning.
2 views 1,889 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. **Trigger when user asks to:** - Store or search vector embeddings in PostgreSQL - Set up semantic search, similarity search, or nearest neighbor search - Create HNSW or IVFFlat indexes for vectors - Implement RAG (Retrieval Augmented Generation) with PostgreSQL - Optimize pgvector performance, recall, or memory usage - Use binary quantization for large vector datasets **Keywords:** pgvector, embeddings, semantic search, vector similarity, HNSW, IVFFlat, halfvec, cosine distance, nearest neighbor, RAG, LLM, AI search Covers: halfvec storage, HNSW index configuration (m, ef_construction, ef_search), quantization strategies, filtered search, bulk loading, and performance tuning.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/timescale/pg-aiguide' skill-source

Use the complete skill-source/skills/pgvector-semantic-search directory with your client’s skill installer.

  • skills/pgvector-semantic-search

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/pgvector-semantic-search

Compatibility & requirements

Declared compatibility

Requires PostgreSQL 15+ with the pgvector extension

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b28503cc26fa94b85e70d7ae5ef634a0a5d1d62bd5a695046390b624d19e947b
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills