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.tar.gz
.
File metadata
- Download URL: openai_batch-0.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 | 2ed6b04c28fc5e2cef175997857af16c334053ca4e97bc0cb19643e43f34a725 |
|
MD5 | d85386c19aa587bbe59f6ef5e237dc53 |
|
BLAKE2b-256 | e9ea047f1fc6c575e34edfc615670014d669ad787b5195f6896e3de04865c22c |
Provenance
The following attestation bundles were made for openai_batch-0.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.tar.gz
- Subject digest:
2ed6b04c28fc5e2cef175997857af16c334053ca4e97bc0cb19643e43f34a725
- Sigstore transparency entry: 151213036
- Sigstore integration time:
- Predicate type:
File details
Details for the file openai_batch-0.1-py3-none-any.whl
.
File metadata
- Download URL: openai_batch-0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 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 | 86b2a23247ded5e3bb61a6ca13d5e6ff01d468508ceb16f2b94b9a6812eb9ba9 |
|
MD5 | 0b1f9876994ae4422573b9eea777edad |
|
BLAKE2b-256 | f85af10eb4ae3b9d0620ecbd903c6a44955718a7b6c7d9e7955951d03d3d69c1 |
Provenance
The following attestation bundles were made for openai_batch-0.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-py3-none-any.whl
- Subject digest:
86b2a23247ded5e3bb61a6ca13d5e6ff01d468508ceb16f2b94b9a6812eb9ba9
- Sigstore transparency entry: 151213037
- Sigstore integration time:
- Predicate type: