Using ML Model Mapping as Input Parameter to Java Action

0
Hi all, I'm trying to create a Java action which takes ML model mapping as an input parameter (similar to how the "Call ML model" microflow action allows this type of input). However, I'm struggling to find a way to use a ML model mapping as an input parameter with there being no option for it:     Any suggestions of how I could pass the model to a Java action would be appreciated!  
asked
1 answers
0

Hi Liam,

 

do you still want to use the ML model mapping functionality or rather do something custom with the ONNX file in Java? If it's the latter, you might use a FileDocument as the input for the Java Action, then you just need to upload the file somehow in your app.

 

Alternatively, you can move the ONNX file into your projects folder (for example like this: \deployment\model\resources\ML_Model)  which you may be able to access from Java.

 

I have never done the above, but maybe those pointer help you.

 

Best regards

another Liam

answered