15
0
forked from pool/python-openai

- update to 0.27.8:

* Periodically close open `request.Sessions` to avoid buggy
    interaction with Docker Desktop
  * Support for Azure Dall-e
  * Embeddings util - remove unnecessary sort by index
  * allow api_version to be set by environment variable
  * Fixed CLI streamed chat completions.
  * Update README to use gpt-3.5-turbo by default
  * Updating code and readme to reference the Azure's newest
    2023-05-15 API Version
  * allow for passing requests.Session
  * fix error messages mentioning support@
  * Speed up imports
  * Add proxy argument support for openai client
  * Add `__version__` in `__init__.py`
  * Fix grabbing value out of header
  * add case to handle indented .json parsing (#175)
  * Add `openai/datalib/__init__.py`
  * updated the link for OpenAI API

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openai?expand=0&rev=4
This commit is contained in:
2023-07-24 20:19:04 +00:00
committed by Git OBS Bridge
parent 9d4aa274a8
commit 1148bf1fcd
4 changed files with 29 additions and 6 deletions

View File

@@ -19,13 +19,13 @@
%define skip_python2 1
%define skip_python36 1
Name: python-openai
Version: 0.26.2
Version: 0.27.8
Release: 0
Summary: OpenAI bindings for python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/openai/openai-python
Source: openai-python-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/o/openai/openai-%{version}.tar.gz
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
@@ -55,7 +55,7 @@ You can find usage examples for the OpenAI Python library in
https://github.com/openai/openai-cookbook/.
%prep
%autosetup -p1 -n openai-python-%{version}
%autosetup -p1 -n openai-%{version}
%build
%pyproject_wheel