AzureAIInferenceChatCompletionService 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.
Caution
Dedicated AzureAIInferenceChatCompletionService is deprecated. Use Azure.AI.Inference.ChatCompletionsClient.AsChatClient().AsChatCompletionService() instead.
Chat completion service for Azure AI Inference.
[System.Obsolete("Dedicated AzureAIInferenceChatCompletionService is deprecated. Use Azure.AI.Inference.ChatCompletionsClient.AsChatClient().AsChatCompletionService() instead.")]
public sealed class AzureAIInferenceChatCompletionService : Microsoft.SemanticKernel.ChatCompletion.IChatCompletionService
[<System.Obsolete("Dedicated AzureAIInferenceChatCompletionService is deprecated. Use Azure.AI.Inference.ChatCompletionsClient.AsChatClient().AsChatCompletionService() instead.")>]
type AzureAIInferenceChatCompletionService = class
interface IChatCompletionService
interface IAIService
Public NotInheritable Class AzureAIInferenceChatCompletionService
Implements IChatCompletionService
- Inheritance
-
AzureAIInferenceChatCompletionService
- Attributes
- Implements
Constructors
AzureAIInferenceChatCompletionService(String, ChatCompletionsClient, ILoggerFactory) |
Initializes a new instance of the AzureAIInferenceChatCompletionService class providing your own ChatCompletionsClient instance. |
AzureAIInferenceChatCompletionService(String, String, Uri, HttpClient, ILoggerFactory) |
Initializes a new instance of the AzureAIInferenceChatCompletionService class. |
AzureAIInferenceChatCompletionService(String, TokenCredential, Uri, HttpClient, ILoggerFactory) |
Initializes a new instance of the AzureAIInferenceChatCompletionService 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. |