Skip to content

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

chore: update running AI models docs (#23138)

Lakshan Perera764dd68b62c7
diff --git a/apps/docs/content/guides/functions/ai-models.mdx b/apps/docs/content/guides/functions/ai-models.mdx
index e895bb5568e..f16f7b23249 100644
--- a/apps/docs/content/guides/functions/ai-models.mdx
+++ b/apps/docs/content/guides/functions/ai-models.mdx
@@ -59,7 +59,7 @@ Deno.serve(async (req: Request) => {
## Using Large Language Models
-Inference via larger models is supported via [Ollama](https://ollama.com/). In the first iteration, the `llama2` and `mistral` models are supported and you would need to manage the Ollama server yourself.
+Inference via larger models is supported via [Ollama](https://ollama.com/). In the first iteration, you can use it with a self-managed Ollama server. We are progressively rolling out support for the hosted solution. To sign up for early access, fill up [this form](https://forms.supabase.com/supabase.ai-llm-early-access).
<video width="99%" muted playsInline controls={true}>
<source
@@ -134,6 +134,12 @@ Inference via larger models is supported via [Ollama](https://ollama.com/). In t
})
```
+1. Serve the function
+
+```
+supabase functions serve --env-file supabase/functions/.env
+```
+
1. Execute the function
```