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

# Provider Model (Prompt Executor)

> Step-by-step guide to creating a new version of an existing AI assistant

This guide walks you through the process of creating a new version of an existing assistant in the platform.

**1. Navigate to Assistant Overview**

![Navigate to Assistant Overview](https://mintcdn.com/rapidaai/Qk_gslahiEVbVVIP/images/assistant/overview-light.png?fit=max\&auto=format\&n=Qk_gslahiEVbVVIP\&q=85\&s=8f0f122d3cc68b3b644d172ae8210b67)

Begin by navigating to the overview page of the assistant you want to update.

**2. Initiate New Version Creation**

Click on the "Create new version" button to start the process of creating a new version of your assistant.

**3. Update Assistant**

![Update Assistant](https://mintcdn.com/rapidaai/Qk_gslahiEVbVVIP/images/assistant/update-instruction-dark.png?fit=max\&auto=format\&n=Qk_gslahiEVbVVIP\&q=85\&s=7a8f303db6441906b11e19541c7f634e)

In the "Update Assistant" step:

* You can modify the assistant's definition, including the model, instructions, and variables.
* The current example shows using the GPT-4v model.
* The system prompt defines the assistant's role, in this case as a minimal therapist.
* You can add or modify arguments, such as the `user_name` variable shown.

**4. Change Definition**

![Change Definition](https://mintcdn.com/rapidaai/Qk_gslahiEVbVVIP/images/assistant/change-description.png?fit=max\&auto=format\&n=Qk_gslahiEVbVVIP\&q=85\&s=a03bf1f7b6377ebd117c52bb6b2775e3)

In the "Change Definition" step:

* Provide a change description that summarizes what's been updated in this version.
* The example shows a simple description: "Change assistant version on 2023-08-22"
* Note the warning that new versions will not be deployed automatically and manual deployment is required to update the production version.

**5. Review and Create**

After reviewing your changes, click the "Create new version" button to finalize the creation of the new assistant version.

**6. Version History**

![Version History](https://mintcdn.com/rapidaai/0bqNgoGzt9krDoel/images/assistant/version-list-v1.png?fit=max\&auto=format\&n=0bqNgoGzt9krDoel\&q=85\&s=7c8823c7e753cdf71c54503c6822af0c)

After creating a new version:

* You can view the version history of your assistant.
* The history shows different versions, including which one is currently in use.
* Each version has a unique identifier and shows when it was last updated.

Remember that creating a new version allows you to make changes and test them before deploying to production. This helps maintain a stable production environment while allowing for continuous improvement of your assistant.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.