added

Prompt Snippets

Introducing Prompt Snippets, a feature designed to boost your efficiency by allowing you to reuse key parts of your prompt across multiple variants.

When working with multiple deployment variants that share common prompt elements, you no longer need to update each one individually. Instead, edit the snippet once, and all related variants will automatically reflect the change, saving you time and reducing manual effort.

Using a Prompt Snippet

When you type {{snippet., a list of all available snippets will appear. You can then select the snippet you’d like to use.

An example of 2 prompt snippets in the Deployment Studio

An example of Prompt Snippets in the Playground


Configuring a Prompt Snippet

Head to the Prompt Library to create and configure your Prompt Snippet.

The configuration of the Prompt Snippet {{snippet.summarize}} inside of the Prompt Library

The configuration of the Prompt Snippet {{snippet.summarize}} inside of the Prompt Library

Version control

Prompt Snippets are fully version-controlled, making it easier to track changes and correct mistakes, especially in collaborative environments. Be aware that updates to snippets will automatically apply to all deployments using them, so ensure any changes are intentional and properly tested.

❗️

Please note that if you modify the snippet, all deployments containing that snippet will be automatically updated

📘

Read more on our documentation: Prompt Snippet