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.6.tar.gz (10.2 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.6-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openai-utilities-0.2.6.tar.gz
  • Upload date:
  • Size: 10.2 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.6.tar.gz
Algorithm Hash digest
SHA256 18a0cee66a96dedc557fd71a58003cb6796725749ab70b56a7b3eedbe8c504bc
MD5 163410da07b8a7b16ca89498775c65cc
BLAKE2b-256 196f2ea4e3ba2040af5cf6413b1d2e2b3560dff7e030b42c570af69677d82e80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openai_utilities-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 599225336e38b6100362700e8842f32f08ae75ed25129653417c307deeaaaa33
MD5 61df8558d6a73283fd5ac4a6712a085b
BLAKE2b-256 8b46e166e4109816a43ff276e15ce4a153cdf89502463e64addbc3d636ca34a5

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