Expand description
EmbeddingError marker trait and a reference implementation.
Every EmbeddingProvider::Error associated type must satisfy the
EmbeddingError bound, equivalent to
std::error::Error + Send + Sync + 'static but named so it is grep-able and
can grow cross-backend extension methods without breaking changes. Mirrors
polyc_llm::error::LlmError.
Enums§
- Dummy
Error - Reference implementation: the shape of error a real backend would ship. Concrete backend crates define their own.
Traits§
- Embedding
Error - Marker trait that every
EmbeddingProvider::Errormust satisfy.