CanDoItAll.AgentFramework.Rag.Qdrant
0.3.0
dotnet add package CanDoItAll.AgentFramework.Rag.Qdrant --version 0.3.0
NuGet\Install-Package CanDoItAll.AgentFramework.Rag.Qdrant -Version 0.3.0
<PackageReference Include="CanDoItAll.AgentFramework.Rag.Qdrant" Version="0.3.0" />
<PackageVersion Include="CanDoItAll.AgentFramework.Rag.Qdrant" Version="0.3.0" />
<PackageReference Include="CanDoItAll.AgentFramework.Rag.Qdrant" />
paket add CanDoItAll.AgentFramework.Rag.Qdrant --version 0.3.0
#r "nuget: CanDoItAll.AgentFramework.Rag.Qdrant, 0.3.0"
#:package CanDoItAll.AgentFramework.Rag.Qdrant@0.3.0
#addin nuget:?package=CanDoItAll.AgentFramework.Rag.Qdrant&version=0.3.0
#tool nuget:?package=CanDoItAll.AgentFramework.Rag.Qdrant&version=0.3.0
CanDoItAll Agent Framework RAG for Qdrant
CanDoItAll.AgentFramework.Rag.Qdrant implements the provider-neutral
CanDoItAll RAG contracts for .NET 10 with the official Qdrant.Client SDK. Qdrant SDK
types remain inside this package.
Install
dotnet add package CanDoItAll.AgentFramework.Rag.Qdrant
Connect to Qdrant
Point the client at the server’s gRPC port (6334 by default). The example uses 384-dimensional local hashing for demonstration. For an existing collection, match its vector size and distance metric to your embedding model.
Register
using CanDoItAll.AgentFramework.Rag.Driver.DependencyInjection;
using CanDoItAll.AgentFramework.Rag.Driver.Models;
using CanDoItAll.AgentFramework.Rag.Qdrant.DependencyInjection;
services.AddLocalHashingRagEmbeddingGenerator(
options => options.Dimension = 384);
services.AddQdrantRagDriver(
configureQdrant: options =>
{
options.Host = "localhost";
options.Port = 6334;
},
configureFactory: options =>
{
options.DefaultCollection = new RagCollectionOptions
{
CollectionName = "candoitall-knowledge",
VectorSize = 384,
Distance = RagDistanceMetric.Cosine
};
});
Register an IRagEmbeddingGenerator whose output dimension matches the
collection. The repository sample shows how to opt into deterministic local
hashing for a self-contained demonstration; production applications should
provide their model-backed embedding implementation.
Resolve IRagDriver for the configured default or IRagDriverFactory when
the caller needs explicit factory options.
See the source repository for filtering, payload-index, tag, sample, and sandbox examples. The CanDoItAll project website is aicandoitall.com.
License
This package uses the repository's MIT License.
| 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
- CanDoItAll.AgentFramework.Rag.Driver (>= 0.3.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options (>= 10.0.15)
- Qdrant.Client (>= 1.18.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.