Introduction

You can find the features discussed in this section under [Tools Kit] -> [Knowledge Base] in the sidebar

Adding Knowledge Base

  1. Click [Add New Knowledge Base], and you can configure a new knowledge base in the pop-up dialog
  2. Enter the [Knowledge Base Name] and [Knowledge Base Description]. Note! The [Knowledge Base Description] affects which knowledge base the large model calls, so describe your knowledge base as accurately as possible
  3. For first-time use, you can add new providers in the [Model Service Interface]. After adding providers, please return to this page and select [Embedding Model] to continue. Embedding model names typically contain keywords such as "embedding", "ebd", "bge".
  4. Click [Advanced Settings], where you can configure [Chunk Size], [Overlap Size], [Number of Returned Paragraphs], and [Search Weight]
  1. Upload files, supporting most file formats except images; image-based PDFs cannot be parsed either

Knowledge Base Configuration

  1. This sub-page is used to configure common rules for all knowledge bases
  2. Knowledge Base Search Timing: You can choose before thinking, after thinking, or both
  1. Enable Reranking Model: Determines whether to enable the reranking model. Currently only tested with jina and vllm's rerank model interfaces, but other providers' rerank model interfaces are likely compatible as they are probably similar to these two
  2. Number of Returned Results: Determines how many results the reranking model will return. For example, if 10 knowledge bases are automatically queried before thinking, returning 50 results, which are then filtered to 5 results by the reranking model, this number is determined by the [Number of Returned Results] in [Knowledge Base Configuration]