I am having an issue that I believe comes from training the intelligent keyword classifiers in Document Understanding. I have created a parallel workflow that cycles through all of the files in a specific folder and sends them for validation if below a certain confidence level on extraction.
For the most part this work fine and runs as intended, however after multiple runs it runs into errors reading the intelligent keyword json file.
Here is one for example:
Classify Document Scope: Invalid character after parsing property name. Expected ‘:’ but got: S. Path ‘.TermsWithScores’, line 1, position 32773.
The first 20 or so runs this error was not there. Then after a successful run, a similar error will show up when i try to run again. I cannot seem to figure out what causes this since it runs smoothly for so many attempts and then will randomly fail. If I completely clear the Keyword json file and retrain it, then it goes away, but will happen again some time down the line. This also defeats the purpose of having training classifiers if they must be reset.
I assume this is due to the nature of the parallel loop, however I have no idea how I should go about fixing this. If anyone has had any similar experiences or has an idea of how i could go about fixing this error that would be greatly appreciated.
Thank you so much.