diff --git a/src/content/docs/ai-gateway/providers/workersai.mdx b/src/content/docs/ai-gateway/providers/workersai.mdx index 1f80c3148cbbb34..5159f25c894fa2b 100644 --- a/src/content/docs/ai-gateway/providers/workersai.mdx +++ b/src/content/docs/ai-gateway/providers/workersai.mdx @@ -7,7 +7,7 @@ sidebar: import { Render } from "~/components"; -Use AI Gateway for analytics, caching, and security on requests to [Workers AI](/workers-ai/). +Use AI Gateway for analytics, caching, and security on requests to [Workers AI](/workers-ai/). Workers AI integrates seamlessly with AI Gateway, allowing you to execute AI inference via API requests or through an environment binding for Workers scripts. The binding simplifies the process by routing requests through your AI Gateway with minimal setup. ## REST API @@ -69,9 +69,9 @@ curl https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/workers-ai/v ' ``` -### Worker +## Workers Binding -To include an AI Gateway within your Worker, add the gateway as an object in your Workers AI request. +You can integrate Workers AI with AI Gateway using an environment binding. To include an AI Gateway within your Worker, add the gateway as an object in your Workers AI request. ```ts export interface Env {