chatgpt-retrieval-plugin
chatgpt-retrieval-plugin copied to clipboard
"match_page_sections" RPC
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 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.