Skip to main content

A package for batch processing with OpenAI API.

Project description

GPT Batcher

A simple tool to batch process messages using OpenAI's GPT models.

Installation

Clone this repository and run:

Usage

Here's how to use the GPTBatcher:

from gpt_batch.batcher import GPTBatcher

batcher = GPTBatcher(key='your_key_here', model_name='gpt-3.5-turbo-1106')
result = batcher.handle_list(['your', 'list', 'of', 'messages'])
print(result)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt_batch-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

gpt_batch-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file gpt_batch-0.1.0.tar.gz.

File metadata

  • Download URL: gpt_batch-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gpt_batch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c9df2de5e1ecc0b9a4df1eae10ecff0fe94983a4a928743c39fae3eb8490a19b
MD5 48d61ba086ecb2c2507975964ab5438d
BLAKE2b-256 78f8ea1877577bcad0c604de354331419aa3fcfaac6684fd75ef3fed3625988a

See more details on using hashes here.

File details

Details for the file gpt_batch-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gpt_batch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gpt_batch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c29994c7e154923b23cdfc63b722a4b6d4d83b48844eca58055fbf97f4514d4
MD5 2df6fb0292dde1669c8bf8f386915a52
BLAKE2b-256 182777d50a8d039a3db0724ff971ecd9ca23122ba036bf1f7336c15aa20d6986

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page