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

# From Trace to Playground

> Open a LLM trace in the Playground.

## Open a trace in the playground

When viewing a trace, you can directly open any span related to an LLM call with messages in the Playground by clicking the `Open in playground` button.

<img src="https://mintcdn.com/pareaai/3kurg3MZRrsWWk8t/observability/open_in_playground.png?fit=max&auto=format&n=3kurg3MZRrsWWk8t&q=85&s=100a1acb8a0c4da169762a301239388f" alt="open_in_playground" width="1396" height="341" data-path="observability/open_in_playground.png" />

When opened in the Playground, the messages will be pre-populated as the prompt's messages matching the roles and content.
The model parameters will also be pre-populated. Parea will try to pre-populate templated prompts by checking if any input values exist in the messages.

For example, consider a trace that has the input `{"question": "What is the capital of France?"}` and message `[{"role": "user", "content": "What is the capital of France?"}]`.
This will be converted to a prompt template with the following message: `[{"role": "user", "content": "{{question}}"}]`,
and an example row will be created with key `question` and value `What is the capital of France?`.
