Skip to content

Commit 50501e9

Browse files
committed
update
1 parent f5ca4bc commit 50501e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ Your binding is [available in your Worker code](/workers/reference/migrate-to-mo
6767

6868
### Sending a Batch request
6969

70-
Send your initial batch inference request by composing a JSON payload containing an array of individual inference requests.
70+
Send your initial batch inference request by composing a JSON payload containing an array of individual inference requests and the `queueRequest: true` property (which is what controlls queueing behavior).
7171

7272
:::note[Note]
7373

7474
Ensure that the total payload is under 10 MB.
7575

7676
:::
7777

78-
```typescript title="src/index.js"
78+
```typescript title="src/index.js" {28}
7979
interface AIRequest {
8080
prompt: string;
8181
temperature: number;

0 commit comments

Comments
 (0)