Expand description
The module defines the EmbeddingsBuilder struct which accumulates objects to be embedded and batch generates the embeddings for each object when built. Only types that implement the Embed trait can be added to the EmbeddingsBuilder.
Structsยง
- Embeddings
Builder - Builder for creating embeddings from one or more documents of type
T
. Note:T
can be any type that implements the Embed trait.