ChatCompletionAgent 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.
Represent an agent that is built around the SK ChatCompletion API and leverages the API's capabilities.
public sealed class ChatCompletionAgent
type ChatCompletionAgent = class
Public NotInheritable Class ChatCompletionAgent
- Inheritance
-
ChatCompletionAgent
Constructors
ChatCompletionAgent(Kernel, String, PromptExecutionSettings) |
Initializes a new instance of the ChatCompletionAgent class. |
Methods
InvokeAsync(IReadOnlyList<ChatMessageContent>, CancellationToken) |
Invokes the agent to process the given messages and generate a response. |