We have build a customer ML model which works perfectly when connection mode it Robot. But gives post request error after making the skill as public. We are using ML services activities version 1.1.7
Hi ,
Details on the workflow attached
Custom ML Algorithm performs a fuzzy match of name and address extracted from ocr against supplier master dump. we are sending the json of both the ocr extracted data and the supplier dump with a | seperater which is seperated inside the ML skill. out put is confidence score and the supplier id.
We are able to get the expected results via this workflow from the same ML skill when it is not public.
We have run both in test and run mode. Results are same in both. fuzzymatch.xaml (23.6 KB)
I tried on my side and looks like I can reach the model without issue (btw I would recommend you change API Key once it’s working). I don’t have a correct input since I don’t have csv file but looks more like an issue with the input itself I’m surprised that exact same input work with robot connection.
yes Jeremy the same input works with robot connection. I tried changing the API key but it failed. I also tried it using another AICenter account and the results were same. i am getting the same error.
Ok we have identified the issue on our side and we will fix it. This is due to the fact that for endpoints we are handling only json string and not any string. So we are applying json.loads to your output and of course this fails.
We’ll fix that bug but if you need that now you have two workaround:
Use the robot connection
Modify the ML Package to return a json string. In you python code something like: