doc: update for vdb settings

This commit is contained in:
Junyan Qin
2025-09-12 12:49:27 +08:00
parent f63666593e
commit 48d326246e
2 changed files with 36 additions and 0 deletions
+18
View File
@@ -94,4 +94,22 @@ system:
expire: 604800
# JWT secret key, a key will be automatically generated on first startup
secret: 'xxxx'
# Vector database configuration
vdb:
# The vector database to use
# Supported vector databases:
# - chroma (default, embedded vector database)
# - qdrant (external vector database, please configure below)
use: chroma
# Qdrant configuration
qdrant:
# Qdrant URL
url: ''
# Qdrant Host
host: localhost
# Qdrant Port
port: 6333
# Qdrant API Key
api_key: ''
```
+18
View File
@@ -94,4 +94,22 @@ system:
expire: 604800
# JWT 密钥,首次启动时会自动生成一个密钥
secret: 'xxxx'
# 向量数据库配置
vdb:
# 所使用的向量数据库
# 支持的向量数据库:
# - chroma(默认,嵌入式向量数据库)
# - qdrant(外部向量数据库,请在下方配置)
use: chroma
# Qdrant 配置
qdrant:
# Qdrant 的 URL
url: ''
# Qdrant 的 Host
host: localhost
# Qdrant 的 Port
port: 6333
# Qdrant 的 API Key
api_key: ''
```