Skip to content

Vendoring 1.78.0 #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
28 changes: 28 additions & 0 deletions portkey_ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,20 @@
AsyncLabels,
Collections,
AsyncCollections,
FineTuningCheckpoints,
AsyncFineTuningCheckpoints,
Permissions,
AsyncPermissions,
Evals,
AsyncEvals,
EvalsRuns,
AsyncEvalsRuns,
OutputItems,
AsyncOutputItems,
Alpha,
AsyncAlpha,
Graders,
AsyncGraders,
)

from portkey_ai.version import VERSION
Expand Down Expand Up @@ -225,4 +239,18 @@
"AsyncLabels",
"Collections",
"AsyncCollections",
"FineTuningCheckpoints",
"AsyncFineTuningCheckpoints",
"Permissions",
"AsyncPermissions",
"Evals",
"AsyncEvals",
"EvalsRuns",
"AsyncEvalsRuns",
"OutputItems",
"AsyncOutputItems",
"Alpha",
"AsyncAlpha",
"Graders",
"AsyncGraders",
]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.3
Name: openai
Version: 1.69.0
Version: 1.78.0
Summary: The official Python library for the openai API
Project-URL: Homepage, https://github.com/openai/openai-python
Project-URL: Repository, https://github.com/openai/openai-python
Expand Down Expand Up @@ -34,7 +34,7 @@ Requires-Dist: numpy>=1; extra == 'datalib'
Requires-Dist: pandas-stubs>=1.1.0.11; extra == 'datalib'
Requires-Dist: pandas>=1.2.3; extra == 'datalib'
Provides-Extra: realtime
Requires-Dist: websockets<15,>=13; extra == 'realtime'
Requires-Dist: websockets<16,>=13; extra == 'realtime'
Provides-Extra: voice-helpers
Requires-Dist: numpy>=2.0.2; extra == 'voice-helpers'
Requires-Dist: sounddevice>=0.5.1; extra == 'voice-helpers'
Expand Down Expand Up @@ -393,7 +393,7 @@ response = client.chat.responses.create(

## File uploads

Request parameters that correspond to file uploads can be passed as `bytes`, a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.
Request parameters that correspond to file uploads can be passed as `bytes`, or a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.

```python
from pathlib import Path
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions portkey_ai/_vendor/openai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ def _reset_client() -> None: # type: ignore[reportUnusedFunction]
beta as beta,
chat as chat,
audio as audio,
evals as evals,
files as files,
images as images,
models as models,
Expand Down
Loading