HomeDocumentation

Knowledge Base

The Knowledge Base is where your chatbot learns. Add content from various sources to make your AI smarter and more accurate.

Content Sources

ChatReact supports multiple ways to add knowledge:

SourceDescriptionBest For
Website CrawlAutomatically extract content from your websiteExisting documentation, blog posts
FAQsQuestion and answer pairsCommon customer questions
Core InstructionsSpecific rules and guidelinesBusiness logic, policies
DocumentsUpload PDFs, docs, etc.Manuals, guides

Website Crawler

Starting a Crawl

  1. Navigate to Knowledge in the sidebar
  2. Enter your website URL (e.g., https://example.com/docs)
  3. Click Start Crawl

Crawl Settings

SettingDescription
Start URLThe page to begin crawling from
Max PagesLimit how many pages to crawl (based on plan)
Follow LinksAutomatically discover and crawl linked pages

Crawl Limits

The number of pages you can crawl and crawls per month depends on your plan. See our Pricing page for details.

Crawl Status

Monitor your crawl progress:

  • Pending: Waiting to start
  • Running: Currently crawling pages
  • Completed: All pages processed
  • Failed: Error occurred (check details)

Crawling runs in the background — you can leave the page and return later to check progress. The progress indicator updates in real-time.

Cancel a Crawl

You can cancel a running or pending crawl at any time:

  • Click the Cancel button in the progress bar during an active crawl
  • In Recent Crawls, each running/pending job also has a Cancel button
  • If you leave the page during a crawl, the Cancel button is still available when you return

You'll receive a notification when your crawl completes. Click the notification to view results.

Viewing Crawl Results

After a crawl completes:

  1. View all discovered pages with their titles
  2. Click Indexed Content to see the extracted content rendered as formatted Markdown
  3. Toggle pages on/off for training
  4. Re-crawl individual pages or the entire website

Re-Crawling

To update your knowledge base with fresh content:

  • Single page: Click the re-crawl button next to any crawled page
  • Entire website: Use the re-crawl button for the whole domain

Re-crawls update the content and refresh the "last crawled" timestamp. You'll receive a notification when complete. You can also cancel a re-crawl in progress.

FAQs

FAQs are the most direct way to teach your chatbot:

Adding FAQs

  1. Go to FAQs in the sidebar
  2. Click Add FAQ
  3. Enter the question (as a customer would ask it)
  4. Enter the answer
  5. Optionally assign to a category
  6. Click Save

FAQ Categories

Organize FAQs into categories:

  • Pricing
  • Technical Support
  • Account Management
  • Shipping & Returns

FAQ Suggestions

Generate FAQ suggestions on demand:

  • Generate from Knowledge Base — use the button on the FAQ Suggestions page
  • Improvement Agent — the agent can suggest FAQs as part of its improvement proposals
  • Manual — create FAQs yourself at any time

Review suggestions and approve or dismiss them. See the FAQ Management guide for details.

Core Instructions

Core Instructions are specific rules your chatbot must follow:

Adding Instructions

  1. Go to chatbot settings
  2. Navigate to the Restrictions tab
  3. Click Add Instruction
  4. Write your instruction clearly
  5. Toggle active/inactive as needed

Effective Instructions

Good examples:

  • "If a customer asks about pricing, direct them to our pricing page at /pricing"
  • "Never disclose internal metrics or customer data"
  • "For technical issues, always ask for the error message first"

Avoid:

  • Vague instructions: "Be helpful"
  • Contradictory rules
  • Overly complex logic

AI-Powered Improvement

Use the Improve with AI button to:

  • Refine your instructions
  • Fix grammar and clarity
  • Make instructions more actionable

Vector Store

Behind the scenes, ChatReact uses:

  1. Embeddings: Your content is converted to vectors
  2. Semantic Search: Find relevant content by meaning, not just keywords
  3. Context Injection: Relevant content is included in AI prompts

This enables your chatbot to find and reference the right information even when customers phrase questions differently.


Best Practices

  1. Start with FAQs: Add your top 20 most common questions
  2. Crawl strategically: Target documentation pages, not marketing fluff
  3. Review regularly: Check what questions your bot can't answer
  4. Iterate: Use the Improvement Agent to refine based on feedback

Next Steps