setAIModel

fun setAIModel(modelPath: String, language: OCRLanguage): Int

Sets the Document AI model for OCR based on the provided file path and language.