Aesthetikx / openai_pipe

A UNIX-ey interface to OpenAI
MIT License
192 stars 13 forks source link

GPT4 Support #6

Open zachriggle opened 1 year ago

zachriggle commented 1 year ago

It would be nice to be able to specify GPT4 for the model

Aesthetikx commented 1 year ago

Agreed, I believe I will have some time to update in the next few days.

Aesthetikx commented 1 year ago

@zachriggle It looks like GPT-4 is still in a private beta, but I will keep my eye on this. Do you have access to the beta? For now, the list of models available to me (at least in so far as what https://github.com/alexrudall/ruby-openai provides) does not yet include GPT-4.

slacksystem commented 7 months ago

openai_pipe version 0.1.3 installed fresh from gem Anything I query I get the error Unable to fetch response: The modeltext-davinci-003has been deprecated, learn more here: https://platform.openai.com/docs/deprecations

I see that this repo was updated 2 weeks ago but from what I can tell the current version in the master branch is also 0.1.3. Is this no longer functional or am I doing something wrong. If not, can the model be updated to gpt-4 or at least gpt-3.5-turbo? Better yet, can the model be configurable? Perhaps through an environment variable? That would be ideal. Just confused as this issue has been open almost a year and at least gpt-3.5 has been favored for quite a while. I don't know ruby or I would try to upgrade the model and make a PR.

Aesthetikx commented 7 months ago

openai_pipe version 0.1.3 installed fresh from gem Anything I query I get the error Unable to fetch response: The modeltext-davinci-003has been deprecated, learn more here: https://platform.openai.com/docs/deprecations

I see that this repo was updated 2 weeks ago but from what I can tell the current version in the master branch is also 0.1.3. Is this no longer functional or am I doing something wrong. If not, can the model be updated to gpt-4 or at least gpt-3.5-turbo? Better yet, can the model be configurable? Perhaps through an environment variable? That would be ideal. Just confused as this issue has been open almost a year and at least gpt-3.5 has been favored for quite a while. I don't know ruby or I would try to upgrade the model and make a PR.

I will take a look at this, in the mean time try gem update quick_openai