Skip to main content

Module embedding_freshness

Module embedding_freshness 

Source
Expand description

Deterministic freshness policy for verified embedding generations.

Structs§

EmbeddingForcedStaleDiagnostic
Stable observable diagnostic emitted only for an explicit forced stale read.
EmbeddingFreshness
Classified freshness plus the exact current durable source state.
EmbeddingMutationObservation
Durable mutation evidence observed after one generation source snapshot.

Enums§

EmbeddingFreshnessReason
Stable reason for a non-fresh state.
EmbeddingFreshnessState
Freshness state for one verified, compatible, complete generation.
EmbeddingReadDecision
Serving decision after compatibility and primary-data validation succeeded.

Constants§

EMBEDDING_SUBSTANTIAL_CHANGED_PERCENT
Changed-UUID percentage that makes a generation substantially stale.
EMBEDDING_SUBSTANTIAL_MUTATION_BATCHES
Relevant committed mutation batches that make a generation substantially stale.

Functions§

classify_embedding_freshness
Classify one verified generation against current durable mutation evidence.
decide_embedding_read
Select the serving boundary for a classified verified generation.