allow to config max segmentation tokens length for RAG document using environment variable (#4375)

This commit is contained in:
Rain Chen
2024-05-20 13:20:27 +08:00
committed by GitHub
parent b5204111da
commit c255a20d7c
5 changed files with 21 additions and 4 deletions

View File

@@ -167,6 +167,8 @@ services:
# SSRF Proxy server
SSRF_PROXY_HTTP_URL: 'http://ssrf_proxy:3128'
SSRF_PROXY_HTTPS_URL: 'http://ssrf_proxy:3128'
# Indexing configuration
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH: 1000
depends_on:
- db
- redis
@@ -287,6 +289,8 @@ services:
NOTION_CLIENT_SECRET: you-client-secret
NOTION_CLIENT_ID: you-client-id
NOTION_INTERNAL_SECRET: you-internal-secret
# Indexing configuration
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH: 1000
depends_on:
- db
- redis