> ## Documentation Index
> Fetch the complete documentation index at: https://www.adaline.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Run prompts in Playground

> Test and iterate on your prompts in the interactive Playground environment

The Playground is your interactive testing sandbox for running prompts with real inputs, comparing outputs, and iterating toward the best results. After setting up your prompt in the Editor, the Playground is where you bring it to life.

## Run a prompt

After configuring your prompt in the [Editor](/docs/iterate/overview) and setting variable values in the [Variable Editor](/docs/iterate/use-variables-in-prompt), click **Run** to execute the prompt and see the model's response:

<img src="https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/images/iterate/running-prompts.png?fit=max&auto=format&n=-Bsa4BuK4fSdmy67&q=85&s=cede4843c8a995c8ea220d2478f5ba2d" alt="Running a prompt in the Playground" title="Running a prompt in the Playground" style={{ width: "100%" }} width="1620" height="1080" data-path="images/iterate/running-prompts.png" />

## Stop a running prompt

If a prompt is taking too long or you notice an error in your setup, click the **Stop generation** button to immediately terminate the execution:

<img src="https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/images/iterate/interrupting-prompts.png?fit=max&auto=format&n=-Bsa4BuK4fSdmy67&q=85&s=f3b09e3a46116c3aa82da6efdcc30cc4" alt="Stopping a prompt in the Playground" title="Stopping a prompt in the Playground" style={{ width: "100%" }} width="1539" height="295" data-path="images/iterate/interrupting-prompts.png" />

Stopping a prompt cancels the current execution without saving partial results. The system returns to the state it was in before the run began.

## Execution options

The Playground provides two execution modes for different workflows:

<img src="https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/images/iterate/prompts-execution-options.png?fit=max&auto=format&n=-Bsa4BuK4fSdmy67&q=85&s=d1b98b9528a53643e037abdc54bc2a92" alt="Prompt execution options in the Playground" title="Prompt execution options in the Playground" style={{ width: "100%" }} width="1424" height="430" data-path="images/iterate/prompts-execution-options.png" />

| Option          | When to use                                                                                                                                                                                                                       |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Run**         | Continue the conversation with the model. Use this for initial runs or when adding new messages to an ongoing conversation.                                                                                                       |
| **Clear & Run** | Start fresh. This clears all previous interactions and conversation history, resets the context, and runs the prompt as if it were the first interaction. Use this when accumulated context might influence the model's response. |

## Build a conversation thread

You can have multi-turn conversations with the model directly in the Playground. After receiving a response, add a new User message to continue the conversation. The model retains the full context of previous exchanges.

This works the same way as [creating multi-shot prompts](/docs/iterate/multi-shot-prompting) in the Editor, but happens interactively:

1. **Run the prompt** — The model generates a response (shown as an Assistant message).
2. **Add a follow-up** — Type a new User message below the response to continue the conversation.
3. **Run again** — Click **Run** to send the full conversation (including all prior messages) to the model.
4. **Include tool responses** — If the model makes a [tool call](/docs/iterate/tool-calls-in-playground), provide the tool response and run again to see how the model incorporates external data.

The conversation thread is preserved across runs. Use **Clear & Run** when you want to start a fresh conversation without prior context.

## Iterate on your prompt

The Playground is designed for rapid iteration. A typical workflow looks like:

1. **Run** your prompt with initial inputs.
2. **Review** the model's response — check for accuracy, tone, format, and completeness.
3. **Adjust** your prompt in the Editor (refine instructions, add examples, tweak parameters).
4. **Run again** to compare the new output against the previous one.
5. **Repeat** until the output meets your quality bar.

## Next steps

<CardGroup cols={2}>
  <Card title="View Past Prompt Runs" icon="clock-rotate-left" href="/docs/iterate/view-past-prompt-runs">
    Access your complete run history and restore previous states.
  </Card>

  <Card title="Tool Calls in Playground" icon="wrench" href="/docs/iterate/tool-calls-in-playground">
    Handle tool calls and auto tool execution.
  </Card>
</CardGroup>
