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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a0cee66a96dedc557fd71a58003cb6796725749ab70b56a7b3eedbe8c504bc
|
|
| MD5 |
163410da07b8a7b16ca89498775c65cc
|
|
| BLAKE2b-256 |
196f2ea4e3ba2040af5cf6413b1d2e2b3560dff7e030b42c570af69677d82e80
|
File details
Details for the file openai_utilities-0.2.6-py3-none-any.whl.
File metadata
- Download URL: openai_utilities-0.2.6-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
599225336e38b6100362700e8842f32f08ae75ed25129653417c307deeaaaa33
|
|
| MD5 |
61df8558d6a73283fd5ac4a6712a085b
|
|
| BLAKE2b-256 |
8b46e166e4109816a43ff276e15ce4a153cdf89502463e64addbc3d636ca34a5
|