Encamina.Enmarcha.Data.Qdrant 8.1.7-preview-05

This is a prerelease version of Encamina.Enmarcha.Data.Qdrant.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Encamina.Enmarcha.Data.Qdrant --version 8.1.7-preview-05
                    
NuGet\Install-Package Encamina.Enmarcha.Data.Qdrant -Version 8.1.7-preview-05
                    
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="Encamina.Enmarcha.Data.Qdrant" Version="8.1.7-preview-05" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Encamina.Enmarcha.Data.Qdrant" Version="8.1.7-preview-05" />
                    
Directory.Packages.props
<PackageReference Include="Encamina.Enmarcha.Data.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 Encamina.Enmarcha.Data.Qdrant --version 8.1.7-preview-05
                    
#r "nuget: Encamina.Enmarcha.Data.Qdrant, 8.1.7-preview-05"
                    
#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 Encamina.Enmarcha.Data.Qdrant@8.1.7-preview-05
                    
#: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=Encamina.Enmarcha.Data.Qdrant&version=8.1.7-preview-05&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Encamina.Enmarcha.Data.Qdrant&version=8.1.7-preview-05&prerelease
                    
Install as a Cake Tool

Data - Qdrant

Nuget package

The Data Qdrant project contains functionalities related to the Qdrant vector database.

Setup

Nuget package

First, install NuGet. Then, install Encamina.Enmarcha.Data.Qdrant from the package manager console:

PM> Install-Package Encamina.Enmarcha.Data.Qdrant

.NET CLI:

First, install .NET CLI. Then, install Encamina.Enmarcha.Data.Qdrant from the .NET CLI:

dotnet add package Encamina.Enmarcha.Data.Qdrant

How to use

QdrantSnapshotHandler

Qdrant vector database supports creating snapshots, which consist in a .snapshot archive file containing the necessary data to restore the collection at the time of the snapshot. This handler allows you to take snapshots of Qdrant. First, you need to add the QdrantOptions to your project configuration. You can achieve this by using any configuration provider. The followng code is an example of how the settings would appear using the appsettings.json file:

// ...
  "QdrantOptions": {
    "Host": "https://sample-qdrant.azurewebsites.net/", // Endpoint protocol and host
    "Port": 6333, // Endpoint port
    "VectorSize": 1536, // Vector size
    "ApiKey": "xxxxxxxxxx" // API Key used by Qdrant as a form of client authentication.
  },
// ...

Starting from a Program.cs or a similar entry point file in your project, add the following code:

// Entry point
var builder = WebApplication.CreateBuilder(new WebApplicationOptions
{
    // ...
});

// ... 

// Or others configuration providers...
builder.Configuration.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); 

builder.Services.AddOptions<QdrantOptions>().Bind(builder.Configuration.GetSection(nameof(QdrantOptions)))
    .ValidateDataAnnotations()
    .ValidateOnStart();

services.AddQdrantSnapshotHandler();

This extension method will add the implementation of the IQdrantSnapshotHandler interface as a singleton, in addition to configuring an HttpClient with QdrantOptions so that the handler can use the Qdrant REST API. The implementation is QdrantSnapshotHandler. With this, it can resolve the IQdrantSnapshotHandler interface and take snapshots:

public class MyClass
{
    private readonly IQdrantSnapshotHandler qdrantSnapshotHandler;

    public MyClass(IQdrantSnapshotHandler qdrantSnapshotHandler)
    {
        this.qdrantSnapshotHandler = qdrantSnapshotHandler;
    }

    public async Task TestQdrantSnapshotAsync()
    {
        await qdrantSnapshotHandler.CreateCollectionSnapshotAsync("my-collection-1", CancellationToken.None);
    }
}

The previous code creates a snapshot of the 'my-collection-1' collection.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
10.0.0-preview-03 143 9/16/2025
10.0.0-preview-02 146 9/16/2025
8.3.0 133 9/10/2025
8.3.0-preview-02 123 9/10/2025
8.3.0-preview-01 127 9/8/2025
8.2.1-preview-08 130 8/18/2025
8.2.1-preview-07 130 8/12/2025
8.2.1-preview-06 125 8/11/2025
8.2.1-preview-05 211 8/5/2025
8.2.1-preview-04 135 7/15/2025
8.2.1-preview-03 140 7/14/2025
8.2.1-preview-02 127 7/3/2025
8.2.1-preview-01 273 3/23/2025
8.2.0 121 10/22/2024
8.2.0-preview-01-m01 112 9/17/2024
8.1.9-preview-03 96 11/19/2024
8.1.9-preview-02 85 10/22/2024
8.1.9-preview-01 101 10/4/2024
8.1.8 118 9/23/2024
8.1.8-preview-07 84 9/12/2024
8.1.8-preview-06 101 9/11/2024
8.1.8-preview-05 129 9/10/2024
8.1.8-preview-04 134 8/16/2024
8.1.8-preview-03 131 8/13/2024
8.1.8-preview-02 125 8/13/2024
8.1.8-preview-01 124 8/12/2024
8.1.7 139 8/7/2024
8.1.7-preview-09 113 7/3/2024
8.1.7-preview-08 110 7/2/2024
8.1.7-preview-07 104 6/10/2024
8.1.7-preview-06 111 6/10/2024
8.1.7-preview-05 123 6/6/2024
8.1.7-preview-04 100 6/6/2024
8.1.7-preview-03 112 5/24/2024
8.1.7-preview-02 131 5/10/2024
8.1.7-preview-01 112 5/8/2024
8.1.6 179 5/7/2024
8.1.6-preview-08 86 5/2/2024
8.1.6-preview-07 114 4/29/2024
8.1.6-preview-06 136 4/26/2024
8.1.6-preview-05 118 4/24/2024
8.1.6-preview-04 126 4/22/2024
8.1.6-preview-03 119 4/22/2024
8.1.6-preview-02 120 4/17/2024
8.1.6-preview-01 104 4/15/2024
8.1.5 149 4/15/2024
8.1.5-preview-15 116 4/10/2024
8.1.5-preview-14 131 3/20/2024
8.1.5-preview-13 108 3/18/2024
8.1.5-preview-12 136 3/13/2024
8.1.5-preview-11 117 3/13/2024
8.1.5-preview-10 147 3/13/2024
8.1.5-preview-09 90 3/12/2024
8.1.5-preview-08 113 3/12/2024
8.1.5-preview-07 123 3/8/2024
8.1.5-preview-06 109 3/8/2024
8.1.5-preview-05 117 3/7/2024
8.1.5-preview-04 133 3/7/2024
8.1.5-preview-03 98 3/7/2024
8.1.5-preview-02 107 2/28/2024
8.1.5-preview-01 110 2/19/2024
8.1.4 174 2/15/2024
8.1.3 168 2/13/2024
8.1.3-preview-07 118 2/13/2024
8.1.3-preview-06 111 2/12/2024
8.1.3-preview-05 114 2/9/2024
8.1.3-preview-04 119 2/8/2024
8.1.3-preview-03 127 2/7/2024
8.1.3-preview-02 111 2/2/2024
8.1.3-preview-01 91 2/2/2024
8.1.2 178 2/1/2024
8.1.2-preview-9 114 1/22/2024
8.1.2-preview-8 110 1/19/2024
8.1.2-preview-7 98 1/19/2024
8.1.2-preview-6 107 1/19/2024
8.1.2-preview-5 99 1/19/2024
8.1.2-preview-4 109 1/19/2024
8.1.2-preview-3 115 1/18/2024
8.1.2-preview-2 106 1/18/2024
8.1.2-preview-16 104 1/31/2024
8.1.2-preview-15 110 1/31/2024
8.1.2-preview-14 139 1/25/2024
8.1.2-preview-13 120 1/25/2024
8.1.2-preview-12 111 1/23/2024
8.1.2-preview-11 113 1/23/2024
8.1.2-preview-10 108 1/22/2024
8.1.2-preview-1 111 1/18/2024
8.1.1 162 1/18/2024
8.1.0 133 1/18/2024
8.0.3 161 12/29/2023
8.0.1 166 12/14/2023
8.0.0 159 12/7/2023
6.0.4.3 192 12/29/2023
6.0.4.2 151 12/20/2023
6.0.4.1 110 12/19/2023
6.0.4 162 12/4/2023
6.0.3.20 138 11/27/2023
6.0.3.19 153 11/22/2023