mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
.Net: Merge Semantic Function back into SK Core Refactor Semantic Functions to SemanticKernel.Core (#3199)
### Motivation and Context ### Description ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 ## Summary This pull request refactors the Semantic Functions project to use the SemanticKernel.Core project instead of the Functions.Semantic project. The SemanticKernel.Core project is now used for the SemanticFunction, PromptTemplate, and PromptTemplateConfig classes. The Plugins.Core project no longer references the Functions.Semantic project. The SemanticFunctionTests and PromptTemplateConfigTests classes have been moved to the SemanticKernel.UnitTests project. ## Changes - Removed ProjectReference to Functions.Semantic.csproj from Plugins.Core.csproj - Renamed KernelSemanticFunctionExtensions.cs to Extensions/KernelSemanticFunctionExtensions.cs - Renamed SemanticFunction.cs to Functions/SemanticFunction.cs - Renamed PromptTemplate.cs to TemplateEngine/PromptTemplate.cs - Renamed PromptTemplateConfig.cs to TemplateEngine/PromptTemplateConfig.cs - Removed ProjectReference to Functions.Semantic.csproj from SemanticKernel.MetaPackage.csproj - Moved SemanticFunctionTests.cs to SemanticKernel.UnitTests/Functions/ - Moved PromptTemplateConfigTests.cs to SemanticKernel.UnitTests/TemplateEngine/ --- *Powered by [Microsoft Semantic Kernel](https://github.com/microsoft/semantic-kernel)* --------- Co-authored-by: Dmytro Struk <[email protected]>
This commit is contained in:
co-authored by
Dmytro Struk
parent
2efd9514b3
commit
fbe29e5e15
@@ -47,7 +47,6 @@
|
||||
<ProjectReference Include="..\..\src\Extensions\Reliability.Basic\Reliability.Basic.csproj" />
|
||||
<ProjectReference Include="..\..\src\Extensions\TemplateEngine.Basic\TemplateEngine.Basic.csproj" />
|
||||
<ProjectReference Include="..\..\src\Extensions\Reliability.Polly\Reliability.Polly.csproj" />
|
||||
<ProjectReference Include="..\..\src\Functions\Functions.Semantic\Functions.Semantic.csproj" />
|
||||
<ProjectReference Include="..\..\src\SemanticKernel.Abstractions\SemanticKernel.Abstractions.csproj" />
|
||||
<ProjectReference Include="..\..\src\Plugins\Plugins.Core\Plugins.Core.csproj" />
|
||||
<ProjectReference Include="..\..\src\Plugins\Plugins.Memory\Plugins.Memory.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user