Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Add support for gpt-4o model #215

Closed
kamilk91 opened this issue May 15, 2024 · 8 comments
Closed

[Request] Add support for gpt-4o model #215

kamilk91 opened this issue May 15, 2024 · 8 comments

Comments

@kamilk91
Copy link

No description provided.

@glienard
Copy link

@kamilk91 Added it in my pull request or you can get it at: https://github.com/glienard/OpenAI-API-dotnet

@spppaul
Copy link

spppaul commented May 21, 2024

Please merge this ASAP @kamilk91

@spppaul
Copy link

spppaul commented May 21, 2024

#214

@scara1701
Copy link

I've added omni for now by extending the Model class in my project.

public class AIModelExtended : Model { public static Model GPT4_Omni => new Model("gpt-4o") { OwnedBy = "openai" }; }

@faster-than-human
Copy link

Does anyone know what the hold up is on getting this done?

@OkGoDoIt
Copy link
Owner

OkGoDoIt commented May 30, 2024

I’m unfortunately not allowed to announce the details publicly for another week or two, but I promise it’ll be worth the wait. There’s gonna be a lot better and more official support coming soon. Keep an eye on the Microsoft blogs 😉

In the meantime, you can always pass in the model name as a string rather than using the strongly typed models class. Just use the model name identifier string that’s in the official OpenAI API docs. There’s an implicit cast of string to Model.

For example:

var chat = api.Chat.CreateConversation();
chat.Model = "gpt-4o";

@scottaddie
Copy link

Does anyone know what the hold up is on getting this done?

Here's the Microsoft blog post Roger mentioned above: https://devblogs.microsoft.com/dotnet/openai-dotnet-library/

@OkGoDoIt
Copy link
Owner

As @scottaddie mentioned, it's official! Microsoft is launching an official library, which means full API coverage and up-to-date models going forward. More details in #211 and at the blog at https://devblogs.microsoft.com/dotnet/openai-dotnet-library/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants