Skip to main content

extract_citations

Function extract_citations 

Source
pub fn extract_citations(
    response: &str,
    context: &AssembledContext,
) -> Vec<Citation>
Expand description

Extract citations by finding n-gram overlaps between response and context

Per CP-020: Uses 5-gram overlap detection to identify grounded text.