UNPKG

docuglean-ocr

Version:

An SDK for intelligent document processing using State of the Art AI models.

8 lines (7 loc) 470 B
import { ExtractConfig, BaseStructuredOutput, StructuredExtractionResult } from './types'; /** * Extracts structured or unstructured information from a document using specified provider * @param config Extraction configuration including provider, file path, and API key * @returns Extracted information either as string or structured data */ export declare function extract(config: ExtractConfig): Promise<string | StructuredExtractionResult<BaseStructuredOutput>>;