PostgreSQL pgvector for Python developers: Practical Guide

Denis Magda
Denis Magda
4.8 هزار بار بازدید - 6 ماه پیش - The pgvector extension turns PostgreSQL
The pgvector extension turns PostgreSQL into a complete vector database for general-purpose generative AI applications. This hands-on practical guide for Python developers explains how to set up the extension, perform vector similarity searches, pre-filter data, create specialized indexes, and scale horizontally.

The guide is based on OpenAI's cookbook for Postgres:
https://github.com/dmagda/openai-cook...

0:00 Introduction
0:49 Setting up Postgres with pgvector
3:58 Configuring an OpenAI API key
4:07 Loading sample data set
6:19 Exploring the data set
7:06 Performing the vector similarity search
10:06 Data pre-filtering
12:33 Optimizing the search with specialized indexes
14:28 Scaling with the distributed Postgres (YugabyteDB)

Curious to learn even more about databases? Follow me here:
* Medium: Medium: magda7817
* Twitter: Twitter: denismagda
6 ماه پیش در تاریخ 1402/11/01 منتشر شده است.
4,856 بـار بازدید شده
... بیشتر