Sylin.Koan.Data.Vector.Connector.InMemory
0.21.1
dotnet add package Sylin.Koan.Data.Vector.Connector.InMemory --version 0.21.1
NuGet\Install-Package Sylin.Koan.Data.Vector.Connector.InMemory -Version 0.21.1
<PackageReference Include="Sylin.Koan.Data.Vector.Connector.InMemory" Version="0.21.1" />
<PackageVersion Include="Sylin.Koan.Data.Vector.Connector.InMemory" Version="0.21.1" />
<PackageReference Include="Sylin.Koan.Data.Vector.Connector.InMemory" />
paket add Sylin.Koan.Data.Vector.Connector.InMemory --version 0.21.1
#r "nuget: Sylin.Koan.Data.Vector.Connector.InMemory, 0.21.1"
#:package Sylin.Koan.Data.Vector.Connector.InMemory@0.21.1
#addin nuget:?package=Sylin.Koan.Data.Vector.Connector.InMemory&version=0.21.1
#tool nuget:?package=Sylin.Koan.Data.Vector.Connector.InMemory&version=0.21.1
Sylin.Koan.Data.Vector.Connector.InMemory
The bounded, zero-infrastructure exact Vector floor for Koan.
- Target framework: net10.0
- License: Apache-2.0
Smallest meaningful result
builder.Services.AddKoan(koan =>
{
koan.Data.Source("Semantic").Vector<Article>(space => space
.Name("articles")
.Dimensions(3)
.Metric(VectorMetric.Cosine)
.Visibility(VectorVisibility.Session));
});
await Vector<Article>.Save("koan", [1f, 0f, 0f]);
var nearest = await Vector<Article>.Search(
[0.9f, 0.1f, 0f],
query => query.Top(5));
Reference the package and keep the ordinary AddKoan(...) bootstrap. There is no provider registration, client,
connection string, or index ceremony.
What it proves
- exact cosine, Euclidean, or dot-product ranking with normalized finite similarity;
- stable identity tie ordering and truthful exact execution receipts;
- complete point save/get/delete and positional get-many;
- full Koan metadata filters before ranking;
- ordered bulk outcomes without an atomic-batch claim;
- Session visibility and source, partition, and row-scope isolation;
- bounded spaces, points, dimensions, metadata size, and host-owned caches.
It does not pretend to provide durability, Eventual visibility, approximate indexing, hybrid text search, continuation, multiple vectors per point, streaming export, or atomic batches. Those clauses reject correctively.
Data belongs to one application host and disappears when that host is disposed. Use this adapter for local workflows, tests, and bounded single-process datasets. Select another connector when persistence, sharing, or provider-native capabilities are application requirements.
References
| 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
- Sylin.Koan.Core (>= 0.20.7 && < 0.21.0)
- Sylin.Koan.Data.Abstractions (>= 0.21.0 && < 0.22.0)
- Sylin.Koan.Data.Core (>= 0.21.0 && < 0.22.0)
- Sylin.Koan.Data.Vector (>= 0.21.0 && < 0.22.0)
- Sylin.Koan.Data.Vector.Abstractions (>= 0.21.0 && < 0.22.0)
- System.Numerics.Tensors (>= 10.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.