Skip to main content

Module embeddings

Module embeddings 

Source
Expand description

gRPC client to the Python embedding microservice and related types.

Re-exports§

pub use cache::EmbeddingCache;
pub use cache::EmbeddingCacheStats;
pub use client::EmbeddingClient;
pub use client::EmbeddingProvider;
pub use types::EmbedVector;
pub use types::EmbeddingRequest;
pub use types::EmbeddingResponse;
pub use types::ModelInfo;

Modules§

cache
LRU cache for embedding vectors keyed by text.
client
gRPC client to the Python embedding service.
types
Domain types for embedding requests and responses.