Hello @Bogdan Pechounov , Thanks for using Microsoft Q&A Platform.
To help you understand better regarding the API version of the classifier model and SDK. The following tables present the correlation between each SDK version the supported API versions of the Document Intelligence service.
Q. When training a custom classifier model, do we need to make sure that the api version of the .ocr.json files and the sdk we are currently using match?
Regarding your question, once the model is created with a specific version and trained the data the OCR.json files get generated along with the API version details.
To avoid errors, it is generally recommended to use the same version of the SDK.
Similarly to other question, you can try, however it is recommended to use the respective SDK version to take advantage of the specific features and avoid compatibility issues.
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.