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:
Legend:
- Combined Output tab: switch to this tab to see the combined output for the currently loaded document.
- Show Output Analyzer: this button brings up the Output Analyzer (see next section for a description of what it is)
- Documents Manager: this button brings up the Documents Manager, which you can use to switch from one document to the other
- 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.