pub fn build_llm_provider_for_entity_extraction(
config: &SubcogConfig,
) -> Option<Arc<dyn LlmProvider>>Expand description
Builds an LLM provider for entity extraction with a longer timeout.
Entity extraction often requires processing complex content that can take longer than the default LLM timeout. This function creates an LLM provider with the entity extraction timeout from config (default: 120s).
Returns None if LLM features are disabled in config.