> For the complete documentation index, see [llms.txt](https://karini-ai.gitbook.io/karini-ai-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://karini-ai.gitbook.io/karini-ai-documentation/prompt-management/prompt-versions.md).

# Prompt Versions

Upon creation, a prompt is initially saved as a draft version. You can continue to refine the prompt by tweaking it, testing alternative models, and fine-tuning the model configurations as outlined in the  [Test & Compare](https://docs.karini.ai/prompt-management/test-prompt/test-and-compare) section.

A new version of a prompt can be created by clicking the **Publish** button located at the top right corner of the Prompt Playground.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXenT_ROAjhsx4JGIObQUY2ZXB1zt_WrUuO1HpJiClKeXgBz_yed2AJdq8qNT9kYnd_Sjh4XxFZqRTzosPzjFD-eD6ti7TPG5N2qMI7IV2FnfS18bcQGWp1G538G2xJ8vc_jILW6?key=yfR7sPziaFcmoRF9EG5LXCbi" alt=""><figcaption></figcaption></figure>

You can create multiple versions of a prompt as it undergoes testing. The prompt versions can be viewed under the **Versions** tab which becomes visible after publishing the first prompt version. Selecting a specific version displays the corresponding **LLM** and its configuration details on the right panel of the interface.

<figure><img src="/files/7hNKCf8qzcOq1vMVTpgI" alt=""><figcaption></figcaption></figure>

Refer to the following video for guidance on interfacing with the **Version** tab in the UI.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7ZrVuiAUMyuYVvrK5KaB%2Fuploads%2FJP6a8Jj5xcAm0Wt9aaSA%2FVersion%20tab.mp4?alt=media&token=8f2c6b17-0450-4a6b-b65e-3e09ab5c5f9b>" %}

You can switch to the desired version by clicking the **Load Version** button, which will overwrite the current prompt configurations.

Refer to the video for the **Load version** functionality.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7ZrVuiAUMyuYVvrK5KaB%2Fuploads%2FTLKwPcj5sn9JkiNPv1oj%2FPrompt%20version%20loading.mp4?alt=media&token=c6fa2786-e6a6-4fec-8c13-5d3ba7d0a3c5>" %}

&#x20;Upon publication, the version will be displayed.The current version is displayed on the prompt.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc56WlI3sCXWzXIi4z3RFBpwuQmKY3rkRNnup639VHOEqMnLsh8tk04XILDZDRxWER2a1JojJ-em2S6lHkneLcM41d10OtYIWEoDHZd29e7f8HoLPOTcsS8MhpAixaGjMBMv4oBhA?key=yfR7sPziaFcmoRF9EG5LXCbi" alt=""><figcaption></figcaption></figure>

The most recently published version will be displayed in the Prompt Table for reference and management.

<figure><img src="/files/ht0oZyWMAf0iQ27thtsJ" alt=""><figcaption></figcaption></figure>

Prompts associated with versions can be utilized in recipes. A prompt must have a model associated with it in order to be utilized in the recipe. It can be done by using the **Select as best answer** button on a model response when testing the prompt.<br>
