Skip to main content

enrich_with_optional_knowledge

Function enrich_with_optional_knowledge 

Source
pub fn enrich_with_optional_knowledge(
    task_id: &str,
    context: &mut ContextState,
    store: Option<&dyn KnowledgeStore>,
) -> Vec<KnowledgeRef>
Expand description

Preserve normal task execution when no Knowledge Hub is configured.