Skip to main content

Module embed_probe

Module embed_probe 

Source
Expand description

Shared embedding-dimension probe helper.

Several ingest and memory subsystems need to learn an embedding provider’s output dimension before creating a Qdrant collection: they call the provider once with a throwaway probe string and use the resulting vector’s length as the collection’s vector size. probe_vector_size centralizes that sequence (including an optional timeout) so callers stop re-implementing it inline.

Enums§

ProbeError
Error surfaced by probe_vector_size.

Functions§

probe_vector_size
Learn an embedding provider’s output dimension.