AgentFileSkillsSource Constructors
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.
Overloads
| Name | Description |
|---|---|
| AgentFileSkillsSource(IEnumerable<String>, AgentFileSkillScriptRunner, AgentFileSkillsSourceOptions, ILoggerFactory) |
Initializes a new instance of the AgentFileSkillsSource class. |
| AgentFileSkillsSource(String, AgentFileSkillScriptRunner, AgentFileSkillsSourceOptions, ILoggerFactory) |
Initializes a new instance of the AgentFileSkillsSource class. |
AgentFileSkillsSource(IEnumerable<String>, AgentFileSkillScriptRunner, AgentFileSkillsSourceOptions, ILoggerFactory)
Initializes a new instance of the AgentFileSkillsSource class.
public AgentFileSkillsSource(System.Collections.Generic.IEnumerable<string> skillPaths, Microsoft.Agents.AI.AgentFileSkillScriptRunner? scriptRunner = default, Microsoft.Agents.AI.AgentFileSkillsSourceOptions? options = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.Agents.AI.AgentFileSkillsSource : seq<string> * Microsoft.Agents.AI.AgentFileSkillScriptRunner * Microsoft.Agents.AI.AgentFileSkillsSourceOptions * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Agents.AI.AgentFileSkillsSource
Public Sub New (skillPaths As IEnumerable(Of String), Optional scriptRunner As AgentFileSkillScriptRunner = Nothing, Optional options As AgentFileSkillsSourceOptions = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- skillPaths
- IEnumerable<String>
Paths to search for skills.
- scriptRunner
- AgentFileSkillScriptRunner
Optional runner for file-based scripts. Required only when skills contain scripts.
- options
- AgentFileSkillsSourceOptions
Optional options that control skill discovery behavior.
- loggerFactory
- ILoggerFactory
Optional logger factory.
Applies to
AgentFileSkillsSource(String, AgentFileSkillScriptRunner, AgentFileSkillsSourceOptions, ILoggerFactory)
Initializes a new instance of the AgentFileSkillsSource class.
public AgentFileSkillsSource(string skillPath, Microsoft.Agents.AI.AgentFileSkillScriptRunner? scriptRunner = default, Microsoft.Agents.AI.AgentFileSkillsSourceOptions? options = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.Agents.AI.AgentFileSkillsSource : string * Microsoft.Agents.AI.AgentFileSkillScriptRunner * Microsoft.Agents.AI.AgentFileSkillsSourceOptions * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Agents.AI.AgentFileSkillsSource
Public Sub New (skillPath As String, Optional scriptRunner As AgentFileSkillScriptRunner = Nothing, Optional options As AgentFileSkillsSourceOptions = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- skillPath
- String
Path to search for skills.
- scriptRunner
- AgentFileSkillScriptRunner
Optional runner for file-based scripts. Required only when skills contain scripts.
- options
- AgentFileSkillsSourceOptions
Optional options that control skill discovery behavior.
- loggerFactory
- ILoggerFactory
Optional logger factory.