Skip to Content

GeoEmbeddings RPC API

Canonical guide: GeoEmbeddings RPC API (Studio “More details” links there).

Query embeddings in Postgres via similarity_search / change_detection on the geoembeddings schema.

import { createClient } from '@supabase/supabase-js' const geobase = createClient( process.env.GEOBASE_PROJECT_URL!, process.env.GEOBASE_ANON_KEY!, { db: { schema: 'geoembeddings' } }, ) const { data, error } = await geobase.rpc('similarity_search', { table_name: 'your_embeddings_table', patch_id: 1, })

Full overload table, defaults, and change detection: RPC API guide.

Last updated on