(no title)
egorr | 2 years ago
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|2 years ago