AGUIChatClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an IChatClient implementation that communicates with an AG-UI compliant server.
public sealed class AGUIChatClient : Microsoft.Extensions.AI.DelegatingChatClient
type AGUIChatClient = class
inherit DelegatingChatClient
Public NotInheritable Class AGUIChatClient
Inherits DelegatingChatClient
- Inheritance
-
AGUIChatClient
Constructors
| Name | Description |
|---|---|
| AGUIChatClient(HttpClient, String, ILoggerFactory, JsonSerializerOptions, IServiceProvider) |
Initializes a new instance of the AGUIChatClient class. |
Methods
| Name | Description |
|---|---|
| GetResponseAsync(IEnumerable<ChatMessage>, ChatOptions, CancellationToken) | Sends chat messages and returns the response. |
| GetStreamingResponseAsync(IEnumerable<ChatMessage>, ChatOptions, CancellationToken) | Sends chat messages and streams the response. |