DeduplicatingAgentSkillsSource 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 skill source decorator that removes duplicate skills by name, keeping only the first occurrence.
public sealed class DeduplicatingAgentSkillsSource : Microsoft.Agents.AI.DelegatingAgentSkillsSource
type DeduplicatingAgentSkillsSource = class
inherit DelegatingAgentSkillsSource
Public NotInheritable Class DeduplicatingAgentSkillsSource
Inherits DelegatingAgentSkillsSource
- Inheritance
Constructors
| Name | Description |
|---|---|
| DeduplicatingAgentSkillsSource(AgentSkillsSource, ILoggerFactory) |
Initializes a new instance of the DeduplicatingAgentSkillsSource class. |
Properties
| Name | Description |
|---|---|
| InnerSource |
Gets the inner skill source that receives delegated operations. (Inherited from DelegatingAgentSkillsSource) |
Methods
| Name | Description |
|---|---|
| Dispose() |
Releases all resources used by this source. (Inherited from AgentSkillsSource) |
| Dispose(Boolean) |
Releases the unmanaged resources used by this source and optionally releases the managed resources. (Inherited from DelegatingAgentSkillsSource) |
| GetSkillsAsync(AgentSkillsSourceContext, CancellationToken) |
Gets the skills provided by this source. |