The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx
Coppleb3baba3f786a
diff --git a/apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx b/apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdxindex 8422fb67e24..e3f25f76252 100644--- a/apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx+++ b/apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx@@ -129,11 +129,11 @@ $$;`pgvector` introduces 3 new operators that can be used to calculate similarity:-| Operator | Description |-| ---------- | ---------------------- |-| `<->` | Euclidean distance |-| `<#>` | negative inner product |-| `<=>` | cosine distance |+| Operator | Description |+| -------- | ---------------------- |+| `<->` | Euclidean distance |+| `<#>` | negative inner product |+| `<=>` | cosine distance |OpenAI recommends cosine similarity on their embeddings, so we will use that here.