OpenAI-API-dotnet
OpenAI-API-dotnet copied to clipboard
Are there plans to incorporate GPT4?
First off, thank you for such an amazing library.
OpenAI is starting to give people early access to the GPT-4 API's. I see that this library is growing exponentially and I know how difficult such projects can be to maintain. Are there internal plans to add GPT-4 to available models?
https://platform.openai.com/docs/models/gpt-4
It should work with GPT4 as long as you manually pass that model to the
chat endpoint. I’ll get the GPT4 model added officially soon but for right
now you can just use conversation.model = new Model(“gpt-4”)
and it
should work.
On Mon, Mar 27, 2023 at 12:23 PM Justin Gielski @.***> wrote:
First off, thank you for such an amazing library.
OpenAI is starting to give people early access to the GPT-4 API's. I see that this library is growing exponentially and I know how difficult such projects can be to maintain. Are there internal plans to add GPT-4 to available models?
https://platform.openai.com/docs/models/gpt-4
—
Beautiful! You are a legend thank you!
I’ve got the gpt4 models explicitly added in the 1.7 release
Does the response of "The model: gpt-4
does not existing" mean the account is not whitelisted for GPT-4? I'm using my own API key.
I’m not sure, but probably. Are you able to access the GPT-4 model on the playground when logged in to the openai developer portal?
Gpt-4 still requires account whitelisting, so if you don’t have access yet, you’ll need to sign up for the waitlist. They seem to be approving people reasonably quickly though.
Does the response of "The model:
gpt-4
does not existing" mean the account is not whitelisted for GPT-4? I'm using my own API key.
When calling the Models endpoint, I get this list (which does not include gpt-4) ?
ada
ada-code-search-code
ada-code-search-text
ada-search-document
ada-search-query
ada-similarity
ada:2020-05-03
babbage
babbage-code-search-code
babbage-code-search-text
babbage-search-document
babbage-search-query
babbage-similarity
babbage:2020-05-03
code-davinci-edit-001
code-search-ada-code-001
code-search-ada-text-001
code-search-babbage-code-001
code-search-babbage-text-001
curie
curie-instruct-beta
curie-search-document
curie-search-query
curie-similarity
curie:2020-05-03
cushman:2020-05-03
davinci
davinci-if:3.0.0
davinci-instruct-beta
davinci-instruct-beta:2.0.0
davinci-search-document
davinci-search-query
davinci-similarity
davinci:2020-05-03
gpt-3.5-turbo
gpt-3.5-turbo-0301
if-curie-v2
if-davinci-v2
if-davinci:3.0.0
text-ada-001
text-ada:001
text-babbage-001
text-babbage:001
text-curie-001
text-curie:001
text-davinci-001
text-davinci-002
text-davinci-003
text-davinci-edit-001
text-davinci:001
text-embedding-ada-002
text-search-ada-doc-001
text-search-ada-query-001
text-search-babbage-doc-001
text-search-babbage-query-001
text-search-curie-doc-001
text-search-curie-query-001
text-search-davinci-doc-001
text-search-davinci-query-001
text-similarity-ada-001
text-similarity-babbage-001
text-similarity-curie-001
text-similarity-davinci-001
whisper-1
Maybe not yet whitelisted? (Although I have access to GPT-4 in the browser chat.openai.com).
The GPT4 model wasn't appearing to me either when querying it using this library, even if it was available in the OpenAI Playground. The solution was to also pass the Organization ID, not just the API key, when initializing the API.
var auth = new APIAuthentication("sk-my-openai-key", "org-my-organization-id");
var api = new OpenAI_API.OpenAIAPI(auth);
``