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.
Raw data
{
"_id": null,
"home_page": "https://github.com/soumitsalman/openai-utilities",
"name": "openai-utilities",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "openai anyscale tiktoken chatgpt chatbot",
"author": "Soumit Salman Rahman",
"author_email": "soumitsr@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/19/6f/2ea4e3ba2040af5cf6413b1d2e2b3560dff7e030b42c570af69677d82e80/openai-utilities-0.2.6.tar.gz",
"platform": null,
"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.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Wrapper on top of openai python SDK primarily to interface with openai and anyscale public endpoints.",
"version": "0.2.6",
"project_urls": {
"Homepage": "https://github.com/soumitsalman/openai-utilities"
},
"split_keywords": [
"openai",
"anyscale",
"tiktoken",
"chatgpt",
"chatbot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8b46e166e4109816a43ff276e15ce4a153cdf89502463e64addbc3d636ca34a5",
"md5": "61df8558d6a73283fd5ac4a6712a085b",
"sha256": "599225336e38b6100362700e8842f32f08ae75ed25129653417c307deeaaaa33"
},
"downloads": -1,
"filename": "openai_utilities-0.2.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "61df8558d6a73283fd5ac4a6712a085b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10879,
"upload_time": "2024-01-22T01:43:47",
"upload_time_iso_8601": "2024-01-22T01:43:47.751197Z",
"url": "https://files.pythonhosted.org/packages/8b/46/e166e4109816a43ff276e15ce4a153cdf89502463e64addbc3d636ca34a5/openai_utilities-0.2.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "196f2ea4e3ba2040af5cf6413b1d2e2b3560dff7e030b42c570af69677d82e80",
"md5": "163410da07b8a7b16ca89498775c65cc",
"sha256": "18a0cee66a96dedc557fd71a58003cb6796725749ab70b56a7b3eedbe8c504bc"
},
"downloads": -1,
"filename": "openai-utilities-0.2.6.tar.gz",
"has_sig": false,
"md5_digest": "163410da07b8a7b16ca89498775c65cc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10245,
"upload_time": "2024-01-22T01:43:49",
"upload_time_iso_8601": "2024-01-22T01:43:49.229766Z",
"url": "https://files.pythonhosted.org/packages/19/6f/2ea4e3ba2040af5cf6413b1d2e2b3560dff7e030b42c570af69677d82e80/openai-utilities-0.2.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-22 01:43:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "soumitsalman",
"github_project": "openai-utilities",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "openai-utilities"
}