Getting started¶
Prerequisites¶
- .NET SDK for your chosen TFM(s) - net8.0, net9.0, and/or net10.0
Scaffold¶
dotnet new install <installer-package-or-path>
dotnet new connectsoft-aiskills-library -n Acme.Risk.Scoring.Skills
Single-target build:
Build and test¶
cd Acme.Risk.Scoring.Skills
dotnet build
dotnet test # UnitTests (MSTest) + AcceptanceTests (Reqnroll/Gherkin)
Register in a host¶
builder.Services
.AddAISkillsLibraryTemplateServices()
.AddAISkillsLibraryTemplateAgent()
.AddAISkillsLibraryTemplateEmbeddings()
.AddAISkillsLibraryTemplateMcpTools();
Provide an IChatClient (e.g. Azure OpenAI / OpenAI) and bind the options sections your skills require.
Replace the sample skills¶
Swap the example AIFunctions in LibraryTemplateAITools for your own domain tools, then update the matching Reqnroll feature files under tests/<Name>.AcceptanceTests.