Skip to main content

extract_semantic

Function extract_semantic 

Source
pub async fn extract_semantic(
    path: &Path,
    content: &str,
    file_type: &str,
    config: &LLMProviderConfig,
) -> Result<ExtractionResult>
Expand description

Extract semantic concepts from a document, paper, or image using an LLM.

Dispatches to the appropriate provider based on config.provider.