NE.ChatAI.Plugins 1.4.0

dotnet add package NE.ChatAI.Plugins --version 1.4.0
                    
NuGet\Install-Package NE.ChatAI.Plugins -Version 1.4.0
                    
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="NE.ChatAI.Plugins" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NE.ChatAI.Plugins" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="NE.ChatAI.Plugins" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NE.ChatAI.Plugins --version 1.4.0
                    
#r "nuget: NE.ChatAI.Plugins, 1.4.0"
                    
#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.
#:package NE.ChatAI.Plugins@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NE.ChatAI.Plugins&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=NE.ChatAI.Plugins&version=1.4.0
                    
Install as a Cake Tool

NE.ChatAI.Plugins

Scenario plugin SDK for NE.ChatAI, built on NE.Standard.UI.Graph.

Overview

Reference NE.ChatAI.Plugins with ExcludeAssets="runtime" so host contracts unify with the running NE.ChatAI process when loaded inside its collectible PluginLoadContext:

<PropertyGroup>
  <TargetFramework>net11.0</TargetFramework>
  <EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

<ItemGroup>
  <PackageReference Include="NE.ChatAI.Plugins" Version="1.4.0" ExcludeAssets="runtime" PrivateAssets="all" />
  <None Include="plugin.json" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>

Key Types

  • IChatPlugin — optional explicit entry point (Id and NodeTypes); when omitted, public concrete [GraphNode] classes in the entry assembly are discovered automatically.
  • IScenarioContext — read-only metadata for the active scenario run (ScenarioId, ScenarioName, ChatId, CharacterId, CharacterName, UserName, IsPreview, Draft).
  • IScenarioSecrets — reads named API keys encrypted in secrets.json or supplied via ChatAI__Secrets__<name>.
  • IScenarioMedia — saves generated or downloaded images into data/chats/<chatId>/images/ and returns a served URL ready for [GraphOutput(Image = true)] and Set visual (chat.visual).
  • ScenarioNodeExtensions — UINodeRunContext helpers (GetScenarioContext(), GetScenarioSecrets(), GetScenarioMedia(), CreateHttpClient()).

See AkiEvansDev/NE.ChatAI.Plugins.Translate for a complete standalone plugin repository and GitHub Releases workflow.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
1.4.0 0 11/16/2026