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. Look at https://github.com/soumitsalman/openai-utilities for more info.

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.5.tar.gz (2.9 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.5-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openai-utilities-0.2.5.tar.gz
  • Upload date:
  • Size: 2.9 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.5.tar.gz
Algorithm Hash digest
SHA256 8e134005eaa3366de975d0ad24317b1928ab65086435164c34a6bb2b38069dde
MD5 aad0376a488ac1c678dc9157faeab2e8
BLAKE2b-256 46f99531db03b8ec1ac61256ab6a1d3aea2a2aaaeb81d786a9211528fb556761

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openai_utilities-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4b0c22d8b4e8bfb7d5884d81caa59182e643e33f3899474d56bcb95bc7376101
MD5 945834f746308995da919f15c2f2e9f0
BLAKE2b-256 4253d1af00697dea218741875b06632a4196d57a8339dfde1ccb267749a25793

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