LMSupply.Embedder
0.35.1
dotnet add package LMSupply.Embedder --version 0.35.1
NuGet\Install-Package LMSupply.Embedder -Version 0.35.1
<PackageReference Include="LMSupply.Embedder" Version="0.35.1" />
<PackageVersion Include="LMSupply.Embedder" Version="0.35.1" />
<PackageReference Include="LMSupply.Embedder" />
paket add LMSupply.Embedder --version 0.35.1
#r "nuget: LMSupply.Embedder, 0.35.1"
#:package LMSupply.Embedder@0.35.1
#addin nuget:?package=LMSupply.Embedder&version=0.35.1
#tool nuget:?package=LMSupply.Embedder&version=0.35.1
LMSupply.Embedder
Local text embedding for .NET with automatic model downloading.
Features
- Zero-config: Models download automatically from HuggingFace
- GPU Acceleration: CUDA, DirectML (Windows), CoreML (macOS)
- Cross-platform: Windows, Linux, macOS
- Simple API: Just 2 lines of code to get started
Quick Start
using LMSupply.Embedder;
// Load the default model
await using var model = await LocalEmbedder.LoadAsync("default");
// Generate embeddings
float[] embedding = await model.EmbedAsync("Hello, world!");
Console.WriteLine($"Dimensions: {embedding.Length}");
Available Models
| Alias | Model | Dimensions | Description |
|---|---|---|---|
default |
BGE-Small-EN-v1.5 | 384 | Best balance of speed and quality |
fast |
all-MiniLM-L6-v2 | 384 | Ultra-lightweight, fastest |
quality |
BGE-Base-EN-v1.5 | 768 | Higher accuracy |
large |
Nomic-Embed-v1.5 | 768 | 8K context, top performer |
multilingual |
E5-Base | 768 | 100+ languages |
GPU Acceleration
# NVIDIA GPU
dotnet add package Microsoft.ML.OnnxRuntime.Gpu
# Windows (AMD/Intel/NVIDIA)
dotnet add package Microsoft.ML.OnnxRuntime.DirectML
| 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
- LMSupply.Core (>= 0.35.1)
- LMSupply.Llama (>= 0.35.1)
- LMSupply.Text.Core (>= 0.35.1)
- System.Numerics.Tensors (>= 10.0.8)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on LMSupply.Embedder:
| Package | Downloads |
|---|---|
|
FluxIndex.MCP
MCP (Model Context Protocol) server implementation for FluxIndex RAG services |
|
|
FluxIndex.Providers.LMSupply
LMSupply local AI embedding, reranking, and text completion provider for FluxIndex |
|
|
IronHive.Cli.Core
IronHive CLI Core - Agent loop, tools, session management, and provider integrations for building AI-powered CLI tools |
|
|
IronHive.Host.Core
IronHive Host Core - Agent loop, tools, session management, and provider integrations for building reusable AI agent hosts (CLI, server, embedded) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.35.1 | 89 | 6/29/2026 |
| 0.35.0 | 103 | 6/26/2026 |
| 0.34.31 | 104 | 6/21/2026 |
| 0.34.30 | 96 | 6/21/2026 |
| 0.34.29 | 100 | 6/21/2026 |
| 0.34.28 | 99 | 6/21/2026 |
| 0.34.27 | 98 | 6/20/2026 |
| 0.34.22 | 100 | 6/20/2026 |
| 0.34.21 | 103 | 6/20/2026 |
| 0.34.20 | 164 | 6/2/2026 |
| 0.34.19 | 119 | 5/25/2026 |
| 0.34.18 | 136 | 5/21/2026 |
| 0.34.17 | 643 | 5/20/2026 |
| 0.34.16 | 119 | 5/15/2026 |
| 0.34.15 | 110 | 5/14/2026 |
| 0.34.13 | 116 | 5/12/2026 |
| 0.34.12 | 349 | 5/11/2026 |
| 0.34.3 | 101 | 5/7/2026 |
| 0.34.2 | 100 | 5/5/2026 |
| 0.34.1 | 112 | 5/3/2026 |