extract_knowledge

Function extract_knowledge 

Source
pub async fn extract_knowledge(
    transcript: &str,
) -> Result<ExtractionResult, LlmError>
Expand description

Extract knowledge from a formatted transcript

Returns ExtractedInsights - one per chunk for large transcripts, or a single insight for small ones.

For large transcripts, chunks semantically and distills each chunk in parallel (up to 4 concurrent). Each chunk becomes a separate node.

§Arguments

  • transcript - Formatted transcript text (from format_context)

§Returns

ExtractionResult with insights (may be empty) and chunk count