Make OpenAI batch easy to use.
Project description
openai-batch
Batch inferencing is an easy and inexpensive way to process thousands or millions of LLM inferences.
The process is:
- Write inferencing requests to an input file
- start a batch job
- wait for it to finish
- download the output
This library aims to make these steps easier. The OpenAI protocol is relatively easy to use, but it has a lot of boilerplate steps. This library automates those.
Supported Providers
Resources
- OpenAI Batch Cookbook
- OpenAI Batch API reference
- OpenAI Files API reference
- Anthropic's Message Batches - Uses a different API
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file openai_batch-0.1.1.tar.gz
.
File metadata
- Download URL: openai_batch-0.1.1.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb796f96b81c9f5ae50e1be335a8ddd8ba025ca0dcf32a15265587368a97b7cc |
|
MD5 | 32e2bb79072f411591231f86a329493e |
|
BLAKE2b-256 | 3f7150c8dd68e9655d91832001b31026f9f335e50b5f79ddbc31adf9cf5dc797 |
Provenance
The following attestation bundles were made for openai_batch-0.1.1.tar.gz
:
Publisher:
release.yml
on parasail-ai/openai-batch
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
openai_batch-0.1.1.tar.gz
- Subject digest:
fb796f96b81c9f5ae50e1be335a8ddd8ba025ca0dcf32a15265587368a97b7cc
- Sigstore transparency entry: 151213804
- Sigstore integration time:
- Predicate type:
File details
Details for the file openai_batch-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: openai_batch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d055c8633b39601d7cefa41d275c7706b26d017f09bf3ba9b083bc76105f3b8 |
|
MD5 | 7184622e70ccf7ff41a12f03728c50eb |
|
BLAKE2b-256 | 78f8bf3fc1fc1daea1d1322f76742f53ceab4bd92d6b63d01568ee2d84791515 |
Provenance
The following attestation bundles were made for openai_batch-0.1.1-py3-none-any.whl
:
Publisher:
release.yml
on parasail-ai/openai-batch
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
openai_batch-0.1.1-py3-none-any.whl
- Subject digest:
7d055c8633b39601d7cefa41d275c7706b26d017f09bf3ba9b083bc76105f3b8
- Sigstore transparency entry: 151213806
- Sigstore integration time:
- Predicate type: