Skip to main content

Crate vectorizer_protocol

Crate vectorizer_protocol 

Source
Expand description

Wire protocol types for Vectorizer — shared between the server (umbrella vectorizer crate, soon vectorizer-server) and the Rust SDK (sdks/rust). Carries the on-the-wire shapes only; the dispatch / handler layer lives in vectorizer::protocol::rpc::server and vectorizer::grpc::server because those types depend on the storage engine, auth, and the capability registry.

  • rpc_wire — length-prefixed MessagePack frames (Request / Response / VectorizerValue) and the codec helpers that read / write them. Wire spec: docs/specs/VECTORIZER_RPC.md.
  • grpc_gentonic-prost-generated modules for the three gRPC schemas: vectorizer, cluster, qdrant_proto. Built by this crate’s build.rs against the proto/ source tree.

Modules§

grpc_gen
tonic-prost-generated gRPC modules. Mirrors the layout of the underlying proto/ source tree.
rpc_wire
VectorizerRPC wire layer — length-prefixed MessagePack over raw TCP.