7 ms·
hey hn, supabase engineer here I just added a PR to the great retrieval plugin template repo from OpenAI to add Datastore options for Supabase and Postgres. Th
by egorr 3y ago
hey hn, supabase engineer here
I just added a PR to the great retrieval plugin template repo from OpenAI to add Datastore options for Supabase and Postgres. This is an implementation of Datastore interface using Postgres database and 2 different interfaces: PostgREST for using with the ability to hook everything with your existing app and RLS policies, or just a plain database connection. They are completely swappable, the only thing you need to change is a couple of environment variables to switch from Postgres to Supabase and vice versa.
You will find an example of a plugin with full PostgresDB documentation embedded into postgres database in the post. And i will be happy to answer your questions here :)
- egorr 3y agoLet me know if you want to play around with it and plug it in your ChatGPT, we can expose it if there is a need