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

Uploaded Python 3

File details

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

File metadata

  • Download URL: openai-utilities-0.2.4.tar.gz
  • Upload date:
  • Size: 7.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.4.tar.gz
Algorithm Hash digest
SHA256 0938cca97d80bd4861109b133025a19ac26da57a962d3170a5e71b066ef6b105
MD5 000c4c1c7bbc5587cdf87f3bb40d16ca
BLAKE2b-256 4b8724473db81bfbb8475b5dc7233805c17d9e89f91c2628c865c86d5e55df85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openai_utilities-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 114d99bb736d56769fc8766e45544a5ec5e90dfe2ea49260d83963e730fa5929
MD5 3c816d9d5f99c35ce45d8b6c09093b5c
BLAKE2b-256 20744f5cb5110fbb95993f76ea29f30155990dcd51f7f579b3dbf705716b974f

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