Skip to content

Commit

Permalink
added scenarios file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Fatih authored and au-re committed Mar 3, 2024
1 parent 71ec2ee commit 09a64fd
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions websites/docs/pages/concepts/scenarios.md
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!

0 comments on commit 09a64fd

Please sign in to comment.