filmov
tv
PostgreSQL as a Vector Database: Part 2, Using HNSW Index

Показать описание
In this episode, we continue to build a generative AI application that helps select Airbnb vacation homes for travelers heading to San Francisco. The application already utilizes PostgreSQL as a vector database for storing and querying embeddings of Airbnb listings. Our next step is to optimize the performance of the similarity search with the HNSW index.
The HNSW (Hierarchical Navigable Small Worlds) index is among the top-performing vector indexing algorithms used in vector databases worldwide. In this video, you'll learn how to effectively implement it in PostgreSQL.
0:00 Introduction
0:28 Airbnb Recommendations Service, Quick Recap
1:43 Similarity Search and Full Table Scan
3:11 Creating an HNSW Index for Airbnb Listings
5:07 Index Build Time vs. Accuracy Trade-off
5:45 Testing the Index
6:07 Adjusting the Source Code to Enable the Index Scan
7:10 Comparing the Accuracy of Full Table and Index Scans
8:02 What's Next in the PostgreSQL as a Vector Database Series
Resources:
* Airbnb recommendations service:
Curious to learn even more about databases? Follow me here:
The HNSW (Hierarchical Navigable Small Worlds) index is among the top-performing vector indexing algorithms used in vector databases worldwide. In this video, you'll learn how to effectively implement it in PostgreSQL.
0:00 Introduction
0:28 Airbnb Recommendations Service, Quick Recap
1:43 Similarity Search and Full Table Scan
3:11 Creating an HNSW Index for Airbnb Listings
5:07 Index Build Time vs. Accuracy Trade-off
5:45 Testing the Index
6:07 Adjusting the Source Code to Enable the Index Scan
7:10 Comparing the Accuracy of Full Table and Index Scans
8:02 What's Next in the PostgreSQL as a Vector Database Series
Resources:
* Airbnb recommendations service:
Curious to learn even more about databases? Follow me here:
PostgreSQL as VectorDB - Beginner Tutorial
Postgres pgvector Extension - Vector Database with PostgreSQL / Langchain Integration
Vector databases are so hot right now. WTF are they?
PostgreSQL as Vector Database
PostgreSQL as a Vector Database: Part 1, Getting Started With pgvector
Vector Databases simply explained! (Embeddings & Indexes)
AWS re:Invent 2023 - Best practices for querying vector data for gen AI apps in PostgreSQL (DAT407)
What's next in pgvector: Building AI-enabled apps with PostgreSQL - AWS Databases in 15
Master Spring AI with Retrieval-Augmented Generation (RAG)
Extension transforming PostgreSQL to a vector database: pgvector
Using pgvector + PostgreSQL in Python for vector storage and querying
Types of Databases: Relational vs. Columnar vs. Document vs. Graph vs. Vector vs. Key-value & mo...
PostgreSQL pgvector for Python developers: Practical Guide
Vector Embeddings Tutorial – Code Your Own AI Assistant with GPT-4 API + LangChain + NLP
Full Text Search PostgreSQL
LangChain SQL Database agent with OpenAI to query PostgreSQL
15 futuristic databases you’ve never heard of
PGVECTOR - A beginner's tutorial | Enhance your PostgreSQL with pgvector
Spring AI With PostgreSQL pgvector: Building Generative AI Apps in Java
PostgreSQL as a Vector Database: Part 2, Using HNSW Index
7 Database Paradigms
RAG (Retrieval Augmented Generation) with pgvector #postgres #postgresql #pgvector
Getting Started With pgvector and Amazon Aurora PostgreSQL
PostgreSQL, MySQL, and MongoDB are Boring
Комментарии