# Multiple Prompt Playground

The Multiple Prompt Playground provides a versatile platform for experimenting with and managing multiple prompts simultaneously. It’s designed to enhance your workflow by allowing you to run, compare, and fine-tune several prompts in parallel.

**Step-by-Step Guide to Using the Multiple Prompt Playground in RagaAI Catalyst**

1. **Access the Multiple Prompt Playground:**

* Open the "Prompt Playground" inside the Project.
* Select the "Multiple" tab to enter the Multiple Prompt Playground.

2. **Initiate Multiple Prompts:**

* Click the "New Prompt" button to start creating a new prompt template.
* Repeat this step for each additional prompt you wish to test simultaneously.

<figure><img src="https://1811327582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbIiNdp1QbG4avl7VShw%2Fuploads%2FcP3pWhqkepTyD2U4Y8Bb%2FScreenshot%202024-09-30%20at%206.03.17%E2%80%AFPM.png?alt=media&#x26;token=eca4c018-5493-48e6-a2a9-dca31632c462" alt=""><figcaption></figcaption></figure>

3. **Run and Compare Multiple Prompts:**

* Use the “Run Prompt + Eval” button to execute all prompts simultaneously.
* Analyze the results in the “Result” and “Evaluation” tabs to compare outputs side-by-side.
* This comparison helps you identify which prompt or model configuration yields the best results.

4. **Test Multiple Model Configurations:**

* For each prompt, select different model configurations to see how they perform.
* In case you have configured a custom gateway (details [here](https://docs.raga.ai/ragaai-catalyst/concepts/enable-custom-gateway)), the value of the "model" key provided by you should also populate in the model dropdown, and can be used for inferencing here.
* Fine-tune your prompts by adjusting settings and re-running them to optimize performance.

5. **Save and Version Your Prompts:**

* After refining your prompts, click the “Commit” button for each to save your work.
* Enter a descriptive commit message to track the changes or purpose of each version.
* Committed prompts are saved within RagaAI Catalyst’s system for future reference or iteration.

<br>

{% hint style="info" %}
Until you commit your prompts, they will not be permanently saved in the playground. You can commit your prompts individually at any time by clicking the “Commit” button.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.raga.ai/ragaai-catalyst/prompt-playground/multiple-prompt-playground.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
