Menu
Tutorials

How to Train Your WordPress Chatbot with Custom Knowledge (2026 Guide)

April 12, 2026
7 min read
By Sant Chat AI Team

Your AI chatbot is only as good as the knowledge it has. While Sant Chat AI automatically learns from your website content, sometimes you need to teach it specific information or correct mistakes. Here's how to train your WordPress chatbot for better accuracy.

Why Train Your Chatbot?

Even the best AI can occasionally misunderstand content or give outdated answers. Training your chatbot helps you:

  • Fix incorrect responses — Correct the AI when it gets something wrong
  • Add specialized knowledge — Teach information not on your website
  • Handle edge cases — Prepare for unusual questions
  • Improve consistency — Ensure brand voice and messaging alignment

Understanding How Your Chatbot Learns

Sant Chat AI uses RAG (Retrieval-Augmented Generation) to answer questions:

  1. It reads your website — Automatically scans all pages and posts
  2. Creates a knowledge base — Converts content into searchable chunks
  3. Finds relevant information — Searches the knowledge base when asked
  4. Generates an answer — Uses AI to craft a response from the found content

This works well 90% of the time. The other 10%? That's where training comes in.

Method 1: Keep Your Content Updated

The simplest way to train your chatbot is to update your website content.

If visitors frequently ask about something not covered on your site:

  1. Create a new page or post about that topic
  2. Go to Sant Chat AI → Knowledge Base in WordPress
  3. Click Sync Knowledge Base
  4. The chatbot will automatically learn the new information

Pro tip: Create an FAQ page specifically for common questions. The chatbot will use it as a primary reference.

Method 2: Use Teach Mode (Pro Plans)

Teach Mode lets you correct the chatbot directly from your dashboard—no need to edit website content.

How Teach Mode Works

  1. Go to your Sant Chat AI dashboard
  2. Navigate to Conversations
  3. Find a conversation where the AI gave a wrong answer
  4. Click Teach Correction
  5. Enter the correct answer
  6. Save

The chatbot will remember this correction and apply it to future similar questions.

Teach Mode Limits by Plan

  • Free & Starter: Not available
  • Pro: 50 corrections per month
  • Business: 200 corrections per month

When to Use Teach Mode

Use Teach Mode for:

  • Quick fixes to specific wrong answers
  • Temporary information (e.g., holiday hours, special promotions)
  • Clarifications that don't need a full page

Don't use Teach Mode for:

  • Information that should be on your website (create a page instead)
  • Complex topics requiring detailed explanations
  • Frequently changing information (update your site)

Method 3: Optimize Your Content for AI

The way you write affects how well the chatbot understands your content.

Writing AI-Friendly Content

1. Use clear headings

## What is your refund policy?

We offer 30-day money-back guarantees...

The chatbot uses headings to understand topic boundaries.

2. Write in Q&A format

Instead of:

"Customers often wonder about our shipping times. We ship within 2-3 business days."

Write:

"How long does shipping take? We ship all orders within 2-3 business days."

3. Avoid ambiguous pronouns

Bad:

"Click the button. It will open the settings."

Good:

"Click the Settings button. The Settings button will open your account preferences."

4. Include all context in one place

Don't scatter related information across multiple pages. The chatbot works best when all relevant details are together.

Method 4: Add Hidden Content for the Chatbot

Sometimes you want the chatbot to know something without displaying it prominently on your site.

Option A: Create a Hidden Page

  1. Create a new page titled "Chatbot Knowledge Base"
  2. Add all the information you want the chatbot to know
  3. Don't link to it from your navigation
  4. Set it to "Public" (not Private or Password-Protected)
  5. Sync your knowledge base

The chatbot will read it, but visitors won't see it unless they have the direct URL.

Option B: Use Schema Markup (Advanced)

Add FAQPage schema to your pages:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "What is your return policy?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "We accept returns within 30 days..."
    }
  }]
}
</script>

This helps both search engines and your chatbot understand your content.

Monitoring Chatbot Performance

Track what's working and what needs improvement:

  1. Check conversation logs — See what visitors are asking
  2. Identify gaps — Notice topics the chatbot struggles with
  3. Monitor satisfaction — Track thumbs up/down ratings
  4. Review corrections — See which Teach Mode entries get used most

Go to Dashboard → Analytics to see:

  • Most asked questions
  • Average response accuracy
  • Topics with low satisfaction scores
  • Unanswered questions

Best Practices for Long-Term Success

1. Sync regularly

After publishing new content, run a manual sync. Don't wait for the automatic schedule.

2. Review weekly

Spend 10 minutes each week checking conversation logs for patterns or issues.

3. Create seasonal content

Add pages for recurring events (Black Friday, tax season, etc.) and sync before they arrive.

4. Build a corrections library

Keep a document of common Teach Mode corrections. If you reset your chatbot, you can quickly re-add them.

5. Test before deploying

After making significant knowledge base changes, test the chatbot with common questions to verify accuracy.

Common Training Mistakes to Avoid

Mistake 1: Over-correcting

Don't create a Teach Mode correction for every minor variation. The AI generalizes well—one good answer covers many similar questions.

Mistake 2: Teaching contradictory information

If your website says one thing and Teach Mode says another, the chatbot gets confused. Keep information consistent.

Mistake 3: Ignoring the source

Always check where the chatbot is getting wrong information. Fix the source rather than endlessly correcting symptoms.

Mistake 4: Making content too technical

The chatbot uses your content verbatim. If your pages are written in jargon, the chatbot will sound the same.

Mistake 5: Not testing

After training, always test to confirm the chatbot learned correctly.

Advanced: Training for Different Audiences

If you serve multiple customer segments, structure your content accordingly:

Example: Software with both free and paid versions

Create separate pages:

  • /help/free-plan-features
  • /help/pro-plan-features

The chatbot can then say: "For free users, this feature is not available. Upgrade to Pro to unlock it."

Measuring Training ROI

How to know if your training efforts are working:

MetricBefore TrainingTarget After Training
Answer accuracy75%90%+
Unanswered questions20%less than 5%
User satisfaction3.5/54.5/5
Support tickets100/week60/week

Track these in your Sant Chat AI dashboard.

What to Do When Training Isn't Enough

Sometimes the problem isn't training—it's fundamental limitations:

The chatbot can't:

  • Access password-protected content
  • Process images or videos (only text)
  • Read JavaScript-rendered content
  • Browse external websites (only your site)

Solutions:

  • Make essential content public
  • Add alt text and transcripts
  • Use server-side rendering
  • Create summary pages for external resources

Next Steps

  1. Audit your current content — Identify gaps in your knowledge base
  2. Set up Teach Mode — Upgrade to Pro if needed
  3. Create a training schedule — Weekly reviews, monthly deep dives
  4. Monitor improvements — Track accuracy over time

Want to see how accurate your chatbot currently is? Check your dashboard analytics for a full breakdown.

Have questions about training your chatbot? Our AI is here to help—just ask it! (And if it gets it wrong, you'll know what to teach it next.)

Tags:WordPressAI TrainingTeach ModeKnowledge BaseChatbot Optimization

Ready to Add AI Chat to Your WordPress Site?

Start free with 300 AI responses per month. No credit card required.

Get Started Free