Sylin.Koan.Data.Vector.Connector.MongoAtlasVector 1.0.93

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

Sylin.Koan.Data.Vector.Connector.MongoAtlasVector

Sylin.Koan.Data.Vector.Connector.MongoAtlasVector makes an existing Atlas deployment the vector plane for ordinary Koan Vector<TEntity> calls. Referencing the package is the composition step; the application keeps declaring spaces and using the shared vector API.

dotnet add package Sylin.Koan.Data.Vector.Connector.MongoAtlasVector
builder.Services.AddKoan(koan =>
    koan.Data.Source("Default").Vector<Article>(space => space
        .Name("articles")
        .Dimensions(768)
        .Metric(VectorMetric.Cosine)
        .Visibility(VectorVisibility.Session)));
await Vector<Article>.Save(article.Id, embedding, new { article.Category });

var related = await Vector<Article>.Search(embedding, query => query
    .Top(12)
    .Where(Filter.Eq("Category", article.Category)));

If the application already uses Sylin.Koan.Data.Connector.Mongo, the vector connector reuses that Mongo endpoint. It writes to the separate KoanVectors database and _vector collections, so a record and its vector can safely have the same Entity type and identity.

Configuration

{
  "Koan": {
    "Data": {
      "MongoAtlasVector": {
        "ConnectionString": "mongodb://atlas-host:27017",
        "Database": "KoanVectors"
      }
    }
  }
}

ConnectionStrings:MongoAtlasVector is also accepted. When neither vector setting is concrete, the connector reuses Koan:Data:Mongo:ConnectionString, ConnectionStrings:Mongo, or the selected Mongo source. A source may override vector placement under Koan:Data:Sources:{source}:mongo-atlas-vector. The vector database never inherits the record connector database; set it explicitly when KoanVectors is not the desired boundary.

Guarantees and boundaries

  • Search is native Atlas Search with exhaustive exact: true execution and scores normalized to [0,1].
  • Awaited writes and deletes poll Atlas Search until the accepted revision is visible, providing the declared Session visibility with a bounded timeout.
  • Metadata equality, comparison, set, existence, size, and boolean filters execute as native Atlas prefilters. Unsupported intent fails before returning a partial client-filtered answer.
  • Batch work is native Mongo bulk I/O with ordered per-item outcomes; whole-batch atomicity is not claimed.
  • Managed sources may create and validate collections and search indexes. Read-only and external sources never create schema and fail correctively when required shape is absent.

This package requires MongoDB Atlas with Search/Vector Search enabled. Ordinary MongoDB does not provide the required search-index commands or execution stage and is rejected; the connector never falls back to an in-memory approximation. Atlas Local is suitable for development and conformance, not a production topology recommendation.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.93 134 9/13/2026
1.0.90 116 9/12/2026
1.0.87 108 9/12/2026
1.0.85 113 9/10/2026
1.0.81 115 9/10/2026
1.0.77 115 9/9/2026
1.0.73 98 9/9/2026
1.0.70 105 9/9/2026
1.0.65 111 9/9/2026
1.0.63 106 9/9/2026
1.0.58 121 9/5/2026
1.0.57 123 8/30/2026
1.0.56 107 8/30/2026
1.0.55 113 8/28/2026
1.0.54 106 8/28/2026
1.0.53 104 8/28/2026
1.0.52 97 8/28/2026
1.0.51 113 8/28/2026
1.0.50 115 8/27/2026
1.0.45 131 8/25/2026
Loading failed