Skip to main content

extract

Function extract 

Source
pub fn extract(msg: &Message) -> RelevanceMeta
Expand description

Extract RelevanceMeta for a single chat-history entry.

Pure and fast: no LLM calls, no IO. Safe to call from Session::add_message.