Frank.SemanticKernel.Extensions.NsfwSpyDotNet
0.1.10-preview
dotnet add package Frank.SemanticKernel.Extensions.NsfwSpyDotNet --version 0.1.10-preview
NuGet\Install-Package Frank.SemanticKernel.Extensions.NsfwSpyDotNet -Version 0.1.10-preview
<PackageReference Include="Frank.SemanticKernel.Extensions.NsfwSpyDotNet" Version="0.1.10-preview" />
paket add Frank.SemanticKernel.Extensions.NsfwSpyDotNet --version 0.1.10-preview
#r "nuget: Frank.SemanticKernel.Extensions.NsfwSpyDotNet, 0.1.10-preview"
// Install Frank.SemanticKernel.Extensions.NsfwSpyDotNet as a Cake Addin #addin nuget:?package=Frank.SemanticKernel.Extensions.NsfwSpyDotNet&version=0.1.10-preview&prerelease // Install Frank.SemanticKernel.Extensions.NsfwSpyDotNet as a Cake Tool #tool nuget:?package=Frank.SemanticKernel.Extensions.NsfwSpyDotNet&version=0.1.10-preview&prerelease
Nsfw extension for Semantic Kernel using NsfwSpy.Net
This extension is using NsfwSpy.Net to detect NSFW content in images as they are generated by the Semantic Kernel.
The reason for this extension is that the Semantic Kernel is not able to detect NSFW content in images by itself and the use of creative phrasing can sometimes lead to NSFW content being generated by AI, so this acts as a safety net, or filter, to prevent NSFW content from being generated by accident.
Of course, this extension can also be used make sure that NSFW content is generated by the Semantic Kernel, if that is what you want, however, this can get expensive, as it will retry until it gets a result that is NSFW; but this might be desirable if you want to test existing safeguards.
How to use
Install
To install the extension, use the following command:
dotnet packages add Frank.SemanticKernel.Extensions.NsfwSpyDotNet
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.SemanticKernel.Abstractions (>= 1.0.1)
- NsfwSpy (>= 3.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.10-preview | 88 | 1/24/2024 |