Skip to main content

Promptscape Studio

The Promptscape Studio is your prompt engineering workbench in Visual Studio Code. It provides an interactive control surface to create, edit and persist prompts, variables, scenarios, and other Promptscape assets.

Opening the Studio

The studio is access via a webview, which opens in the editor pane of VSCode. There are three easy ways to access the studio:

  1. Run the VSCode command Promptscape: Open Studio.
  2. Select the Status Bar button labeled 'Open Promptscape', which can be found at the lower left corner of your screen. status-bar-item
  3. Select any of these asset types from the Explorer: Prompt, Prompt file, or Runbook.

Studio Layout

The Studio is divided into two panels, either of which can be maximized for focus or prentating your work.

  1. On the left of the Studio, you'll find the Prompt panel. Here's where you work with your system prompt, provide variable data, and edit inference parameters.
  2. On the right is the chat panel. This provides the main input interface for testing your chat prompts. It also displays runbook execution controls when a runbook is loaded.

studio-default-view

Prompt Panel

You use the prompt panel to provide system prompts & variables to the extension.

prompt-panel

Walking through the image above, top to bottom:

  1. The Prompt input is where you enter the system prompt you are developing. If you import a prompt or load a scenario, this input will be auto-populated with that prompt text.
  2. Select 'Auto-parse template variables' if you want to provide values for variables in your prompt. For more detailed information on variables, see the Variables page.
  3. The prompt editor button cluster contains two buttons by default:
    1. Save Prompt - this will save the current prompt & associated variable to Workspace storage
    2. Start fresh - this option clears the panel
    3. When a saved prompt has been loaded, a third option will appear: Delete Prompt. Select this to delete the prompt from storage.
  4. Variable Entry
    1. Every variable that follows the variable template format will generage a value input here. Add values to change the behavior of your prompt, and to simulate context retrievers during testing.
  5. Inference settings & parameters 1. Available inference parameters (temperature, topp past message count, and many others) can be set here.

    NOTE:: To learn more about which inference parameters are available for your models, and what they do, see documentation from your specific model provider.

Chat Panel

The chat panel is the primary interface for interacting with your models. It provides these main capabilities:

  1. Open Chat: test your prompts by chatting directly with your active model
  2. Scenario recall: start a conversation from any predefined point by importing an existing scenario
  3. Runbook execution: automatically execute a runbook script to test a multi-turn conversation.

Chat Panel Features

chat-panel