extract_with_config

Function extract_with_config 

Source
pub async fn extract_with_config(
    text_or_documents: &str,
    prompt_description: Option<&str>,
    examples: &[ExampleData],
    config: LangExtractConfig,
) -> LangExtractResult<AnnotatedDocument>
Expand description

Convenient extraction function using the new unified configuration