Prompts
An overview of the Prompts page in the Agentsmith Studio.
The Prompts Library page is where you can view all of the prompts in your project. You can also create new prompts from this page.
From this page you can:
- See a list of all your prompts
- Click on a prompt to view its details, including all of its versions
- Create a new prompt by clicking the "Create New Prompt" button
- See the latest version of each prompt, its status (either
DRAFT
orPUBLISHED
), and when it was last updated. - Quickly edit the latest version of a prompt.
Prompt Detail Page
When you click on a prompt, you'll be taken to the Prompt Detail page. This page shows you all the versions of the prompt, with the latest version expanded by default.
From here, you can:
- Test: Open a modal to test the prompt with different variables.
- Compile to Clipboard: Compile the prompt with variables to copy it to your clipboard.
- New Version: Create a new version of the prompt.
- Edit: Edit a specific version of the prompt.
Creating a New Version
When you click "New Version", a modal will appear where you can give your new version a semantic version number.
Editing a Prompt Version
When you choose to edit a prompt version, you'll be taken to the Edit Prompt page. Here you can modify the prompt's content and manage its variables.
Testing a Prompt
The test modal allows you to provide values for any variables in your prompt and see the rendered output. You can then run the prompt against a model to see the result.