-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Removed obsolete filter classes (#9426)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> This PR removes obsolete filter classes for function invocation and prompt filtering. They became obsolete a while ago and they are not used in Kernel logic anymore. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [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 😄
- Loading branch information
1 parent
7579b24
commit 259c58c
Showing
7 changed files
with
88 additions
and
257 deletions.
There are no files selected for viewing
88 changes: 88 additions & 0 deletions
88
dotnet/src/SemanticKernel.Abstractions/CompatibilitySuppressions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids --> | ||
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.FunctionFilterContext</Target> | ||
<Left>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.FunctionInvokedContext</Target> | ||
<Left>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.FunctionInvokingContext</Target> | ||
<Left>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.PromptFilterContext</Target> | ||
<Left>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.PromptRenderedContext</Target> | ||
<Left>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.PromptRenderingContext</Target> | ||
<Left>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/net8.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.FunctionFilterContext</Target> | ||
<Left>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.FunctionInvokedContext</Target> | ||
<Left>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.FunctionInvokingContext</Target> | ||
<Left>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.PromptFilterContext</Target> | ||
<Left>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.PromptRenderedContext</Target> | ||
<Left>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Microsoft.SemanticKernel.PromptRenderingContext</Target> | ||
<Left>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Left> | ||
<Right>lib/netstandard2.0/Microsoft.SemanticKernel.Abstractions.dll</Right> | ||
<IsBaselineSuppression>true</IsBaselineSuppression> | ||
</Suppression> | ||
</Suppressions> |
58 changes: 0 additions & 58 deletions
58
dotnet/src/SemanticKernel.Abstractions/Filters/Function/FunctionFilterContext.cs
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
dotnet/src/SemanticKernel.Abstractions/Filters/Function/FunctionInvokedContext.cs
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
dotnet/src/SemanticKernel.Abstractions/Filters/Function/FunctionInvokingContext.cs
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
dotnet/src/SemanticKernel.Abstractions/Filters/Prompt/PromptFilterContext.cs
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
dotnet/src/SemanticKernel.Abstractions/Filters/Prompt/PromptRenderedContext.cs
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
dotnet/src/SemanticKernel.Abstractions/Filters/Prompt/PromptRenderingContext.cs
This file was deleted.
Oops, something went wrong.