Run Prompt
Execute, restart, continue, or stop your prompts with different run options
The Run button in the playground lets you control how your LLM prompt executes: run a prompt, overwrite the previous output, continue from the previous output, or abort the execution.
Managing Your Prompt Execution
The Run button is prominently positioned at the top right-hand side of the playground. It is your primary control for executing prompts and managing the conversation flow.
By default, the Playground will have the “Run” option when executing the first prompt. After the first execution, the run button uses “Continue” mode, which runs your prompt from where you left off.
The Playground will automatically infer what type of action you want to take and change the button’s functionality or the action.
Execution Options
When you click on the down-arrow icon next to the Run button, a dropdown menu appears with four execution options:
-
Run: When the playground is empty, this is the run option. This usually happens when,
- You are running your first prompt.
- You have cleared previous outputs or responses and are restarting your prompt runs.
-
Continue: This run option is shown when you add a user message after a response. The playground will:
- Resume from your current state in the conversation.
- Maintain all previous context and history.
- Process your prompt as a continuation of the ongoing interaction.
- Keep all variables and settings of earlier runs.
Use this option when you want to build upon your existing conversation without losing context.
-
Clear and Run: This option provides a fresh start by:
- Clearing all previous interactions and conversation history.
- Resetting the context to its initial state.
- Running your prompt as if it’s the first interaction.
- Removing any accumulated context that might influence the model’s response.
Choose this option when you want to start over with a clean slate or when testing different prompt variations independently. 4. Continue from Here: This selective option allows you to:
- Pick a specific point in the conversation to branch from
- Maintain context up to your selected point
- Discard any interactions that came after that point
- Create alternative conversation paths from a specific response.
This is useful for exploring different directions from a particular point in your conversation without starting completely over.
Expired State
The response expires when you edit the prompt in the Editor after the response has been made. This is the expired state of the response.
Aborting Execution
If you need to stop a running prompt execution:
- Click the “Abort” or stop button that appears while processing
- This immediately terminates the current execution
- No partial results will be saved
- The system returns to its state before the execution began
This is particularly useful when a prompt is taking too long to process or when you notice an error in your setup.