Feat: chunk overlap supported (#2209)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
KVOJJJin 2024-01-26 13:24:40 +08:00 committed by GitHub
commit 89fcf4ea7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 53 additions and 8 deletions

View file

@ -134,7 +134,8 @@ class DatasetProcessRule(db.Model):
],
'segmentation': {
'delimiter': '\n',
'max_tokens': 1000
'max_tokens': 500,
'chunk_overlap': 50
}
}