Cloud Pak for Business Automation

 View Only
  • 1.  ADP-API Validator

    Posted Wed April 10, 2024 07:22 AM

    Hello everyone,

    I have a question regarding the ADP API. The documentation shows a request that is described as "Validating the extracted KVP." My question is, is this request used to train ADP supervised?

    Can I check  the KVP´s manually and send it with the Validator Request back to ADP to further train it?

    If anyone knows more or has experience, I would greatly appreciate a response. Thank you very much!



    ------------------------------
    Sefkan Demir
    ------------------------------


  • 2.  RE: ADP-API Validator
    Best Answer

    Posted Thu April 11, 2024 12:33 PM

    Hi Sefkan.  All training must be done within the ADP Content Designer.  Although you can validate a KVP directly using the API, you cannot train the model in any way via API.  There is work being done on a feedback document feature, where a corrected document can be passed back from the ADP Runtime back to the ADP Designer and used to improve the trained model.  However, this feature is not available via API, and there are no immediate plans to add it.



    ------------------------------
    RICHARD WILSON
    ------------------------------



  • 3.  RE: ADP-API Validator

    Posted Thu April 11, 2024 01:01 PM

    Thanks for the reply, Do you know what the API validator request is used for or what can be achieved with it, if its not for Training purpose? For Example can I validate the KVP's on one specific Document and it will be corrected by ADP if fails?



    ------------------------------
    Sefkan Demir
    ------------------------------



  • 4.  RE: ADP-API Validator

    Posted Thu April 11, 2024 03:01 PM

    To give you a use case, after ADP has found the KVP values, it runs the values against any validation rules that were created for that KVP.  If the validation fails, it does not change anything, nor does it reject that value as the one found.  Instead, it shows the value as failing validation in the output JSON.  For example, a company requires that account numbers are one letter followed by six digits, and they make a validation rule for the account number KVP.   A document is processed, and the extracted account number is X12345,  which is not valid.  In a client application, this can then be presented to a Verify operator who can determine if the document actually has an incorrect account number, if there is an issue with OCR, or if there might be some other issue.  If the Verify operator enters a corrected value, the API call you mention provides the ability to have the corrected value checked to confirm that the Verify operator entered a valid value.



    ------------------------------
    RICHARD WILSON
    ------------------------------