> ## Documentation Index
> Fetch the complete documentation index at: https://promptlayer-1023-gorgias-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Playground

The Playground is a native way to create and run new LLM requests all through PromptLayer. Your run history will be tracked in the sidebar. The Playground is most useful as a tool to "replay" and debug old requests.

## Replay requests

The Playground allows PromptLayer users to rerun previous LLM requests. Simply click "Open in Playground" on any historical request.

<div style={{width: '90%'}}>
  ![Open in Playground screenshot](https://mintlify.s3-us-west-1.amazonaws.com/promptlayer-1023-gorgias-docs/images/playground/open-in-playground.png)
</div>

## OpenAI functions

The Playground fully supports [OpenAI function calling](https://platform.openai.com/docs/guides/gpt/function-calling). These functions can be accessed directly from the Playground interface and can be incorporated into your requests as needed. *Not even OpenAI's playground does this 👀*

<div style={{width: '70%'}}>
  ![Functions dialogue](https://mintlify.s3-us-west-1.amazonaws.com/promptlayer-1023-gorgias-docs/images/playground/functions.png)
</div>

## Custom models

The Playground also supports the use of custom models for LLM requests. This means you can use a fine-tuned model or a dedicated OpenAI instance.
