pub struct HashEmbeddingProvider { /* private fields */ }Expand description
Deterministic hash-based embedding provider for testing.
Produces reproducible unit-length vectors by hashing the input text. Not semantically meaningful but stable across runs, making tests deterministic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HashEmbeddingProvider
impl RefUnwindSafe for HashEmbeddingProvider
impl Send for HashEmbeddingProvider
impl Sync for HashEmbeddingProvider
impl Unpin for HashEmbeddingProvider
impl UnsafeUnpin for HashEmbeddingProvider
impl UnwindSafe for HashEmbeddingProvider
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more