Prompts
The Prompts page in AI Studio allows you to manage reusable blocks of text that guide your AI Agents. Prompts are essential for shaping an agentโs knowledge, behavior, and responses. They can act as knowledge bases, role definitions, or scenario-specific instructions.
๐ Page Layoutโ
- List of Prompts โ Displays all created prompts with their Title and Preview (shortened content).
- Actions Menu โ Each prompt has a menu with options to edit or delete.
- + Prompt โ Opens a modal for creating a new prompt.
โจ Creating & Editing Promptsโ
Both creating and editing prompts use the same form. When you click + Prompt or Edit, you will see a simple editor with the following fields:
๐ท๏ธ Titleโ
- A unique name for the prompt.
- Helps identify its purpose (e.g., Customer Support Guidelines, Medical Knowledgebase).
๐ Contentโ
- The text or knowledge that defines the prompt.
- Can be a role description, knowledge dump, or scenario-specific instruction.
- Supports large plain text to act as knowledge containers.
Example: You are a friendly virtual trainer. Always explain safety rules before giving cooking instructions.
๐ Updating Promptsโ
When editing, you can:
- Rename the prompt title.
- Update its content to refine behavior.
- Save changes immediatelyโupdates apply to any agent using this prompt.
๐๏ธ Deleting Promptsโ
Click the Delete option in the action menu to remove a prompt.
- A confirmation dialog will appear before deletion.
- Deleting a prompt will break references in agents that use itโensure you reassign a new prompt if needed.
โ Best Practices for Promptsโ
- โ๏ธ Keep prompts modular โ Split large knowledge into smaller reusable prompts.
- ๐ Reuse where possible โ Avoid duplicating the same content across agents.
- ๐ฏ Be specific โ Clear, targeted prompts yield better agent responses.
- โก Update carefully โ Remember, editing a prompt affects all agents that use it.
- ๐งช Test iteratively โ Try prompts with agents and refine wording for optimal results.
๐ก Business Caseโ
Imagine you are building a VR training program with multiple agents across different projects:
- A Safety Instructor agent.
- A Kitchen Trainer agent.
- A Customer Interaction agent.
Instead of writing instructions separately for each agent, you can create a single โCommon Knowledgebaseโ prompt with shared safety and company rules. All agents reference the same prompt, ensuring consistency and making updates easy.
Benefits
- Centralized updates (fix once, apply everywhere).
- Reusable across projects and scenarios.
- Keeps agents aligned with organizational standards.