Encamina.Enmarcha.Data.Qdrant.Abstractions
8.1.6-preview-06
See the version list below for details.
dotnet add package Encamina.Enmarcha.Data.Qdrant.Abstractions --version 8.1.6-preview-06
NuGet\Install-Package Encamina.Enmarcha.Data.Qdrant.Abstractions -Version 8.1.6-preview-06
<PackageReference Include="Encamina.Enmarcha.Data.Qdrant.Abstractions" Version="8.1.6-preview-06" />
paket add Encamina.Enmarcha.Data.Qdrant.Abstractions --version 8.1.6-preview-06
#r "nuget: Encamina.Enmarcha.Data.Qdrant.Abstractions, 8.1.6-preview-06"
// Install Encamina.Enmarcha.Data.Qdrant.Abstractions as a Cake Addin #addin nuget:?package=Encamina.Enmarcha.Data.Qdrant.Abstractions&version=8.1.6-preview-06&prerelease // Install Encamina.Enmarcha.Data.Qdrant.Abstractions as a Cake Tool #tool nuget:?package=Encamina.Enmarcha.Data.Qdrant.Abstractions&version=8.1.6-preview-06&prerelease
Semantic Kernel - Abstractions
This project mainly contains abstractions used by other ENMARCHA NuGet packages. Additionally, it also includes some extension methods and utilities primarily related to Qdrant.
Setup
Nuget package
First, install NuGet. Then, install Encamina.Enmarcha.Data.Qdrant.Abstractions from the package manager console:
PM> Install-Package Encamina.Enmarcha.Data.Qdrant.Abstractions
.NET CLI:
First, install .NET CLI. Then, install Encamina.Enmarcha.Data.Qdrant.Abstractions from the .NET CLI:
dotnet add package Encamina.Enmarcha.Data.Qdrant.Abstractions
How to use
In addition to the abstractions (interfaces, abstract classes, etc.) that have their implementations in other ENMARCHA NuGets, such as IQdrantSnapshotHandler/QdrantSnapshotHandler there are some utilities that can be used directly.
QdrantOptions
// ...
"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.
},
// ...
The above section is taken from a JSON file that is typically added to the appsettings.json
. This provides the necessary configurations (QdrantOptions) for Qdrant
.
Once these configurations are defined, they can be added to the application's configuration.
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();
HttpClientExtensions
This class provides some static methods to configure an HttpClient
to be used with Qdrant
.
// ...
// You probably want to get this in another way, for example, appsettings.json...
var localQdrantOptions = new QdrantOptions()
{
Host = new Uri("http://localhost:6333/"),
Port = 6333,
VectorSize = 1536
};
httpClient.ConfigureHttpClientForQdrant(localQdrantOptions);
The previous code adds what is necessary (headers...) to be able to make requests to the Qdrant REST API.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- CommunityToolkit.Diagnostics (>= 8.2.2)
- Encamina.Enmarcha.Core (>= 8.1.6-preview-06)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Encamina.Enmarcha.Data.Qdrant.Abstractions:
Package | Downloads |
---|---|
Encamina.Enmarcha.SemanticKernel.Connectors.Memory
Package Description |
|
Encamina.Enmarcha.Data.Qdrant
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.2.0 | 158 | 10/22/2024 |
8.2.0-preview-01-m01 | 114 | 9/17/2024 |
8.1.9-preview-03 | 80 | 11/19/2024 |
8.1.9-preview-02 | 81 | 10/22/2024 |
8.1.9-preview-01 | 213 | 10/4/2024 |
8.1.8 | 162 | 9/23/2024 |
8.1.8-preview-07 | 261 | 9/12/2024 |
8.1.8-preview-06 | 162 | 9/11/2024 |
8.1.8-preview-05 | 126 | 9/10/2024 |
8.1.8-preview-04 | 233 | 8/16/2024 |
8.1.8-preview-03 | 156 | 8/13/2024 |
8.1.8-preview-02 | 120 | 8/13/2024 |
8.1.8-preview-01 | 130 | 8/12/2024 |
8.1.7 | 133 | 8/7/2024 |
8.1.7-preview-09 | 144 | 7/3/2024 |
8.1.7-preview-08 | 98 | 7/2/2024 |
8.1.7-preview-07 | 105 | 6/10/2024 |
8.1.7-preview-06 | 107 | 6/10/2024 |
8.1.7-preview-05 | 128 | 6/6/2024 |
8.1.7-preview-04 | 106 | 6/6/2024 |
8.1.7-preview-03 | 109 | 5/24/2024 |
8.1.7-preview-02 | 120 | 5/10/2024 |
8.1.7-preview-01 | 135 | 5/8/2024 |
8.1.6 | 1,291 | 5/7/2024 |
8.1.6-preview-08 | 94 | 5/2/2024 |
8.1.6-preview-07 | 101 | 4/29/2024 |
8.1.6-preview-06 | 285 | 4/26/2024 |
8.1.6-preview-05 | 130 | 4/24/2024 |
8.1.6-preview-04 | 130 | 4/22/2024 |
8.1.6-preview-03 | 121 | 4/22/2024 |
8.1.6-preview-02 | 131 | 4/17/2024 |
8.1.6-preview-01 | 204 | 4/15/2024 |
8.1.5 | 130 | 4/15/2024 |
8.1.5-preview-15 | 134 | 4/10/2024 |
8.1.5-preview-14 | 169 | 3/20/2024 |
8.1.5-preview-13 | 121 | 3/18/2024 |
8.1.5-preview-12 | 137 | 3/13/2024 |
8.1.5-preview-11 | 115 | 3/13/2024 |
8.1.5-preview-10 | 165 | 3/13/2024 |
8.1.5-preview-09 | 109 | 3/12/2024 |
8.1.5-preview-08 | 117 | 3/12/2024 |
8.1.5-preview-07 | 122 | 3/8/2024 |
8.1.5-preview-06 | 231 | 3/8/2024 |
8.1.5-preview-05 | 116 | 3/7/2024 |
8.1.5-preview-04 | 119 | 3/7/2024 |
8.1.5-preview-03 | 134 | 3/7/2024 |
8.1.5-preview-02 | 193 | 2/28/2024 |
8.1.5-preview-01 | 165 | 2/19/2024 |
8.1.4 | 258 | 2/15/2024 |
8.1.3 | 168 | 2/13/2024 |
8.1.3-preview-07 | 121 | 2/13/2024 |
8.1.3-preview-06 | 119 | 2/12/2024 |
8.1.3-preview-05 | 133 | 2/9/2024 |
8.1.3-preview-04 | 128 | 2/8/2024 |
8.1.3-preview-03 | 115 | 2/7/2024 |
8.1.3-preview-02 | 120 | 2/2/2024 |
8.1.3-preview-01 | 116 | 2/2/2024 |
8.1.2 | 183 | 2/1/2024 |
8.1.2-preview-9 | 128 | 1/22/2024 |
8.1.2-preview-8 | 114 | 1/19/2024 |
8.1.2-preview-7 | 107 | 1/19/2024 |
8.1.2-preview-6 | 111 | 1/19/2024 |
8.1.2-preview-5 | 108 | 1/19/2024 |
8.1.2-preview-4 | 115 | 1/19/2024 |
8.1.2-preview-3 | 115 | 1/18/2024 |
8.1.2-preview-2 | 119 | 1/18/2024 |
8.1.2-preview-16 | 112 | 1/31/2024 |
8.1.2-preview-15 | 113 | 1/31/2024 |
8.1.2-preview-14 | 234 | 1/25/2024 |
8.1.2-preview-13 | 121 | 1/25/2024 |
8.1.2-preview-12 | 123 | 1/23/2024 |
8.1.2-preview-11 | 121 | 1/23/2024 |
8.1.2-preview-10 | 109 | 1/22/2024 |
8.1.2-preview-1 | 114 | 1/18/2024 |
8.1.1 | 162 | 1/18/2024 |
8.1.0 | 130 | 1/18/2024 |
8.0.3 | 175 | 12/29/2023 |
8.0.1 | 173 | 12/14/2023 |
8.0.0 | 174 | 12/7/2023 |
6.0.4.3 | 198 | 12/29/2023 |
6.0.4.2 | 184 | 12/20/2023 |
6.0.4.1 | 219 | 12/19/2023 |
6.0.4 | 190 | 12/4/2023 |
6.0.3.20 | 171 | 11/27/2023 |
6.0.3.19 | 178 | 11/22/2023 |