Skip to content

Commit db2af7f

Browse files
minor edits
1 parent b62fb7b commit db2af7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/content/docs/ai-gateway/integration/aig-workers-ai-binding.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Add AI Gateway to Workers AI Binding
2+
title: Workers AI
33
pcx_content_type: tutorial
44
updated: 2024-10-17
55
---
@@ -56,9 +56,11 @@ binding = "AI"
5656

5757
Your binding is [available in your Worker code](/workers/reference/migrate-to-module-workers/#bindings-in-es-modules-format) on [`env.AI`](/workers/runtime-apis/handlers/fetch/).
5858

59+
You will need to have your `gateway id` for the next step. You can learn [how to create an AI Gateway in this tutorial](/ai-gateway/get-started/).
60+
5961
## 3. Run an inference task containing AI Gateway in your Worker
6062

61-
You are now ready to run an inference task in your Worker. In this case, you will use an LLM, [`llama-3.1-8b-instruct-fast`](/workers-ai/models/llama-3.1-8b-instruct-fast/), to answer a question.
63+
You are now ready to run an inference task in your Worker. In this case, you will use an LLM, [`llama-3.1-8b-instruct-fast`](/workers-ai/models/llama-3.1-8b-instruct-fast/), to answer a question. Your gateway ID is found on the dashboard.
6264

6365
Update the `index.ts` file in your `hello-ai` application directory with the following code:
6466

0 commit comments

Comments
 (0)