//
Agent Studio now supports variables
Hey Toolhouse users!
Today, we're excited to unveil a new feature that will revolutionize how you use, re-use and share your AI prompts: Variables support in your prompts.
Imagine being able to create a single prompt template that can adapt to countless scenarios, personalized for each case.
That's the power of Variables. Think of them as placeholders in your prompts, ready to be filled with specific information at runtime.
Why Prompt Variables?
Just like our recent "Schedules" launch brought automation to your agents, Prompt Variables bring dynamic adaptability to your prompts.
Personalization & Reusability: No more rewriting prompts for every slight variation, you can create flexible prompts that cater to diverse scenarios.
Collaboration and sharing: Share prompt templates seamlessly with the ability of adjusting AI behavior based on data.
How Does It Work?
It's as simple as adding {variable_name}
in your prompts. Agent Studio will then recognize these placeholders and prompt you to input the corresponding values before execution.
Let's illustrate with an example:
Prompt Template:
"Send an email to {email} with subject {subject} and summarize the contes of this page {url}"
Variables Input:
email
: "orlando@toolhouse.ai"subject
: "Hello world"url
: "https://www.toolhouse.ai"
Resulting Prompt (Sent to AI): "
Send an email to orlando@toolhouse.ai with subject Hello World and summarize the contes of this page https://www.toolhouse.ai
"
After using variables you can share this template with anyone, and they can customize it with their own values for company and website.
When you share a prompt with variables, Agent Studio ensures that the recipients are prompted to enter their own values. This guarantees that every user gets a personalized experience.
Dive In and Explore!
We encourage you to explore the Prompt Variables feature: head over to Agent Studio, create your first variable-driven prompt! Remember that you can trigger these via API.
We're excited to see what you create!
Happy prompting!