Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

POST /saga/api/client/process/generate

Creates a process unit , with a define defined configuration to identify tags, depending of .  Result data you get depend on the type you choose that will be the result data you would get, and depending whenever .  Depending whether you choose expiration or not , the process unit can be disposable or reusable and even persistent when restarting the server.

But, what is a Processing Unit anyway?

Before Saga starts processing text it needs to create the processing pipeline containing all different stages defined by the user.  Each stage that could be a Processor or a Recognizer needs to be initialized and added to the pipeline. This pipeline creation process takes time therefore it needs to happen only once and be reused for all the rest of request in order to maximize performance.

 A Processing Unit is basically an object in server's memory where the pipeline instance created with all the configuration defined is stored so it can be reused by subsequent requests.


Body Parameters

  • Parameter
    summaryName of the process unit
    defaultdefault
    nameunit
    requiredtrue

...