FileAgentSkillsProvider 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 |
|---|---|
| FileAgentSkillsProvider(IEnumerable<String>, FileAgentSkillsProviderOptions, ILoggerFactory) |
Initializes a new instance of the FileAgentSkillsProvider class that searches multiple directories for skills. |
| FileAgentSkillsProvider(String, FileAgentSkillsProviderOptions, ILoggerFactory) |
Initializes a new instance of the FileAgentSkillsProvider class that searches a single directory for skills. |
FileAgentSkillsProvider(IEnumerable<String>, FileAgentSkillsProviderOptions, ILoggerFactory)
Initializes a new instance of the FileAgentSkillsProvider class that searches multiple directories for skills.
public FileAgentSkillsProvider(System.Collections.Generic.IEnumerable<string> skillPaths, Microsoft.Agents.AI.FileAgentSkillsProviderOptions? options = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.Agents.AI.FileAgentSkillsProvider : seq<string> * Microsoft.Agents.AI.FileAgentSkillsProviderOptions * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Agents.AI.FileAgentSkillsProvider
Public Sub New (skillPaths As IEnumerable(Of String), Optional options As FileAgentSkillsProviderOptions = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- skillPaths
- IEnumerable<String>
Paths to search. Each can be an individual skill folder or a parent folder with skill subdirectories.
- options
- FileAgentSkillsProviderOptions
Optional configuration for prompt customization.
- loggerFactory
- ILoggerFactory
Optional logger factory.
Applies to
FileAgentSkillsProvider(String, FileAgentSkillsProviderOptions, ILoggerFactory)
Initializes a new instance of the FileAgentSkillsProvider class that searches a single directory for skills.
public FileAgentSkillsProvider(string skillPath, Microsoft.Agents.AI.FileAgentSkillsProviderOptions? options = default, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.Agents.AI.FileAgentSkillsProvider : string * Microsoft.Agents.AI.FileAgentSkillsProviderOptions * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Agents.AI.FileAgentSkillsProvider
Public Sub New (skillPath As String, Optional options As FileAgentSkillsProviderOptions = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- skillPath
- String
Path to an individual skill folder (containing a SKILL.md file) or a parent folder with skill subdirectories.
- options
- FileAgentSkillsProviderOptions
Optional configuration for prompt customization.
- loggerFactory
- ILoggerFactory
Optional logger factory.