Compartir a través de


ChatClientExtensions Class

Definition

Provides a collection of static methods for extending IChatClient instances.

public ref class ChatClientExtensions abstract sealed
public static class ChatClientExtensions
type ChatClientExtensions = class
Public Module ChatClientExtensions
Inheritance
ChatClientExtensions

Methods

GetResponseAsync(IChatClient, ChatMessage, ChatOptions, CancellationToken)

Sends a chat message and returns the response messages.

GetResponseAsync(IChatClient, String, ChatOptions, CancellationToken)

Sends a user chat text message and returns the response messages.

GetService<TService>(IChatClient, Object)

Asks the IChatClient for an object of type TService.

GetStreamingResponseAsync(IChatClient, ChatMessage, ChatOptions, CancellationToken)

Sends a chat message and streams the response messages.

GetStreamingResponseAsync(IChatClient, String, ChatOptions, CancellationToken)

Sends a user chat text message and streams the response messages.

Applies to