Skip to content

Commit 4bed317

Browse files
committed
Updates
1 parent eff4fbe commit 4bed317

File tree

5 files changed

+219
-327
lines changed

5 files changed

+219
-327
lines changed

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

Lines changed: 0 additions & 59 deletions
This file was deleted.

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

Lines changed: 0 additions & 267 deletions
This file was deleted.

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,22 @@ Batch processing is useful for large workloads such as summarization or embeddin
1515

1616
When you send a batch request, the API immediately acknowledges receipt with a status like `queued` and provides a unique `request_id`. This ID is later used to poll for the final responses once the processing is complete.
1717

18-
You can use the Batch API by either creating and deploying a Cloudflare Worker that leverages the [Batch API with the AI binding](/workers-ai/features/batch-api/get-started/), using the [REST API](/workers-ai/features/batch-api/batch-api-rest-api/) directly or by starting from a [template](https://github.com/craigsdennis/batch-please-workers-ai).
18+
You can use the Batch API by either creating and deploying a Cloudflare Worker that leverages the [Batch API with the AI binding](/workers-ai/features/batch-api/workers-binding/), using the [REST API](/workers-ai/features/batch-api/rest-api/) directly or by starting from a [template](https://github.com/craigsdennis/batch-please-workers-ai).
1919

2020
:::note[Note]
2121

2222
Ensure that the total payload is under 10 MB.
2323

2424
:::
2525

26+
## Demo application
27+
28+
If you want to get started quickly, click the button below:
29+
30+
[![Deploy to Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/craigsdennis/batch-please-workers-ai)
31+
32+
This will create a repository in your GitHub account and deploy a ready-to-use Worker that demonstrates how to use Cloudflare's Asynchronous Batch API. The template includes preconfigured AI bindings, and examples for sending and retrieving batch requests with and without external references. Once deployed, you can visit the live Worker and start experimenting with the Batch API immediately.
33+
2634
## Supported Models
2735

2836
- [@cf/meta/llama-3.3-70b-instruct-fp8-fast](/workers-ai/models/llama-3.3-70b-instruct-fp8-fast/)

0 commit comments

Comments
 (0)