Skip to content

LightRAG.NET v0.1.0 — C# / Unity port

Choose a tag to compare

@skykim skykim released this 06 Jun 12:45
· 1 commit to main since this release

LightRAG.NET v0.1.0 — C# port of LightRAG (netstandard2.1, Unity-ready)

First release of the C# port of LightRAG's core retrieval-augmented-generation engine.
Targets netstandard2.1, so the same assemblies run on .NET 9 and inside Unity (Mono / IL2CPP).

What's included

  • LightRAG.Core — engine: typed config + constructor injection, tiktoken-parity tokenizer, PriorityAsyncScheduler (interactive queries preempt ingestion), LLM entity/relationship extraction with gleaning, knowledge-graph construction, all query modes (local/global/hybrid/mix/naive/bypass), answer generation.
  • LightRAG.Storage.FileBased — JSON KV / doc-status, cosine nano-vectordb, GraphML graph; FileBasedLightRag factory.
  • LightRAG.Providers.OllamaOllamaLlm + OllamaEmbedding via OllamaSharp.

Download

LightRAG.NET-v0.1.0-netstandard2.1.zip contains the engine DLLs plus all transitive dependencies (18 assemblies).
For Unity, drop them into Assets/Plugins/ and delete Newtonsoft.Json.dll (Unity supplies it via the com.unity.nuget.newtonsoft-json package — keeping it causes a duplicate-assembly conflict).

Source & usage

See LightRAG.NET/ and the README for build and usage instructions.