Guides

Training Your AI (RAG)

Understand how BotBlocks processes your data and how to optimize your content for the best answers.

How it Works

BotBlocks uses a technique called Retrieval-Augmented Generation (RAG). When a user asks a question, we don't just rely on the AI's general training. instead:

  1. We search your uploaded Knowledge Base for relevant snippets.
  2. We retrieve the most similar text chunks based on the user's intent.
  3. We feed these chunks to the LLM (Large Language Model) as "context".
  4. The AI generates an accurate answer using only that context.

Supported Data Sources

📄 Text & PDFs

Upload product manuals, employee handbooks, or support scripts. Text is extracted and chunked automatically.

🌐 Website Crawling

Enter a starting URL (e.g., docs.yoursite.com). We will visit pages and index the text content.

Best Practices

  • Keep it clear: The AI works best with unstructured but clear text. Bullet points and headings help.
  • Small chunks: If manually adding text, try to keep each "fact" or "topic" distinct.
  • Refresh often: If your website changes, remember to re-crawl or update the documents in BotBlocks.