Skip to main content
This is lesson 2 of 11 in this module 2/11

Store and Query Embeddings with pgvector

The lesson demonstrates how to store embeddings in PostgreSQL using the vector data type, design schema tables with vector(n) columns matching the embedding model dimensions, and compare embeddings using the Euclidean, cosine, and negative inner product distance operators in SQL.

Video lesson

Want to watch this lesson?

This lesson is part of the AI-200 Azure AI Cloud Developer Associate study plan. Get instant access to all lectures, labs and practice exams.

Get the Study Plan