pub struct EmbeddingIndex { /* private fields */ }Expand description
Simple TF-IDF style embedding index for semantic search. In production, replace with sentence-transformer embeddings. Stores term frequency vectors per document.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmbeddingIndex
impl !RefUnwindSafe for EmbeddingIndex
impl Send for EmbeddingIndex
impl Sync for EmbeddingIndex
impl Unpin for EmbeddingIndex
impl UnsafeUnpin for EmbeddingIndex
impl !UnwindSafe for EmbeddingIndex
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