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.2.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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openai-utilities-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c0ac9ff600f7fe0e18297f437665016dd2ace95ac0ac4773177277b48f12f807
MD5 5fba0f7c2eb1740e9ec8b09ed80cf0d9
BLAKE2b-256 743cb5a2e7b0d25bfd1f48300038247bd6f37ee8568b194282251cf15ce55f81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openai_utilities-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca86cd33d37a3e10f356644ef07aa0d0658345c3a316e36fb84ce0f947435ea3
MD5 bd197cbb656115be9aa47a67597f3e1d
BLAKE2b-256 856164403c4f7975796d2ee79d06b2ab3d0c49c5dee2ff4fba9afb307d8a2eaf

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