Knowledge Base
What It Is
Upload your local documents to the platform, where they are parsed, chunked, and vectorized for the Agent to retrieve — so the Agent answers based on your private knowledge instead of relying only on the model's general knowledge. Typical scenarios: product FAQ customer service, internal policy Q&A, and research material analysis.

Creation Flow (Four Steps)
Create a knowledge base: fill in the name and description, and choose the retrieval settings. Three retrieval methods are supported:
- Hybrid retrieval (recommended default): vector + full-text combined
- Vector retrieval: semantic similarity matching, suited for conversational questions
- Full-text retrieval: exact keyword matching, suited for terminology, code, and ID-style queries
- You can also click "Create Blank Knowledge Base" to create the base first and add files later

Upload files: drag and drop or select files, up to 5 per batch and 10MB each; supports DOCX, PPTX, HTML, PDF, MD, CSV, XLSX, VTT, JPG, PNG, TXT


Text settings: customize the chunk length per file type (default 1024 characters), text preprocessing rules (replace consecutive spaces/line breaks, remove URLs and emails), semantic chunk enhancement (enable image content understanding via vlm), and click "Preview Chunks" to preview the chunking result — chunking quality directly determines retrieval quality, so this step is worth extra time

Process and finish: view the embedding progress (each file shows its own steps and percentage), with a summary below of this batch's segmentation mode, chunk length, preprocessing rules, and retrieval settings; you can go straight to the document list page while processing continues in the background

Day-to-Day Management
Knowledge base list: the knowledge base tab shows all knowledge bases as cards (retrieval method, document count, update time), with a storage usage progress bar at the top; the "…" in the top-right corner of each card opens management actions

Document list (knowledge base detail page): filter by processing status and search by name; shows character count, retrieval count (which documents are actually used), upload time, and status (such as "Indexing"); each document has an enable/disable toggle and more actions, and you can keep adding files via "Add File" in the top right

Knowledge base settings: modify the knowledge base's name, description, and retrieval settings (switch between hybrid/vector/full-text at any time; hybrid retrieval offers advanced settings to adjust weights)

Chunk editing: open a single document to view the final chunks handed to the LLM; you can re-edit specific chunks and their keywords; "Add Chunk" inserts custom content with keywords at the top of the document
Recall testing: see the next section
Recall Testing
The entry is in the top-right corner of the knowledge base detail page (to the left of the Add File button). Enter the source text on the left (up to 200 characters), confirm the retrieval method, and click "Test":

The right side shows the matched recalled chunks: each chunk displays its index, character count, and relevance score (e.g. 0.67), used to judge retrieval quality:

- Each recalled chunk is labeled with its source file at the bottom, so you can confirm which document the content came from
- The "Records" list at the bottom left keeps past tests (retrieval method, query, time), making it easy to compare results for the same query across retrieval methods
- Use "questions real users would actually ask" as queries rather than sentences copied verbatim from the documents — verbatim sentences naturally score high and won't reveal real-world performance

Using It in a Flow
Two mounting points; in both, the Agent automatically retrieves from the selected knowledge bases when needed:
① Agentic Chat: in the "Knowledge Base" section of the Agent configuration page, click "+ Add Knowledge Base" to mount one (adjacent to the Skills section; see the configuration page screenshot in Skill System).
② Agent node in Chatflow / Workflow: turn on the "Knowledge Base" switch in the node editing panel and click + to select the knowledge bases to mount:

Selected knowledge bases are shown as tags (multiple can be mounted):

Write Good Descriptions to Help the Agent Retrieve
The Agent relies on the knowledge base's name and description to decide "which questions require this base" — the description should clearly state the scope of content covered (e.g. "Investment knowledge base, currently including options-related data"), so the Agent knows to retrieve from it when an options question comes in; a vague or missing description leads to missed retrievals when they should happen:

Retrieval in Action at Runtime
Once configured, when a user's question falls within the knowledge base's coverage, the Agent retrieves automatically: the reasoning process shows a "Knowledge Base Retrieval" step (including the search query), and citations in the answer body are marked with Document +N tags:

Click the "Knowledge Base Retrieval" step to view the request/response details — the request contains the target knowledge bases and search query, and the response shows each matched chunk's content, relevance score, and rank, useful for troubleshooting retrieval quality:

The prompt should explicitly state "answer only based on retrieved content, and say so honestly when nothing is retrieved" to prevent the model from fabricating answers.
Notes
- Storage scales with plan: Starter 50MB / Pro 5GB / Premium 20GB; once over the limit, new uploads are blocked, and over-limit files are marked disabled starting from the oldest by upload time (excluded from retrieval); delete files or upgrade to restore — see Workspace & Plans
- Embedding billing: document vectorization consumes usage quota by token
- Compliance: content in customer-facing knowledge bases must come from compliant sources and must not contain PII or undisclosed material information; see Data Usage & Privacy Restrictions
- Before going live, run recall tests on typical questions to confirm retrieval quality before publishing
Related Reading
- Variables & Data Flow Design — how retrieval results flow through the pipeline