Package-level declarations
Types
Resolved, immutable connection configuration for a Kdrant client.
Mutable builder backing the Kdrant(host, port) { ... } configuration DSL.
Base type for all errors surfaced by a Kdrant client. A sealed hierarchy lets callers exhaustively when over the failure modes.
The user-facing Kdrant API. Coroutine-first: every operation is a suspend function.
Functions
Create a single-vector collection from just a size and distance — the common case.
Create a collection unless it already exists. Returns true if it was created, false if it already existed.
Fetch a collection's info, or null if it does not exist — instead of throwing KdrantException.CollectionNotFound.
Builds a KdrantConfig from the configuration DSL. Used by transport factories.
Wraps a QdrantTransport into a QdrantClient. Used by transport factories.
Like QdrantClient.search, but decodes each hit's payload into T — the typical RAG read path.