Skip to main content

build_llm_provider

Function build_llm_provider 

Source
pub fn build_llm_provider(config: &SubcogConfig) -> Option<Arc<dyn LlmProvider>>
Expand description

Builds an LLM provider from configuration.

Returns None if LLM features are disabled in config. This is a general-purpose LLM provider builder for entity extraction and other LLM-powered features (not tied to search intent).