When trying to dynamically selecting an AI model in the action "Extract information from documents", I get the error:
"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Extract_information_from_documents': The API operation 'PredictV2' is missing required property 'item'.'."
I then tried to use the action "Predict" instead and using this input (I am using the "Compose" action to encode the file):
But this just lets the flow run "forever" and I have to cancel it.
Does anybody have any ideas how to make it work dynamically using an AI model?
Solved! Go to Solution.
Thanks for the question @MK-RPADK! I'd recommend following the steps from this page (if you haven't already 🙂) https://learn.microsoft.com/en-us/ai-builder/predict-action-pwr-automate#use-a-dynamic-model-id-adva...
Can you give more details on where the flow keeps running forever? Is the a loop where the flows keeps iterating and not exiting?
Thanks for the question @MK-RPADK! I'd recommend following the steps from this page (if you haven't already 🙂) https://learn.microsoft.com/en-us/ai-builder/predict-action-pwr-automate#use-a-dynamic-model-id-adva...
Can you give more details on where the flow keeps running forever? Is the a loop where the flows keeps iterating and not exiting?
It seems I got it working now using "Predict" - there was an error in my conversion of the attachment content.
Thanks 🙂