# Storing OpenAI embeddings in Postgres with pgvector

DevFeed: [Storing OpenAI embeddings in Postgres with pgvector](<https://devfeed.tech/articles/storing-openai-embeddings-in-postgres-with-pgvector-473.md>)

Original publisher: [Read original article](<https://supabase.com/blog/openai-embeddings-postgres-vector>)

Author: Greg Richardson

Published: 2023-02-06T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [google](<https://devfeed.tech/tags/google.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [search](<https://devfeed.tech/tags/search.md>)

## AI overview

This tutorial explains what embeddings are, how they represent the relatedness of text and other information as vectors, and how to store and query them at scale in PostgreSQL with pgvector. It also introduces Supabase's open-source toolkit for building AI applications and discusses uses such as search, recommendations, classification, and clustering.

## Source excerpt

An example of how to build an AI-powered search engine using OpenAI's embeddings and PostgreSQL.