AI DB Settings

Manage the AI search data needed for document search and RAG responses. RAG is a method in which the AI finds relevant content from stored documents to reference when answering.

Knowledge indexing


Local AI DB Operating Status

Check the status of the currently connected AI DB.

ItemDescription
Connection statusWhether the AI DB is connected
Vector storeThe method used to store AI search data (e.g., embedded local SQLite)
Data (entity) countNumber of stored data items
Collection countNumber of created collections
Storage pathThe storage location for the data (e.g., vectordb_local)

Local AI DB Setup

Configure how and where AI search data is stored. On a fresh installation, this is set to Disabled. To use AI document search, select a storage method below.

Selecting an Embedding Model

Select the model that converts documents into search vectors from the models downloaded under AI Model Settings. If no downloaded models are available, download an embedding model under AI Model Settings first. (e.g., bge-m3)

ItemDescriptionDefault
Embedding modelSelect an embedding model downloaded under AI Model Settings.-
Dimension sizeThe number of dimensions in the vectors generated by the selected model.1024

The default dimension size is 1024. Because supported dimensions can differ by model, set this value to match the output dimension of the selected model.

Driver

Select the method for storing AI search data.

DriverDescription
Local (SQLite)Stores AI search data as a file on the current server. No separate DB server is required, making it suitable for typical installations. The default path is vectordb_local.
MilvusAn external vector DB used in environments with large amounts of data.
QdrantAn external vector DB for fast vector search. You need to set up a reachable server yourself — see Setting Up a Qdrant Server for details.

Data Path

When using the local (SQLite) driver, specify the path where data will be stored.

External Vector DB Connection Info

When you select an external vector DB driver like Milvus or Qdrant, fill in these additional fields. For Qdrant, you enter separate REST and gRPC endpoints.

Connection info fields shown when Qdrant is selected as the driver

ItemDescription
CollectionThe collection name to use, distinct per instance.
REST endpointThe external vector DB server's REST API address (Qdrant default: http://localhost:6333)
gRPC endpoint (Qdrant, recommended)The gRPC address of the same Qdrant instance as REST (default: http://localhost:6334). Search and vector storage use gRPC first. If left blank, 6334 is used automatically when the REST address is on port 6333; it falls back to REST if it can't connect.
API keyOnly fill this in if authentication is enabled on the external vector DB. The stored value shows masked on screen; saving it blank deletes it.

Initializing and Deleting the AI DB