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

3
openai-0.27.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2483095c7db1eee274cebac79e315a986c4e55207bb4fa7b82d185b3a2ed9536
size 60012

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a591bd126ac8da0dc479895db7383cc4d47c1fea6e29f74638af6ba9fb91ffca
size 51811

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Jul 24 20:18:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Thu Jan 26 10:13:45 UTC 2023 - Matej Cepl <mcepl@suse.com>

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