Share via


ChatCompletionServiceExtensions Class

Definition

Class sponsor that holds extension methods for IChatCompletionService interface.

public static class ChatCompletionServiceExtensions
type ChatCompletionServiceExtensions = class
Public Module ChatCompletionServiceExtensions
Inheritance
ChatCompletionServiceExtensions

Methods

GetChatMessageContentAsync(IChatCompletionService, ChatHistory, PromptExecutionSettings, Kernel, CancellationToken)

Get a single chat message content for the chat history and settings provided.

GetChatMessageContentAsync(IChatCompletionService, String, PromptExecutionSettings, Kernel, CancellationToken)

Get a single chat message content for the prompt and settings.

GetChatMessageContentsAsync(IChatCompletionService, String, PromptExecutionSettings, Kernel, CancellationToken)

Get chat multiple chat message content choices for the prompt and settings.

GetStreamingChatMessageContentsAsync(IChatCompletionService, String, PromptExecutionSettings, Kernel, CancellationToken)

Get streaming chat message contents for the chat history provided using the specified settings.

Applies to