DeduplicatingAgentSkillsSource Class

Definition

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
DeduplicatingAgentSkillsSource

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.

Applies to