Your sidekick is only as smart as the information you give it. This guide covers best practices for building a knowledge base that delivers accurate, relevant answers.
When you upload a document, Sidekick Forge processes it through a pipeline called RAG (Retrieval-Augmented Generation). Here's what happens behind the scenes:
Your document is split into small, meaningful pieces called "chunks." Each chunk typically contains a paragraph or section of content.
Each chunk is converted into a mathematical representation (a "vector") that captures its meaning. This allows the system to find content by meaning, not just keywords.
When a user asks a question, the system finds the most relevant chunks and passes them to your sidekick as context. Your sidekick then uses this context to craft an accurate answer.
Each document should make sense on its own. Avoid content that relies heavily on other documents for context. Instead of a document titled "Updates" with notes like "Changed the policy from last week," write the complete updated policy in full.
Clear headings help the chunking process create meaningful pieces. A heading like "Return Policy for Online Orders" produces better chunks than "Section 4.2".
A 5-page document about your return policy will produce better answers than a 200-page employee handbook that happens to mention returns on page 147. Focused documents lead to more relevant retrieval.
Remove outdated documents and replace them with current versions. If your sidekick is pulling from an old pricing page, it will give users incorrect information.
When your sidekick uses knowledge base content to answer a question, it includes citations in the conversation UI. Citations let users verify the source of information and build trust in the answers.
Citations appear as clickable references below the sidekick's response. Each citation shows:
Navigate to Knowledge Base in the admin panel. Drag and drop files into the upload area or click to browse. You can also paste a URL to index a web page. Documents are processed automatically — you'll see the status change from "Processing" to "Indexed" once complete.
By default, uploaded documents are available to all your sidekicks. You can restrict a document to specific sidekicks from the Knowledge Base page. This is useful when you have multiple sidekicks serving different purposes — for example, a sales sidekick shouldn't reference internal HR policies.
If you update a document and re-upload it, the system will automatically reprocess and re-index the content. You can also manually trigger reprocessing from the document detail view.
If you use the Sidekick Forge Connect WordPress plugin, your published posts and pages can be automatically synced to your knowledge base. This keeps your sidekick up-to-date with your latest content without manual uploads.
Synced content is treated just like any other document — it's chunked, embedded, and searchable. When content changes on WordPress, the sync process updates the knowledge base automatically.
If your sidekick isn't giving the answers you expect, try these steps: