Skip to main content

Developing and verifying SinglePass Extraction

When developing your prompts in Prompt Studio, you can enable SinglePass Extraction and see how it affects your extractions. Of course, in Prompt Studio, you're only developing prompts and defining the extraction schema. Ultimately, SinglePass Extraction runs as part of a deployed Prompt Studio project as one of the following integration types:

However, while developing prompts, it is important to verify the performance of SinglePass Extraction. Prompt Studio provides various tools for you to be able to do that.

Turning on SinglePass Extraction in Prompt Studio

You can turn on SinglePass Extraction by clicking on the SinglePass Extraction toggle as shown below.

img SinglePass Extraction

You might have also noticed that the individual prompt cells no longer have Run buttons. That has moved up top. You also get the tokens used for the default LLM.

Please note that this only enables SinglePass Extraction for you to verify if everything is working well during prompt engineering. For SinglePass Extraction to be deployed, you need to turn it on in the deployment workflow. Please see the Deploying SinglePass Extraction section for details on how to do this.

Verifying SinglePass Extraction output

While you can view and verify the output of each of the prompts, you can also verify extraction quality by switching to Combined Output as shown below.

img SinglePass Extraction