I have been struggling through the AI Fabric documentation trying to implement the out-of-the-box invoices ML Skill. There does not seem to be specific instructions or any examples available.
I was able to sign up for the Enterprise Trial, get set up with the AI Fabric service and start a workflow, but I am getting the following error when trying to run the Machine Learning Extractor with the ML Skill instead of the normal endpoint:
Data Extraction Scope: Invalid response: content=OcrEndpointNotDefined: Please define a ocr.method and ocr.url code=InternalServerError trace_id=dda4f5e7-8b93-4a68-91d7-b762b843oho4
Here is the activity that is causing the error:
Here is the error in the ML Logs:
Severity
Error
About
Pipeline
ML Package
Version
Created time
2020-07-21 12:19 pm
Usernull
Description
MLService prediction call Failed
{ ācodeā: āInternalServerErrorā, āmessageā: āOcrEndpointNotDefined: Please define a ocr.method and ocr.urlā, āstacktraceā: " File "/microservice/main.py", line 28, in predict\n response, telemetry = service_internal.predict(context)\n File "/microservice/extraction/model_tag/service_internal.py", line 282, in predict\n image_blob, ocr_output, angle, ocr_telemetry = ocr.do_ocr(opt, image_blob=image_blob)\n File "/microservice/extraction/ocr/ocr.py", line 174, in do_ocr\n raise Exception(āOcrEndpointNotDefined: Please define a ocr.method and ocr.urlā)\nException: OcrEndpointNotDefined: Please define a ocr.method and ocr.url", ātrace_idā: āb7878bd4-7877-4220-a4dd-30d34g56434738ā }
Could someone help me with this?