---
title: "What is Prompt engineering? | Chargezen"
description: "Writing and refining the instructions given to a language model so it behaves the way you want, reliably."
url: "https://chargezen.com/glossary/prompt-engineering"
lang: "en"
---

Canonical URL: https://chargezen.com/glossary/prompt-engineering

# Prompt engineering

Prompt engineering

AI

Writing and refining the instructions given to a language model so it behaves the way you want, reliably.

## What is Prompt engineering?

A prompt is the text a language model receives: instructions, examples, context and the conversation so far. Prompt engineering is the work of writing that text so the model does the right thing. **What good prompts usually include:** - **A clear role and goal:** who the agent is and what it is for. - **Rules:** what it must always do, and what it must never do. - **Examples:** sample exchanges that show the tone and steps. - **Context:** facts about the business or the customer it may use. - **Output format:** for example, short spoken sentences, or a set of fields. **Prompts for voice agents** need extra care: short replies, no lists read aloud, confirmations for numbers and clear handoff rules. **How it is done:** write a draft, test it on realistic conversations, read the failures, adjust and test again. Changing one sentence can change behavior in many places. **Common mistakes:** - Very long prompts with rules that conflict. - Facts that change, like prices, written into the prompt instead of a knowledge source. - Testing only the happy path. - Rules that only say "don't" without saying what to do instead. **Prompts are not security.** A prompt can guide behavior, but sensitive limits, like who can approve a refund, should be enforced by the system's permissions. **How Concierge handles it:** you write each agent's brief in plain words: its job, its greeting and what to ask. Playbooks hold step-by-step procedures, and the agent answers from the knowledge you approved.

## Example

An agent keeps reading long return policies aloud. The team adds one rule, "answer in two sentences and offer to text the full policy," and calls get shorter.

## Why Prompt engineering Matters

The prompt is the main way a team shapes what a model says. Small changes can fix or cause many problems.

## Explore More Terms

Browse our complete glossary of e-commerce and subscription terms.

[View Full Glossary](https://chargezen.com/glossary)
