add seekdb settings (#75)

* Add seekdb configuration options

Added configuration options for seekdb in settings.

* Enhance seekdb config documentation in settings.md

Updated seekdb configuration with detailed comments in Chinese.

* Refactor seekdb settings in deployment documentation

Reformatted seekdb configuration for better clarity.

* Add seekdb configuration options to settings.md

Added configuration options for seekdb in settings.

* Add SeekDB settings to deployment documentation

Added SeekDB configuration options for embedded and server modes.
This commit is contained in:
huanghuoguoguo
2025-12-20 22:59:33 +08:00
committed by GitHub
parent 85ec20deb3
commit cb0b2783af
3 changed files with 44 additions and 2 deletions
+15 -1
View File
@@ -110,6 +110,7 @@ vdb:
# - qdrant(外部向量数据库,请在下方配置)
# - milvus(可扩展的向量数据库,请在下方配置)
# - pgvector(PostgreSQL 扩展,请在下方配置)
# - seekdb(提供内置嵌入模型的数据库,请在下方配置)
use: chroma
# Qdrant 配置
qdrant:
@@ -126,6 +127,19 @@ vdb:
database: 'langbot'
user: 'postgres'
password: 'postgres'
seekdb:
# 嵌入式模式('embedded' 或 'server')
mode: embedded
# 嵌入式模式配置:
path: './data/seekdb'
database: 'langbot'
# 服务器模式配置(当 mode='server' 时生效):
host: 'localhost'
port: 2881
user: 'root'
password: ''
# 可选,用于 OceanBase 多租户场景
tenant: ''
```
## 通过环境变量设置
@@ -141,4 +155,4 @@ config.yaml 中的配置可以通过环境变量进行设置。环境变量名
...
在启动时,LangBot 会读取所有环境变量,将对应的配置应用到 config.yaml 中并写入到 data/config.yaml 文件中。
在启动时,LangBot 会读取所有环境变量,将对应的配置应用到 config.yaml 中并写入到 data/config.yaml 文件中。