Home / Companies / Supabase / Blog / Post Details
Content Deep Dive

ChatGPT plugins now support Postgres & Supabase

Blog post from Supabase

Post Details
Company
Date Published
Author
Egor Romanov, Paul Copplestone
Word Count
1,513
Company Posts That Month
8
Language
English
Hacker News Points
155
Post removed?
No
Summary

Retrieval plugins allow ChatGPT to access information from a database, helping it answer questions from private datasets. Supabase recently contributed to the OpenAI repo with Postgres and Supabase implementations for building plugins using pgvector. A retrieval plugin turns documents into smaller chunks, converts these chunks into embeddings using OpenAI's text-embedding-ada-002 model, stores the embeddings in a vector database, and queries the vector database for relevant documents when a question is asked. Supabase added two vector provider options: one for Postgres and one for Supabase. The main differences are that the Postgres version uses the psycopg2 python library to directly connect to the database, while the Supabase version interacts with the database via PostgREST. Both have the same schema so you can easily switch between them.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 20 1,174 147 63 +84%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.