-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,3 @@ | ||
# Scenarios | ||
|
||
Previewing your [recipe](recipe.md) in Prompt Studio is a straightforward process that allows you to test and interact with your creation in real-time. Follow these simple steps to see your recipe in action: | ||
|
||
## Step 1: Locate the Preview Button | ||
|
||
To begin the preview, look for the **Preview** button situated on the top right side of the recipe page. | ||
|
||
![Preview Button Location](./images/click_on_preview.png) | ||
|
||
## Step 2: Open the Preview Page | ||
|
||
Click the **Preview** button. This action will open a new browser tab, taking you to the preview page where you can interact with your recipe. Back to the [Recipe](instructions#chained-instructions-in-a-recipe) that we had built earlier, we have two instructions. In this case, I want to test my recipe by uploading different interview files and seeing what concerns it extracts (1st instruction) and what solutions it suggests(2nd instruction). This will help me refine my prompt better. | ||
|
||
![Preview Page](./images/preview_page.png) | ||
|
||
## Step 3: Interact with Your Recipe | ||
|
||
On the preview page, you will find the input fields to the left. These fields are dynamic and will reflect the [file/text](file.md) references that you wrote in your instructions. | ||
|
||
![Preview Inputs](./images/preview_inputs.png) | ||
|
||
To the right, the outputs of the instructions inside of your recipe will be displayed. In the case of this [recipe](instructions#chained-instructions-in-a-recipe), it's the concerns instruction and the solutions instruction. | ||
|
||
![Results Section Placeholder](./images/preview_outputs.png) | ||
|
||
### Real-Time Updates | ||
|
||
Any modifications you make to your recipe will be instantly reflected in the preview. This allows you to test and iterate quickly. | ||
|
||
## Step 4: Running the Preview | ||
|
||
To execute your recipe within the preview, simply click on the `Run` button located in the preview tab. The output of the instructions will show up on the right side. | ||
|
||
![Run Button Placeholder](./images/run_preview.png) | ||
Scenarios are a way for you to run your recipe across different inputs to see how the LLM performs with different inputs. We are going to add more information on this soon! |