CARD NEWS · Data & databases

pgvector · 4 cards

Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.

1/4
Data & databases

pgvector

pgvector is a PostgreSQL extension for storing vectors and searching by similarity. It supports exact nearest-neighbor search and approximate search with HNSW or IVFFlat indexes, letting vector data live alongside other database records. [1]

2/4
In simple terms

An easy way to understand

An embedding turns an item into a numerical vector. pgvector stores that vector in Postgres and finds nearby vectors according to a chosen distance measure.

3/4
Where it is used

Who uses it, and when?

Case 1: A Postgres knowledge store A hypothetical team stores document chunks, source identifiers, and embeddings together. It retrieves candidates and checks them before using the text as context for an answer.

4/4
Learn more

ai.rookienote.com
/en/term/pgvector

RookieNote
← Read the full entry

Capture these cards or print them to a PDF.