How to create and use environments to manage the deployment lifecycle of Prompts

Environments are a tagging system for deploying Prompts. They enable you to deploy maintain a streamlined deployment workflow and keep track of different versions of Prompts.

The default environment is your production environment. Everytime you fetch a Prompt, Tool, Dataset etc. without specifying an alternative environment or specific version, the version that is tagged with the default environment is returned.

Create an environment

1

Go to your Environments tab in your Organization’s settings.

2

Click the ’+ Environment’ button to open the new environment dialog

3

Assign a custom name to the environment

We recommend something short. For example, you could use staging, prod, qa, dev, testing, etc. This name is be used to identify the environment in the UI and in the API.

4

Click Create.

Updating the default environment

Only Enterprise customers can update their default environment

Prerequisites

Every organization will have a default environment. This can be updated by the following:

1

Go to your Organization’s Environments page.

2

Click on the dropdown menu of an environment that is not already the default.

3

Click the Make default option

A dialog will open asking you if you are certain this is a change you want to make. If so, click the Make default button.

4

Verify the default tag has moved to the environment you selected.