The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add charts
egor-romanov4f47ce1fc1e5
diff --git a/apps/docs/pages/guides/ai/choosing-compute-addon.mdx b/apps/docs/pages/guides/ai/choosing-compute-addon.mdxindex 23b5c4f722f..0fa2dae726a 100644--- a/apps/docs/pages/guides/ai/choosing-compute-addon.mdx+++ b/apps/docs/pages/guides/ai/choosing-compute-addon.mdx@@ -4,7 +4,7 @@ export const TabPanel = Tabs.Panelexport const meta = {id: 'ai-choosing-compute-addon',- title: 'Choosing you Compute Add-on',+ title: 'Choosing your Compute Add-on',description: 'Choosing the right Compute Add-on for your vector workload.',subtitle: 'Choosing the right Compute Add-on for your vector workload.',sidebar_label: 'Choosing Compute Add-on',@@ -67,6 +67,19 @@ For 1,000,000 vectors 40 probes results to precision of 0.98. Note that exact va</TabPanel></Tabs>+<div>+ <img+ alt="multi database"+ className="dark:hidden"+ src="/docs/img/ai/going-prod/size-to-rps--light.png"+ />+ <img+ alt="multi database"+ className="hidden dark:block"+ src="/docs/img/ai/going-prod/size-to-rps--dark.png"+ />+</div>+### 960 DimensionsThis benchmark uses the [gist-960-angular](http://corpus-texmex.irisa.fr/) dataset, which contains 1,000,000 embeddings of images. Each embedding is 960 dimensions.@@ -158,6 +171,19 @@ It's useful to execute a few thousand “warm-up” queries before going into prYou can increase the Requests per Second by increasing the number of `lists`. This also has an important caveat: building the index takes longer with more lists.+<div>+ <img+ alt="multi database"+ className="dark:hidden"+ src="/docs/img/ai/instance-type/lists-for-1m--light.png"+ />+ <img+ alt="multi database"+ className="hidden dark:block"+ src="/docs/img/ai/instance-type/lists-for-1m--dark.png"+ />+</div>+## Benchmark MethodologyWe follow techniques outlined in the [ANN Benchmarks](https://github.com/erikbern/ann-benchmarks) methodology. A Python test runner is responsible for uploading the data, creating the index, and running the queries. The pgvector engine is implemented using [vecs](https://github.com/supabase/vecs), a Python client for pgvector.diff --git a/apps/docs/public/img/ai/instance-type/lists-for-1m--dark.png b/apps/docs/public/img/ai/instance-type/lists-for-1m--dark.pngnew file mode 100644index 00000000000..713ae4f4459Binary files /dev/null and b/apps/docs/public/img/ai/instance-type/lists-for-1m--dark.png differdiff --git a/apps/docs/public/img/ai/instance-type/lists-for-1m--light.png b/apps/docs/public/img/ai/instance-type/lists-for-1m--light.pngnew file mode 100644index 00000000000..20356170933Binary files /dev/null and b/apps/docs/public/img/ai/instance-type/lists-for-1m--light.png differ