chatgpt-retrieval-plugin icon indicating copy to clipboard operation
chatgpt-retrieval-plugin copied to clipboard

"match_page_sections" RPC

Open jordanparker6 opened this issue 2 years ago • 1 comments

Where does the "match_page_sections" RPC come from in the postgres datastore?

I am missing this detail in the setup. Tests aren't passing without this RPC being defined in the db.

jordanparker6 avatar Jun 22 '23 12:06 jordanparker6

@jordanparker6 I ran into the same issue, and found it defined here: https://github.com/openai/chatgpt-retrieval-plugin/blob/e8fda700edd6f5bc5e6e4f57b7aa163a8adb11be/examples/providers/supabase/migrations/20230414142107_init_pg_vector.sql#L23

That's in the Supabase example, but I'd expect to work with plain Postgres + pgvector as well.

DouweM avatar Oct 03 '23 00:10 DouweM