Sylin.Koan.Data.Vector.Connector.Qdrant 0.21.0

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

Sylin.Koan.Data.Vector.Connector.Qdrant

Use Qdrant through Koan's Entity-first vector API. The application declares a vector space once; the adapter realizes its shape, source policy, isolation, visibility, filtering, and similarity semantics over Qdrant.

Declare the space

dotnet add package Sylin.Koan.Data.Vector.Connector.Qdrant
public sealed class Article : Entity<Article>;

services.AddKoan(koan => koan.Data
    .Source("Search")
    .Vector<Article>(space => space
        .Name("content")
        .Dimensions(1536)
        .Metric(VectorMetric.Cosine)
        .Visibility(VectorVisibility.Session)));

Name, Dimensions, Metric, and Visibility are application decisions. They are not repeated in Qdrant options. Referencing the package activates the adapter; no provider client or collection bootstrap belongs in application code.

await Vector<Article>.Save(article.Id, embedding, new
{
    article.Category,
    article.Language
});

var matches = await Vector<Article>.Search(embedding, query => query
    .Top(12)
    .Where(Filter.All(
        Filter.Eq("Category", "support"),
        Filter.In("Language", ["en", "fr"]))));

Awaited saves and deletes are visible to subsequent operations in Session mode. Search results expose a normalized Similarity in [0,1], where larger always means closer, for cosine, Euclidean, and dot-product spaces.

Configure placement

Qdrant at http://localhost:6333 needs no configuration. Set placement or authentication only when they differ:

{
  "Koan": {
    "Data": {
      "Qdrant": {
        "Endpoint": "https://cluster.example.qdrant.io",
        "ApiKey": "use-a-secret-provider"
      }
    }
  }
}

Use Koan:Data:Sources:{name} for source-specific endpoints and standard Access or StorageLifecycle policy. A read-only source rejects mutations before provider I/O. An external source validates existing storage and never creates or repairs it.

Guarantees and limits

  • Managed writes create a missing collection from the immutable vector-space plan; every existing collection is validated for the declared named-vector dimensions and metric.
  • Arbitrary Entity IDs round-trip without exposing Qdrant's UUID/u64 restriction. Source, partition, and row scopes participate in physical isolation.
  • Neutral metadata round-trips losslessly. A separate provider-native projection supports declared payload filters.
  • Batch outcomes preserve input order and report BatchAtomicity.NotGuaranteed.
  • Clear removes only points in the active scope; it does not drop the collection.
  • Dense search is reported as approximate. Candidate expansion is bounded and fails when a stable cutoff cannot be proven within the configured limit.
  • Eventual visibility, hybrid text search, search continuations, streaming export, and atomic batches are declined explicitly. Unsupported filter operators fail closed.

Operator budgets are available through QdrantOptions: request timeout, per-point metadata bytes, batch points, search candidates, and response bytes. They bound work; they do not redefine vector semantics.

See TECHNICAL.md for the provider realization and failure contract.

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
0.21.0 76 7/30/2026
0.20.3 101 7/23/2026
0.20.1 98 7/22/2026
0.20.0 127 7/22/2026
0.17.0 103 6/12/2026