Sync INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH between API and Web (#11230)
This commit is contained in:
parent
f8c966c39c
commit
1d8385f7ac
29 changed files with 51 additions and 40 deletions
|
|
@ -406,6 +406,9 @@ class DocumentService:
|
|||
],
|
||||
"segmentation": {"delimiter": "\n", "max_tokens": 500, "chunk_overlap": 50},
|
||||
},
|
||||
"limits": {
|
||||
"indexing_max_segmentation_tokens_length": dify_config.INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH,
|
||||
},
|
||||
}
|
||||
|
||||
DOCUMENT_METADATA_SCHEMA = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue