mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
merge main
This commit is contained in:
@ -177,6 +177,7 @@ export type ParentMode = 'full-doc' | 'paragraph'
|
||||
export type ProcessRuleResponse = {
|
||||
mode: ProcessMode
|
||||
rules: Rules
|
||||
limits: Limits
|
||||
}
|
||||
|
||||
export type Rules = {
|
||||
@ -186,6 +187,10 @@ export type Rules = {
|
||||
subchunk_segmentation: Segmentation
|
||||
}
|
||||
|
||||
export type Limits = {
|
||||
indexing_max_segmentation_tokens_length: number
|
||||
}
|
||||
|
||||
export type PreProcessingRule = {
|
||||
id: string
|
||||
enabled: boolean
|
||||
@ -330,7 +335,6 @@ export type NotionPage = {
|
||||
}
|
||||
|
||||
export type ProcessRule = {
|
||||
processRule: { pre_processing_rules: PreProcessingRule[]; segmentation: { separator: string; max_tokens: number; chunk_overlap: number } }
|
||||
mode: string
|
||||
rules: Rules
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user