Deploying SummarizedExtraction
We discussed earlier in Developing and verifying SummarizedExtraction that while in Prompt Studio, you're only verifying if SummarizedExtraction is doing a good job of the required structured extraction. SummarizedExtraction needs to be deployed as part of API Deployments, ETL Pipelines, Human Quality Review or Task Pipelines workflow. In this section, let's see how, when deploying one of the previously mentioned types of workflows, we can enable SummarizedExtraction.
To understand this section fully, you need to already know how Workflows work in Unstract.
Enabling SummarizedExtraction
It's pretty simple, really:
- First, open any Workflow project in which you want to enable SummarizedExtraction.
- Select the exported Prompt Studio project Tool from the Workflow steps.
- Enable the SummarizedExtraction checkbox from the Tool Settings panel on the right.
Once this is done, this workflow has SummarizedExtraction enabled. Irrespective of whether it's an API, ETL Pipeline, Human Quality Review or Task Pipeline, when the extraction actually occurs, your prompts will be read, a new, summarized version of the input document created and your individual prompts run against it.