AzureOpenAIChatCompletionService 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.
Azure OpenAI chat completion service.
public sealed class AzureOpenAIChatCompletionService : Microsoft.SemanticKernel.ChatCompletion.IChatCompletionService, Microsoft.SemanticKernel.TextGeneration.ITextGenerationService
type AzureOpenAIChatCompletionService = class
interface IChatCompletionService
interface IAIService
interface ITextGenerationService
Public NotInheritable Class AzureOpenAIChatCompletionService
Implements IChatCompletionService, ITextGenerationService
- Inheritance
-
AzureOpenAIChatCompletionService
- Implements
Constructors
AzureOpenAIChatCompletionService(String, AzureOpenAIClient, String, ILoggerFactory) |
Initializes a new instance of the AzureOpenAIChatCompletionService class. |
AzureOpenAIChatCompletionService(String, String, String, String, HttpClient, ILoggerFactory) |
Initializes a new instance of the AzureOpenAIChatCompletionService class. |
AzureOpenAIChatCompletionService(String, String, TokenCredential, String, HttpClient, ILoggerFactory) |
Initializes a new instance of the AzureOpenAIChatCompletionService class. |
Properties
Attributes |
Gets the AI service attributes. |
Methods
GetChatMessageContentsAsync(ChatHistory, PromptExecutionSettings, Kernel, CancellationToken) |
Get chat multiple chat content choices for the prompt and settings. |
GetStreamingChatMessageContentsAsync(ChatHistory, PromptExecutionSettings, Kernel, CancellationToken) |
Get streaming chat contents for the chat history provided using the specified settings. |
GetStreamingTextContentsAsync(String, PromptExecutionSettings, Kernel, CancellationToken) |
Get streaming results for the prompt using the specified execution settings. Each modality may support for different types of streaming contents. |
GetTextContentsAsync(String, PromptExecutionSettings, Kernel, CancellationToken) |
Get completion results for the prompt and settings. |