Skip to main content

Wrapper on top of openai python SDK primarily to interface with openai and anyscale public endpoints.

Project description

This is a privately maintained wrapper library on top of openai python Driver/SDK. Currently openai python Driver/SDK can be used to access both OpenAI and Anyscale public endpoints. This wrapper provides abstraction to access the models hosted by both of the endpoints. It currently uses the openai.OpenAI().chat.completions to make synchronous calls. It automatically handles rate limit error, context window resizing and large message splitting to fit within message token limit.

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

openai-utilities-0.2.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openai_utilities-0.2.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file openai-utilities-0.2.3.tar.gz.

File metadata

  • Download URL: openai-utilities-0.2.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for openai-utilities-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d92906539d49e67cb7769c3b674a88c4aef97924c599e37a91d2b21e54a0b1ed
MD5 50292917dac206e85a0f89aeb563d7f1
BLAKE2b-256 c9e10e3717f87c067950bb96f5f43d932fe8e095b95951d34eb4971c1d3db936

See more details on using hashes here.

File details

Details for the file openai_utilities-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for openai_utilities-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0557e458c74314dfad017f55e88d5171884b2b9c9e711eb37aef5e44d8819e1a
MD5 e9786afb139c99ba354b5532b5c3f78d
BLAKE2b-256 717c8042a345469db7f6fe8b723f2b33398a7441a06f3a647c770e9c440b2c9a

See more details on using hashes here.

Supported by

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