Skip to main content

Human Quality Review

This page explains how to set up Human Quality Review ETL.

  1. Once the Prompts are constructed, export the prompt studio project as a tool, as shown below.

    img HQR Configuration img HQR Configuration

  2. Create the Workflow, as shown here

  3. Create the ETL using the shortcut option from workflow (or) Click on ETL Pipelines-->New ETL Pipelines, as shown below

    img HQR Configuration

    • Once the ETL CRON timing is set, it will automatically trigger the jobs and push the results to Human Quality Review Queue
  4. Invite the users based on the rights.

    • Unstract admin - Have full access to Human Quality review
    • Unstract User - Does not have access to Human Quality review
    • Unstract Review - Can only review the documents in Human Quality Review.
    • Unstract Supervisor - Can Review and Approve the documents in HQR.

    img HQR Configuration img HQR Configuration

  5. Check the results in the Human Quality Review.

    img HQR Configuration

    • Select the project and click on Fetch Next to see the document and its results.Click on Queue Details to see the queue status.

    img HQR Configuration

    • Single Click on the result to highlight the same in the document.

    img HQR Configuration

    • Double-click on the result, to edit it

    img HQR Configuration

    • Click on Finish Review to send the documents to approve queue.

    img HQR Configuration

  6. All the reviewed files will move into Approval Queue. The Approver can do the same highlight of result and edit it.

    img HQR Configuration img HQR Configuration img HQR Configuration img HQR Configuration

  7. Finally, get the results using API endpoint.Use the below curl command.

      curl --location 'https://us-central.unstract.com/mr/api/<Replace with your organiztion id>/approved/result/<Replace With your class id>/' \
    --header 'Authorization: Bearer <Replace with your api key>'
    • Organization id: The organization id will be present in the ETL endpoint, refer below screenshot

    img HQR Configuration

    • API key: Follow the steps shown in screenshot to create an API key for Human Review

    img HQR Configuration img HQR Configuration

    • Class id : Click on Profile Icon-->Download and Sync Manager to get the class id.

    img HQR Configuration img HQR Configuration