Skip to content

Knowledge Storage

Manage the AI search data required for document search and RAG answers. RAG is a method in which the AI finds related content in stored documents and refers to it when answering.

Before you begin

  • Required permission: Workspace administrator
  • Check the output dimension of the embedding model you will use.
  • If you select an external store, the SpaceBuilder server must be able to reach its endpoint.

Open Knowledge Storage

  1. Open the administrator page.
  2. Select Knowledge Services in the left menu.
  3. Select Knowledge Storage.

Knowledge Storage page


Vector DB Overview

Check the status of the currently connected vector DB.

ItemDescription
ConnectionWhether the vector DB is connected
Vector StoreThe method and type used to store AI search data (for example, Qdrant Service-backed)
Stored vectorsThe number of data items stored by this instance (the current SpaceBuilder)
Total CollectionsThe number of collections in the store. For Qdrant and Milvus, this is the total number of collections on that server.
Collection configurationWhether the dimension and distance metric of the store match the settings
Storage PathThe location where the data is stored (shown only for Local and Automatic; for example, vectordb_local)

For the detailed meaning of each item and the action for each Collection configuration state, see the vector DB operations guide.

Vector DB Setup

Set how and where AI search data is stored.

Select an embedding model

From the models downloaded in AI model settings, select the embedding model that converts documents into vectors for search. If no model has been downloaded, download an embedding model in AI model settings first. (for example, bge-m3)

ItemDescriptionDefault
Embedding modelSelect an embedding model downloaded in AI model settings.-
Vector dimensionsThe number of dimensions of the vectors that the selected model generates.1024

For known models such as bge-m3 and nomic-embed-text, the vector dimension is entered automatically when you select the model. When you use another model, enter the same value as the output dimension of that model.

Driver

Select how AI search data is stored.

DriverDescription
Automatic (SQLite)The default. When you select an embedding model, the SQLite store built into SpaceBuilder is used.
Local (SQLite)Stores AI search data as a file in the path you specify. It does not require a separate DB server and is suitable for environments with about 50,000 vectors or fewer. The default path is vectordb_local.
MilvusAn external vector DB used in large-scale environments. The collection must be created in advance. Connect Milvus
QdrantAn external vector DB. The collection is created automatically on the first indexing. Connect Qdrant

To decide which driver to choose, see the vector DB operations guide.

Data Path

For the Local and Automatic drivers, specify the path where the data is stored. A relative path is resolved from the folder that contains the SpaceBuilder configuration file.

External vector DB connection information

When you select Qdrant or Milvus, enter the external vector DB connection information instead of the data path. For Qdrant, enter the REST endpoint and the gRPC endpoint separately.

Connection information input screen when Qdrant is selected as the driver

ItemDescription
CollectionThe name of the collection where the data is stored. A different name for each instance is recommended, and the screen shows the recommended name for this instance.
REST endpoint / EndpointThe connection address of the external vector DB server. It is labeled REST endpoint for Qdrant (for example, http://localhost:6333) and Endpoint for Milvus (for example, http://localhost:19530).
gRPC endpoint (Qdrant, Recommended)The gRPC address of the same Qdrant instance as REST (default: http://localhost:6334). gRPC is used first for search and vector storage. If left empty, 6334 is used automatically when the REST address uses port 6333, and the connection switches to REST if gRPC cannot be reached.
API keyEnter it only when authentication is enabled on the external vector DB. The stored value is shown masked on the screen and is kept unless you change it. If you save with the field empty, it is deleted.
Username / PasswordUsed for Milvus account authentication. Enter the password only when you change it.

Vector sync and rebuild

In the Administrator Only area, refill the data of the vector DB or build it anew. Neither action deletes the source files of the workspace, and both require a Team license or higher.

  • Sync Existing Embeddings: Copies the existing embeddings to the selected vector DB and creates again only the vectors that cannot be recovered.
  • Rebuild Vector Generation: Creates a new vector generation while keeping the previous vectors, and cleans up the previous vectors when verification is finished.

For the difference between the two actions and when to use each, see the vector DB operations guide.