qdrant_client

Type Alias QdrantBuilder

source
pub type QdrantBuilder = QdrantConfig;
Expand description

A builder for Qdrant

Aliased Type§

struct QdrantBuilder {
    pub uri: String,
    pub timeout: Duration,
    pub connect_timeout: Duration,
    pub keep_alive_while_idle: bool,
    pub api_key: Option<String>,
    pub compression: Option<CompressionEncoding>,
}

Fields§

§uri: String

Qdrant server URI to connect to

§timeout: Duration

Timeout for API requests

§connect_timeout: Duration

Timeout for connecting to the Qdrant server

§keep_alive_while_idle: bool

Whether to keep idle connections active

§api_key: Option<String>

Optional API key or token to use for authorization

§compression: Option<CompressionEncoding>

Optional compression schema to use for API requests