pub struct SemanticUtils;Expand description
Cosine similarity calculation utility. Used for vector-based semantic search when embedding API is available.
Implementations§
Source§impl SemanticUtils
impl SemanticUtils
Auto Trait Implementations§
impl Freeze for SemanticUtils
impl RefUnwindSafe for SemanticUtils
impl Send for SemanticUtils
impl Sync for SemanticUtils
impl Unpin for SemanticUtils
impl UnsafeUnpin for SemanticUtils
impl UnwindSafe for SemanticUtils
Blanket Implementations§
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