pub struct Lineage {
pub job_id: String,
pub spec_name: String,
pub spec_fingerprint: String,
pub model: String,
pub embedding_model: Option<String>,
pub cuttlefish_version: String,
}Expand description
Lineage carried by every bronze and silver row.
Job-level rather than row-level values are still written per row — see the module docs on why the duplication is deliberate.
Fields§
§job_id: StringThe job directory’s name, which is the job id.
spec_name: StringThe spec this job ran.
spec_fingerprint: StringThe graph fingerprint the ledger recorded, which pins which pipeline produced these rows. Two runs of “the same” spec with an edited block have different fingerprints, and that difference is the whole reason somebody re-reads their warehouse six months later.
model: StringThe chat model, as resolved.
embedding_model: Option<String>The embedding model, when the spec declared one.
cuttlefish_version: StringThe cuttlefish that wrote this. A column, not just a manifest field, because the row format is this version’s and a reader deserves to know which version’s rules it is reading under.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lineage
impl RefUnwindSafe for Lineage
impl Send for Lineage
impl Sync for Lineage
impl Unpin for Lineage
impl UnsafeUnpin for Lineage
impl UnwindSafe for Lineage
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more