LocalEmbedder 0.4.1
dotnet add package LocalEmbedder --version 0.4.1
NuGet\Install-Package LocalEmbedder -Version 0.4.1
<PackageReference Include="LocalEmbedder" Version="0.4.1" />
<PackageVersion Include="LocalEmbedder" Version="0.4.1" />
<PackageReference Include="LocalEmbedder" />
paket add LocalEmbedder --version 0.4.1
#r "nuget: LocalEmbedder, 0.4.1"
#:package LocalEmbedder@0.4.1
#addin nuget:?package=LocalEmbedder&version=0.4.1
#tool nuget:?package=LocalEmbedder&version=0.4.1
⚠️ 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
Links
- New Repository: https://github.com/iyulab/local-ai
- NuGet Package: https://www.nuget.org/packages/LocalAI.Embedder
- Documentation: https://github.com/iyulab/local-ai/blob/main/docs/embedder.md
License
MIT License - see LICENSE for details.
| Product | Versions 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. |
-
net10.0
- Microsoft.ML.OnnxRuntime (>= 1.23.2)
- System.Numerics.Tensors (>= 10.0.1)
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.