Training Guide

Shape your bot's personality and behavior through the Instructions screen (Manual or Guided mode).

How Bot Training Works

Training in AxiaChat AI has two parts:

  1. Instructions — Tell the bot how to behave: personality, tone, rules, and guidelines.
  2. Context (Knowledge Base) — Give the bot the information it needs to answer accurately. This is covered in Training: Context & RAG.

This page focuses on Instructions. For context/knowledge base setup, see the next page.

Accessing the Instructions Page

  1. Go to AxiaChat AI → Training in your WordPress admin.
  2. If you have multiple bots, select the one you want to train using the bot selector at the top.
  3. Open the Instructions sub-page: wp-admin/admin.php?page=aichat-training-instructions.

Two Modes: Manual and Guided

The Instructions page has a mode toggle with Manual and Guided modes. Both save to the same bot instructions field.

Manual Mode

Guided Mode

Guided mode is a structured wizard that generates instructions and then saves them (overwriting current manual text):

  1. Assistant type (card selection)
  2. Tone (pill selection)
  3. Response length (slider: Minimal, Short, Medium, Detailed)
  4. Chat Guidelines (editable list with suggested + universal options)

A live preview is shown before applying. Clicking Apply & Save Instructions stores the generated prompt and syncs it to manual mode.

Writing Good Instructions

Instructions are the system prompt that shapes every response your bot gives. Think of them as the bot's "employee handbook."

What to include

Example Instructions

You are Aria, the AI assistant for Acme Store.

Tone: friendly, professional, and helpful.
Language: respond in the same language the user writes in.

Your job:
- Answer questions about our products, pricing, and shipping
- Help users find the right product for their needs
- Capture leads when users show purchase interest

Rules:
- Never invent information — only use the provided context
- If you don't know something, say so honestly
- Keep responses concise (2-3 paragraphs max)
- When quoting prices, always mention they may vary

Guidelines in Guided Mode

Guidelines are managed inside Guided mode (step 4) as editable lines. You can add, edit, and remove them before saving.

What guideline options include

The "Add Guideline" selector provides:

💡 Guided mode warning Applying guided mode overwrites current manual instructions entirely. If needed, copy your current prompt before applying.

Training Tips

Be specific, not vague

❌ Vague✅ Specific
"Be helpful""When asked about shipping, provide estimated delivery times and tracking info"
"Don't be rude""Always thank the user for their question. If you can't help, apologize and suggest alternatives"
"Know our products""Use the product information from the context. Include price and availability when relevant"

Test and iterate

  1. Write initial instructions
  2. Test with common questions your customers ask
  3. Review conversations in AxiaChat AI → Logs
  4. Adjust instructions based on what needs improvement
  5. Repeat

Use the preview mode

Test your bot without affecting live visitors:

https://yoursite.com/?aichat_preview=1&bot=your-bot-slug

Per-Bot Instructions

Each bot has its own separate instructions. This is powerful when you have multiple bots:

What Happens Behind the Scenes

When a user sends a message, the plugin builds the AI prompt in this order:

  1. Security & Privacy Policy — Always first (hardcoded, prevents prompt injection)
  2. Your instructions — The system prompt you wrote + enabled guidelines
  3. Context — Relevant knowledge base chunks retrieved via RAG (see Context & RAG)
  4. Conversation history — Previous messages in the session
  5. User's message — The actual question
📘 Security-first design The security policy is always injected first and cannot be overridden by user messages. This protects against prompt injection attacks where users try to make the bot reveal its instructions or behave inappropriately.

Save Behavior Summary

Interactive Training Guide

For a more visual, step-by-step walkthrough with examples and interactive elements, check out our dedicated Interactive Training Guide.