hash_text

Function hash_text 

Source
fn hash_text(text: &str) -> String
Expand description

Compute SHA-256 hash of text content (hex-encoded).

Used for embedding staleness detection: if the hash of the current chunk text differs from the hash stored in the embeddings table, the embedding is stale and needs to be regenerated.