Skip to main content

Module batch

Module batch 

Source
Expand description

Batch embedding wrapper.

Groups input texts into batches and calls the underlying Embedder for batch-optimized inference, improving throughput for index building.

Structsยง

BatchEmbedder
Batch embedding processor with progress reporting.
DummyEmbedder
A dummy embedder for testing that produces random-like but deterministic vectors.