Skip to content

Commit 3218dc0

Browse files
Update src/content/docs/workers-ai/features/async-batch-api.mdx
Co-authored-by: Kevin Jain <[email protected]>
1 parent 5cebaeb commit 3218dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workers-ai/features/async-batch-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Send your initial batch inference request by composing a JSON payload containing
7474
```javascript title=Example code
7575
// Input: JSON with an array of individual request JSONs
7676
const resp = env.AI.run("@cf/meta/llama-3.3-70b-instruct-batch", {
77-
prompts: [
77+
requests: [
7878
{
7979
prompt: "tell me a joke",
8080
temperature: 0.5,

0 commit comments

Comments
 (0)