> ## 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.

<Steps>
  <Step title="Navigate to Assistant Overview">
    <img src="https://mintcdn.com/rapidaai/Qk_gslahiEVbVVIP/images/assistant/overview-light.png?fit=max&auto=format&n=Qk_gslahiEVbVVIP&q=85&s=8f0f122d3cc68b3b644d172ae8210b67" alt="Navigate to Assistant Overview" width="3570" height="2086" data-path="images/assistant/overview-light.png" />

    Begin by navigating to the overview page of the assistant you want to update.
  </Step>

  <Step title="Initiate New Version Creation">
    Click on the "Create new version" button to start the process of creating a new version of your assistant.
  </Step>

  <Step title="Update Assistant">
    <img src="https://mintcdn.com/rapidaai/Qk_gslahiEVbVVIP/images/assistant/update-instruction-dark.png?fit=max&auto=format&n=Qk_gslahiEVbVVIP&q=85&s=7a8f303db6441906b11e19541c7f634e" alt="Update Assistant" width="3572" height="2084" data-path="images/assistant/update-instruction-dark.png" />

    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.
  </Step>

  <Step title="Change Definition">
    <img src="https://mintcdn.com/rapidaai/Qk_gslahiEVbVVIP/images/assistant/change-description.png?fit=max&auto=format&n=Qk_gslahiEVbVVIP&q=85&s=a03bf1f7b6377ebd117c52bb6b2775e3" alt="Change Definition" width="3560" height="2072" data-path="images/assistant/change-description.png" />

    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.
  </Step>

  <Step title="Review and Create">
    After reviewing your changes, click the "Create new version" button to finalize the creation of the new assistant version.
  </Step>

  <Step title="Version History">
    <img src="https://mintcdn.com/rapidaai/0bqNgoGzt9krDoel/images/assistant/version-list-v1.png?fit=max&auto=format&n=0bqNgoGzt9krDoel&q=85&s=7c8823c7e753cdf71c54503c6822af0c" alt="Version History" width="3248" height="514" data-path="images/assistant/version-list-v1.png" />

    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.
  </Step>
</Steps>

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.
