docuglean-ocr
Version:
An SDK for intelligent document processing using State of the Art AI models.
8 lines (7 loc) • 396 B
TypeScript
import { OCRConfig, MistralOCRResponse, OpenAIOCRResponse, GeminiOCRResponse } from './types';
/**
* Processes a document using OCR with specified provider
* @param config OCR configuration including provider, file path, and API key
* @returns Processed text and metadata
*/
export declare function ocr(config: OCRConfig): Promise<MistralOCRResponse | OpenAIOCRResponse | GeminiOCRResponse>;