Frank.SemanticKernel.Extensions.NsfwSpyDotNet 0.1.10-preview

This is a prerelease version of Frank.SemanticKernel.Extensions.NsfwSpyDotNet.
dotnet add package Frank.SemanticKernel.Extensions.NsfwSpyDotNet --version 0.1.10-preview                
NuGet\Install-Package Frank.SemanticKernel.Extensions.NsfwSpyDotNet -Version 0.1.10-preview                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Frank.SemanticKernel.Extensions.NsfwSpyDotNet" Version="0.1.10-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Frank.SemanticKernel.Extensions.NsfwSpyDotNet --version 0.1.10-preview                
#r "nuget: Frank.SemanticKernel.Extensions.NsfwSpyDotNet, 0.1.10-preview"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 94 1/24/2024