You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Call Document Understanding Rest API

Hello comunity,

 

I have created a Document Understanding model in my OCI.

I have reviewed the documentation and I am not very clear on which method to use, as there are two:

post /20221109/processorJobs

post /20221109/actions/analyzeDocument

 

In the OCI itself, if I want to try to upload a document, I get a request in JSON format, which is the body I send, so this JSON is from the processorJobs method, which looks something like this:

{

  "processorConfig": {

    "processorType": "GENERAL",

    "features": [

      {

        "modelId": "model",

        "featureType": "KEY_VALUE_EXTRACTION"

      }

    ],

    "language": "ENG"

  },

  "inputLocation": {

    "sourceType": "OBJECT_STORAGE_LOCATIONS",

    "objectLocations": [

      {

        "source": "OBJECT_STORAGE",

        "namespaceName": "lr7wd0wpzj3w",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!