56-pgvector - Learning Vector Similarity Search with pgvector and PLPGSQL.pptx

DougOrtiz 19 views 10 slides Feb 27, 2025
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

Vector Similarity Search with PGVector and PLPGSQL


Slide Content

PostgreSQL – PGVector Vector Similarity Search with PGVector and PLPGSQL

PostgreSQL Vector Similarity Search with PGVector and PLPGSQL Introduction What is PGVector ? Why use vector similarity search? What we will cover

PostgreSQL Vector Similarity Search with PGVector and Python3 Setting up the Environment Prerequisites: PostgreSQL, PGVector , and PLPGSQL Installing PGVector https:// github.com/pgvector/pgvector

PostgreSQL Vector Similarity Search with PGVector and PLPGSQL Implementation – Part 1 Creating the Database and the Connection Defining helper functions ( create_table , insert_items )

PostgreSQL Vector Similarity Search with PGVector and PLPGSQL Implementation – Part 2 Generating embeddings Inserting data into the database Performing similarity search

PostgreSQL Vector Similarity Search with PGVector and PLPGSQL Understanding Vector Embeddings What are vector embeddings? How do they represent data?

PostgreSQL Vector Similarity Search with PGVector and Python3 Similarity Search Concepts How similarity search works Distance metrics in PGVector

PostgreSQL Real-World Applications Possible use case scenarios Semantic search Recommendation systems Image similarity Anomaly detection Span diverse domains

Demo

Conclusion Key Insights Setup PGVector , PLPGSQL Solution, Explanation of embeddings , and related concepts PGVector Empowers high-dimensional data handling, enhancing search, and recommendation systems Explore further Experiment with models, metrics, scale, and integration