The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(examples): readme for openai edge function example
Greg Richardson6c28c7d13365
diff --git a/examples/edge-functions/supabase/functions/openai/README.md b/examples/edge-functions/supabase/functions/openai/README.mdnew file mode 100644index 00000000000..9351df67647--- /dev/null+++ b/examples/edge-functions/supabase/functions/openai/README.md@@ -0,0 +1,21 @@+# openai++## Run locally++```bash+supabase functions serve --no-verify-jwt openai+```++Use cURL or Postman to make a POST request to http://localhost:54321/functions/v1/openai.++```bash+curl -i --location --request POST http://localhost:54321/functions/v1/openai \+ --header 'Content-Type: application/json' \+ --data '{"query":"What is Supabase?"}'+```++## Deploy++```bash+supabase functions deploy --no-verify-jwt openai+```