·pgvector-semantic-search
</>

pgvector-semantic-search

timescale/pg-aiguide

pgvector setup and best practices for semantic search with text embeddings in PostgreSQL

39Installs·3Trend·@timescale

Installation

$npx skills add https://github.com/timescale/pg-aiguide --skill pgvector-semantic-search

SKILL.md

Semantic search finds content by meaning rather than exact keywords. An embedding model converts text into high-dimensional vectors, where similar meanings map to nearby points. pgvector stores these vectors in PostgreSQL and uses approximate nearest neighbor (ANN) indexes to find the closest matches quickly—scaling to millions of rows without leaving the database. Store your text alongside its embedding, then que...

This guide covers pgvector setup and tuning—not embedding model selection or text chunking, which significantly affect search quality. Requires pgvector 0.8.0+ for all features (halfvec, binaryquantize, iterative scan).

Use this configuration unless you have a specific reason not to.

pgvector setup and best practices for semantic search with text embeddings in PostgreSQL Source: timescale/pg-aiguide.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/timescale/pg-aiguide --skill pgvector-semantic-search
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is pgvector-semantic-search?

pgvector setup and best practices for semantic search with text embeddings in PostgreSQL Source: timescale/pg-aiguide.

How do I install pgvector-semantic-search?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/timescale/pg-aiguide --skill pgvector-semantic-search Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/timescale/pg-aiguide