feat: add docx max pages env config

This commit is contained in:
Windfarer
2026-04-02 10:04:44 +08:00
committed by lyingbug
parent 3756c7c796
commit 54da98fc24
3 changed files with 14 additions and 3 deletions
+4
View File
@@ -291,6 +291,10 @@ DOCREADER_ADDR=docreader:50051
# Docreader 连接方式
DOCREADER_TRANSPORT=grpc
# Docreader 中 DOCX 解析的最大页数,默认 100
# 用于限制超大 Word 文档的解析开销;超过页数的内容将不会继续解析
# DOCREADER_DOCX_MAX_PAGES=100
# 如果使用Weaviate作为向量存储,需要配置以下参数
# 注意:容器内访问请使用 service:port(不要用 localhost,也不要用宿主机映射端口)
# Weaviate HTTP 地址(Docker 内:weaviate:8080;宿主机访问:localhost:9035)