# Prompts

Prompts are pre-defined instructions that guide large language models to generate specific responses tailored for targeted tasks or functions. They serve as templates that define the parameters, tone, and purpose behind how AI solutions interpret and respond to user inputs.

ZBrain’s Prompt Manager centralizes the creation, organization, and deployment of prompts, ensuring consistent and high-quality interactions across applications and agents. Its intuitive interface allows organizations to efficiently manage prompt libraries and oversee configurations with ease. With a version-controlled repository of customizable templates, ZBrain Builder provides full control over model behavior, promoting consistency, reusability, and adherence to quality standards. This approach enhances AI integration and significantly improves the performance and reliability of language model applications and agents across the enterprise ecosystem.

### **Key capabilities** <a href="#key-capabilities" id="key-capabilities"></a>

#### **Prompt creation & management** <a href="#prompt-creation-and-management" id="prompt-creation-and-management"></a>

Easily create new prompts from scratch or customize existing ones using an intuitive UI. Prompts support dynamic elements like variables, system instructions, multi-step flows, and conditional logic to guide model behavior effectively for more dynamic interactions.

#### **Model configuration** <a href="#model-configuration" id="model-configuration"></a>

Choose from a wide range of AI providers and models, customize parameters, and gain transparent insight into inference pricing to manage usage and control costs effectively.

#### **Version control** <a href="#version-control" id="version-control"></a>

Maintain multiple versions of each prompt for easy testing, iterative improvements, and quick rollbacks. This ensures flexibility and control over prompt behavior, allowing for continuous improvement.

#### **Testing and optimization** <a href="#testing-and-optimization" id="testing-and-optimization"></a>

Run real-time tests within the Prompt Editor to validate outputs before deployment. Fine-tune for accuracy, tone, and relevance to ensure your AI solutions deliver the desired results.

#### **Prompt integration within ZBrain apps and agents** <a href="#prompt-integration-within-zbrain-apps" id="prompt-integration-within-zbrain-apps"></a>

Prompts can be used within ZBrain applications and agents, ensuring consistent, accurate responses that align with user intent and achieve desired outcomes.

#### **Usage analytics** <a href="#usage-analytics" id="usage-analytics"></a>

Gain comprehensive insights into prompt performance and resource consumption through intuitive dashboards that help you track usage trends, optimize costs, and ensure efficient model execution.

#### **User management** <a href="#user-management" id="user-management"></a>

Manage user access to prompt templates, ensuring secure collaboration and efficient management of prompts across teams.

#### Accessing Prompts documentation <a href="#accessing-prompts-documentation" id="accessing-prompts-documentation"></a>

ZBrain Builder includes a context-aware documentation panel within the Prompts module.

* Click the '?' icon in the top-right corner of the Prompts interface.

<figure><img src="/files/OVyPpvcSzbw1c518Z0IB" alt=""><figcaption></figcaption></figure>

* When clicked, it opens a side panel that displays documentation specifically tailored to the Prompts module, all without requiring you to navigate away from your current screen.

<figure><img src="/files/BbqQERqCKaER2iQcZ0ja" alt=""><figcaption></figcaption></figure>

This feature ensures you always have relevant documentation at your fingertips, helping you create, test, and manage effective prompts within ZBrain Builder.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/prompts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
