Skip to main content

Viewing response JSON

Now that we've added prompts to extract multiple fields, let's see how to view response JSON in its entirety. Prompt Studio has two separte features that allow you to examine JSON from a single document and also JSON outputs from all documents in the Prompt Studio peoject side-by-side.

Combined Output

This option can be used to examine the response JSON per document. Let's look at the various options we have in Prompt Studio for this purpose:

img Viewing JSON response

Legend:

  1. Combined Output tab: switch to this tab to see the combined output for the currently loaded document.
  2. Show Output Analyzer: this button brings up the Output Analyzer (see next section for a description of what it is)
  3. Documents Manager: this button brings up the Documents Manager, which you can use to switch from one document to the other
  4. Document Switcher: this option lets you easily switch from one project document to the next

Output Analyzer

The Output Analyzer makes it easy to view documents and their full JSON output side-by-side for easy referencing, examination and debugging.

img Output Analyzer