Expand description
The module defines the EmbeddingModel trait, which represents an embedding model that can generate embeddings for documents.
The module also defines the Embedding struct, which represents a single document embedding.
Finally, the module defines the EmbeddingError enum, which represents various errors that can occur during embedding generation or processing.
Structs§
- Embedding
- Struct that holds a single document and its embedding.
Enums§
Traits§
- Embedding
Model - Trait for embedding models that can generate embeddings for documents.
- Embedding
Model Dyn - Image
Embedding Model - Trait for embedding models that can generate embeddings for images.