Prompt Optimizer
A long system prompt makes every reply slower and more expensive, and it dilutes the bot's focus. The Prompt Optimizer rewrites your prompt to keep only behaviour and rules, and moves factual content (prices, addresses, product details, policies) into your Knowledge Base, where it is retrieved only when relevant.
Nothing is deleted. Your rules are preserved word-for-word. Nothing changes until you approve.
Where to find it
Dashboard -> Assistants -> [your bot] -> Setup -> AI Prompt tab. A health card shows your prompt's improvement potential: Low, Medium, or High.
How to use it
- Open the AI Prompt tab and look at the prompt health card.
- Click Optimize ("move facts to the knowledge base").
- Review the proposal before anything is applied:
- Moved to the Knowledge Base — the facts that will become KB documents.
- Kept in the prompt — your behaviour and rules (guardrails preserved verbatim).
- Savings — roughly how much shorter and more focused the prompt becomes.
- Click Apply to apply the changes, or Cancel to keep everything as-is.
- Your old prompt is stored in Prompt History — click Undo at any time to revert.
Why it matters
- Faster, cheaper replies — a leaner prompt means fewer tokens per message.
- Sharper answers — facts live in the KB and are pulled in only when the question needs them.
- Safe — it is review-before-apply, fully reversible, and never drops your guardrails.
> Tip: Run the optimizer whenever you've pasted a lot of business facts into the prompt. Keep the prompt for how the bot behaves; let the Knowledge Base hold what it knows.