LocalEmbedder 0.4.1

dotnet add package LocalEmbedder --version 0.4.1
                    
NuGet\Install-Package LocalEmbedder -Version 0.4.1
                    
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="LocalEmbedder" Version="0.4.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalEmbedder" Version="0.4.1" />
                    
Directory.Packages.props
<PackageReference Include="LocalEmbedder" />
                    
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 LocalEmbedder --version 0.4.1
                    
#r "nuget: LocalEmbedder, 0.4.1"
                    
#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 LocalEmbedder@0.4.1
                    
#: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=LocalEmbedder&version=0.4.1
                    
Install as a Cake Addin
#tool nuget:?package=LocalEmbedder&version=0.4.1
                    
Install as a Cake Tool

⚠️ This Repository is Archived

This project has been superseded by LocalAI.Embedder.

All future development, bug fixes, and new features will be in the LocalAI project.


Migration Guide

1. Replace Package

# Remove old package
dotnet remove package LocalEmbedder

# Add new package
dotnet add package LocalAI.Embedder

2. Update Namespace

- using LocalEmbedder;
+ using LocalAI.Embedder;

3. Update Code

The API is nearly identical:

// Before (LocalEmbedder)
await using var model = await LocalEmbedder.LoadAsync("all-MiniLM-L6-v2");
float[] embedding = await model.EmbedAsync("Hello, world!");

// After (LocalAI.Embedder)
await using var model = await LocalEmbedder.LoadAsync("default");
float[] embedding = await model.EmbedAsync("Hello, world!");

Model Name Mapping

LocalEmbedder LocalAI.Embedder
all-MiniLM-L6-v2 fast
bge-small-en-v1.5 default
bge-base-en-v1.5 quality
multilingual-e5-base multilingual

Or continue using full model names directly.


Why Migrate?

LocalAI provides a unified suite of local AI capabilities:

Package Description
LocalAI.Embedder Text embeddings (successor to this package)
LocalAI.Reranker Semantic reranking for search
LocalAI.Generator Text generation & chat
More coming... OCR, Image captioning, Translation, etc.

Benefits:

  • Active development and maintenance
  • More models and capabilities
  • Unified API across all local AI tasks
  • Better documentation and examples


License

MIT License - see LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LocalEmbedder:

Package Downloads
FileFlux

Complete document processing SDK optimized for RAG systems. Transform PDF, DOCX, Excel, PowerPoint, Markdown and other formats into high-quality chunks with intelligent semantic boundary detection. Includes advanced chunking strategies, metadata extraction, and performance optimization.

FluxCurator

Text preprocessing library for RAG pipelines: PII masking, content filtering, and intelligent chunking including semantic chunking with Korean language support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.1 0 12/13/2025
0.4.0 0 12/13/2025
0.3.1 343 11/26/2025
0.3.0 170 11/26/2025
0.2.0 163 11/26/2025
0.1.1 166 11/24/2025
0.1.0 176 11/24/2025