LocalAI.Generator
A .NET library for local LLM text generation using ONNX Runtime GenAI. Supports streaming, chat templates, and automatic hardware detection with CUDA/DirectML GPU acceleration.
Install
dotnet add package LocalAI.Generator --version 0.7.2
Install-Package LocalAI.Generator -Version 0.7.2
<PackageReference Include="LocalAI.Generator" Version="0.7.2" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
NuGet marks this package as deprecated and points to LMSupply.Generator as an alternative.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.