Bug#1060034: ITP: python-openai -- OpenAI Python API library

2024-01-05 Thread Mo Zhou



On 1/5/24 12:32, Sam Hartman wrote:

Also, I thought that there were several open-source implementations of
this API, including from llama.cpp and ctransformers among others.  My
impression was the OpenAI API had become kind of a standard for gluing
something like text-generation-webui to a hosted model not running
locally.
Or is that some *different* OpenAI API?

You are correct. The OpenAI API spec is already a de-facto standard
in this area. Every alternative will try to provide the same set of
API.



Bug#1060034: ITP: python-openai -- OpenAI Python API library

2024-01-05 Thread Sam Hartman
> "Mo" == Mo Zhou  writes:

Mo> On 1/5/24 11:45, Ansgar wrote:
>> Then the package should be in main.
>> 
>> We do not require external software to be free as well, be that
>> Web APIs provided by Github, Twitter, or the NVidia firmware
>> required for Nouveau, microcode or storage/keyboard/sound/printer
>> firmware required for Linux, ...  We would have to move pretty
>> much everything to contrib if that was the case.
Mo> OK. It seems that I misunderstood it all the time. Mailed
Mo> ftp-master to reject so I can change the section and reupload.


Also, I thought that there were several open-source implementations of
this API, including from llama.cpp and ctransformers among others.  My
impression was the OpenAI API had become kind of a standard for gluing
something like text-generation-webui to a hosted model not running
locally.
Or is that some *different* OpenAI API?



Bug#1060034: ITP: python-openai -- OpenAI Python API library

2024-01-05 Thread Mo Zhou



On 1/5/24 11:45, Ansgar wrote:

Then the package should be in main.

We do not require external software to be free as well, be that Web
APIs provided by Github, Twitter, or the NVidia firmware required for
Nouveau, microcode or storage/keyboard/sound/printer firmware required
for Linux, ...  We would have to move pretty much everything to contrib
if that was the case.

OK. It seems that I misunderstood it all the time. Mailed ftp-master to
reject so I can change the section and reupload.

That means src:debgpt can go to the main section as well.



Bug#1060034: ITP: python-openai -- OpenAI Python API library

2024-01-05 Thread Ansgar



On Fri, 2024-01-05 at 08:50 -0500, Mo Zhou wrote:
> 
> On 1/5/24 03:48, Ansgar wrote:
> > On Thu, 2024-01-04 at 21:30 -0500, Mo Zhou wrote:
> > > Dependency of DebGPT. Will be maintained by deep learning team.
> > > It will go to the contrib section based on policy section 2.2.2,
> > > because this API client requires either
> > > (1) paied access to the proprietary backend
> > > (2) compatible open-source backend implementations are not yet
> > >   available in the archive.
> > > 
> > > I'm confused. Will this package have a "Depends: some-
> > > proprietary-
> > > openai-thing"? Can't it talk to a web service providing the API?
> No. All the dependencies are: python3-anyio,python3-distro,
> python3-httpx,python3-pydantic,python3-sniffio,python3-tqdm,
> python3-typing-extensions,python3:any.
> Can be satisfied using packages from main section.
> 
> That said, this package does not work at all without (1) paid
> access token from OpenAI (2) open-source alternative

Then the package should be in main.

We do not require external software to be free as well, be that Web
APIs provided by Github, Twitter, or the NVidia firmware required for
Nouveau, microcode or storage/keyboard/sound/printer firmware required
for Linux, ...  We would have to move pretty much everything to contrib
if that was the case.

Ansgar



Bug#1060034: ITP: python-openai -- OpenAI Python API library

2024-01-05 Thread Ansgar
On Thu, 2024-01-04 at 21:30 -0500, Mo Zhou wrote:
> Dependency of DebGPT. Will be maintained by deep learning team.
> It will go to the contrib section based on policy section 2.2.2,
> because this API client requires either
> (1) paied access to the proprietary backend
> (2) compatible open-source backend implementations are not yet
>  available in the archive.

I'm confused. Will this package have a "Depends: some-proprietary-
openai-thing"? Can't it talk to a web service providing the API?

Does OpenAI even offer this "some-proprietary-openai-thing" package to
the general public?

Ansgar



Bug#1060034: ITP: python-openai -- OpenAI Python API library

2024-01-04 Thread Mo Zhou

Package: wnpp
Severity: wishlist
Owner: debian 
X-Debbugs-Cc: debian-de...@lists.debian.org

* Package name    : python-openai
  Version : 1.6.1
* URL : https://github.com/openai/openai-python
* License : Apache-2.0
  Programming Lang: Python
  Description : OpenAI Python API library

Dependency of DebGPT. Will be maintained by deep learning team.
It will go to the contrib section based on policy section 2.2.2,
because this API client requires either
(1) paied access to the proprietary backend
(2) compatible open-source backend implementations are not yet
    available in the archive.

Thank you for using reportbug