Condividi tramite


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

CompleteAsync(IChatClient, String, ChatOptions, CancellationToken)

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

CompleteStreamingAsync(IChatClient, String, ChatOptions, CancellationToken)

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

Applies to