With the extension created, you store embeddings in a column of type vector(n), where n is the number of dimensions your embedding model returns. Inserting a vector with a different length fails, which protects you from mixing models. A typical table keeps the chunk text, its metadata and its embedding together, so a single SQL query can filter and rank.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 5 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.