Knowledge Base And RAG
About 1 min
Knowledge Base And RAG
1. Purpose
The knowledge base lets FastBee answer questions based on platform documents, project delivery files, product manuals, and protocol materials. Use it when answers must be grounded in specific documents.
2. Workflow
3. Document Preparation
| Item | Recommendation |
|---|---|
| File content | Remove unrelated pages, repeated covers, and obsolete appendix content. |
| Naming | Include product, module, version, and date. |
| Permission | Confirm whether the document contains customer-sensitive information. |
| Format | Prefer structured Markdown, PDF, Word, or text files that can be parsed reliably. |
4. Version Management
Use versions to keep retrieval stable. After documents change, create a new version, test retrieval, and publish it only after the result is acceptable. Keep the previous version available for rollback.
5. Retrieval Validation
| Check Item | Expected Result |
|---|---|
| Hit accuracy | The returned chunks come from the expected document and section. |
| Answer grounding | The answer does not invent content outside the retrieved context. |
| Version status | Only the published version is used by production users. |
| Permission | Users cannot retrieve knowledge outside their authorized scope. |
6. Common Problems
| Problem | Check |
|---|---|
| No answer | Model availability, published version, document parsing status. |
| Wrong answer | Chunk size, document quality, prompt, and retrieval top-k. |
| Old answer | Whether the new version has been published. |
| Slow answer | Model latency, retrieval index size, and timeout settings. |
