Skip to main content

open_kb

Function open_kb 

Source
pub fn open_kb(db_path: impl AsRef<Path>) -> Result<KnowledgeBase>
Expand description

Open a KnowledgeBase at db_path, injecting LLM providers from ~/.innate/settings.json if configured. Falls back to DummyEmbeddingProvider + HeuristicDistiller when no LLM settings are present.