OpenAIAssistantAgent 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.
A KernelAgent specialization based on Open AI Assistant / GPT.
public sealed class OpenAIAssistantAgent : Microsoft.SemanticKernel.Agents.KernelAgent
type OpenAIAssistantAgent = class
inherit KernelAgent
Public NotInheritable Class OpenAIAssistantAgent
Inherits KernelAgent
- Inheritance
Fields
CodeInterpreterMetadataKey |
Metadata key that identifies code-interpreter content. |
Properties
Arguments |
Optional arguments for the agent. |
Definition |
The assistant definition. |
Description |
The description of the agent (optional) (Inherited from Agent) |
Id |
The identifier of the agent (optional). (Inherited from Agent) |
Instructions |
The instructions of the agent (optional) (Inherited from KernelAgent) |
IsDeleted |
Set when the assistant has been deleted via DeleteAsync(CancellationToken). An assistant removed by other means will result in an exception when invoked. |
Kernel |
The Kernel containing services, plugins, and filters for use throughout the agent lifetime. (Inherited from KernelAgent) |
Logger |
The ILogger associated with this Agent. (Inherited from Agent) |
LoggerFactory |
A ILoggerFactory for this Agent. (Inherited from Agent) |
Name |
The name of the agent (optional) (Inherited from Agent) |
PollingOptions |
Defines polling behavior for run processing |