pub struct EmbeddingRecord {
pub id: String,
pub text: String,
pub vector: Vec<f32>,
pub metadata: Option<HashMap<String, Value>>,
}Fields§
§id: String§text: String§vector: Vec<f32>§metadata: Option<HashMap<String, Value>>Implementations§
Auto Trait Implementations§
impl Freeze for EmbeddingRecord
impl RefUnwindSafe for EmbeddingRecord
impl Send for EmbeddingRecord
impl Sync for EmbeddingRecord
impl Unpin for EmbeddingRecord
impl UnsafeUnpin for EmbeddingRecord
impl UnwindSafe for EmbeddingRecord
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