pub struct EmbeddingSlot {
pub name: String,
pub vector: Vec<f32>,
pub model: String,
pub dimension: usize,
pub generated_at: u64,
}Expand description
A slot for embedding a specific aspect of an entity
Fields§
§name: StringSlot name (e.g., “content”, “summary”, “title”, “code”)
vector: Vec<f32>The embedding vector
model: StringModel used to generate embedding
dimension: usizeVector dimension
generated_at: u64Generation timestamp
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddingSlot
impl Clone for EmbeddingSlot
Auto Trait Implementations§
impl Freeze for EmbeddingSlot
impl RefUnwindSafe for EmbeddingSlot
impl Send for EmbeddingSlot
impl Sync for EmbeddingSlot
impl Unpin for EmbeddingSlot
impl UnsafeUnpin for EmbeddingSlot
impl UnwindSafe for EmbeddingSlot
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