Expand description
QAIL driver for Qdrant vector database.
⚠️ BETA - This crate is under active development. API may change.
Native Rust driver with zero-copy gRPC and AST-based query building.
§Example
ⓘ
use qail_core::prelude::*;
use qail_qdrant::QdrantDriver;
let driver = QdrantDriver::connect("localhost", 6334).await?;
// Vector similarity search
let results = driver.search("products", &embedding, 10, None).await?;Re-exports§
pub use driver::QdrantDriver;pub use error::QdrantError;pub use error::QdrantResult;pub use point::Point;pub use point::PointId;pub use point::Payload;pub use point::SparseVector;pub use point::VectorData;pub use point::MultiVectorPoint;pub use pool::QdrantPool;pub use pool::PoolConfig;pub use pool::PooledConnection;
Modules§
- decoder
- Zero-copy Protobuf decoder for Qdrant gRPC responses.
- driver
- gRPC-based Qdrant driver with zero-copy encoding.
- encoder
- Zero-copy Protobuf encoder for Qdrant gRPC protocol.
- error
- Error types for Qdrant driver.
- point
- Point and payload types for Qdrant.
- pool
- Connection pool for Qdrant gRPC driver.
- prelude
- Re-export qail-core prelude for convenience.
- protocol
- Qdrant REST/JSON protocol encoding.
- transport
- gRPC transport for Qdrant using HTTP/2.
Enums§
- Distance
- Distance metrics for vector similarity.