pub struct EmbeddingEpoch {
pub document: EmbeddingTower,
pub query: EmbeddingTower,
pub alignment_digest: Vec<u8>,
}Expand description
Complete immutable identity of one embedding interpretation.
The document and query towers are explicit even when they are identical. This makes an aligned asymmetric pair one epoch instead of two unrelated model declarations. The alignment digest identifies the artifact or recipe that places both tower outputs in the same vector space.
Fields§
§document: EmbeddingTowerEncoder used for persisted document vectors.
query: EmbeddingTowerEncoder used for query vectors compared with those documents.
alignment_digest: Vec<u8>Opaque digest of the pairing/alignment artifact, empty for none.
Trait Implementations§
Source§impl Clone for EmbeddingEpoch
impl Clone for EmbeddingEpoch
Source§impl Debug for EmbeddingEpoch
impl Debug for EmbeddingEpoch
impl Eq for EmbeddingEpoch
Source§impl PartialEq for EmbeddingEpoch
impl PartialEq for EmbeddingEpoch
impl StructuralPartialEq for EmbeddingEpoch
Auto Trait Implementations§
impl Freeze for EmbeddingEpoch
impl RefUnwindSafe for EmbeddingEpoch
impl Send for EmbeddingEpoch
impl Sync for EmbeddingEpoch
impl Unpin for EmbeddingEpoch
impl UnsafeUnpin for EmbeddingEpoch
impl UnwindSafe for EmbeddingEpoch
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