Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx

Copple01719e236add
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.mdx
index 685fda7d0a6..4b5afe59a64 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
@@ -351,10 +351,9 @@ serve(async (req) => {
choices: [{ text }],
} = completionResponse.data
- return new Response(
- JSON.stringify({ id, text, }),
- { headers: { ...corsHeaders, 'Content-Type': 'application/json' } }
- )
+ return new Response(JSON.stringify({ id, text }), {
+ headers: { ...corsHeaders, 'Content-Type': 'application/json' },
+ })
})
```