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

Microsoft.Extensions.AI.IChatClient #300

Open
1 task done
jcmag opened this issue Dec 3, 2024 · 1 comment
Open
1 task done

Microsoft.Extensions.AI.IChatClient #300

jcmag opened this issue Dec 3, 2024 · 1 comment

Comments

@jcmag
Copy link

jcmag commented Dec 3, 2024

Confirm this is a feature request for the .NET library and not the underlying OpenAI API

  • This is a feature request for the .NET library

Describe the feature or improvement you are requesting

Does this library support the Microsoft.Extensions.AI.IChatClient interface?
(https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.ai.ichatclient?view=net-9.0-pp)

If not, will it be suppored in the future?

Additional context

No response

@stephentoub
Copy link
Contributor

stephentoub commented Dec 6, 2024

Right now it's available as a wrapper via https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI. From the perspective of the .NET team, our aim is for all LLM clients (like openai/openai-dotnet) to provide their own implementation of these abstractions. That's happening already with a bunch of nuget packages, and our ideal is that happens with openai/openai-dotnet as well, effectively with the implementation from https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI moving into this library and then https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI being obsoleted as a temporary stop-gap. Whether/when that happens is up to the maintainers of openai/openai-dotnet.

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

2 participants