- 
                Notifications
    You must be signed in to change notification settings 
- Fork 841
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-aiMicrosoft.Extensions.AI librariesMicrosoft.Extensions.AI libraries
Description
Outcome from a team discussion
Before:
public interface IChatClient
{
    Task<ChatCompletion> CompleteAsync(...);
    IAsyncEnumerable<StreamingChatCompletionUpdate> CompleteStreamingAsync(...);
}After:
public interface IChatClient
{
    Task<ChatResponse> GetResponseAsync(...);
    IAsyncEnumerable<ChatResponseUpdate> GetStreamingResponseAsync(...);
}Of course, this will also affect all the many overloads of CompleteAsync and CompleteAsync<T>.
stephentoub, eiriktsarpalis, jeffhandley, roji and bartonjs
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-aiMicrosoft.Extensions.AI librariesMicrosoft.Extensions.AI libraries