Sync INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH between API and Web (#11230)

This commit is contained in:
Hiroshi Fujita
2024-12-02 16:29:25 +09:00
committed by GitHub
parent f8c966c39c
commit 1d8385f7ac
29 changed files with 51 additions and 40 deletions

View File

@@ -175,6 +175,7 @@ export type ProcessMode = 'automatic' | 'custom'
export type ProcessRuleResponse = {
mode: ProcessMode
rules: Rules
limits: Limits
}
export type Rules = {
@@ -182,6 +183,10 @@ export type Rules = {
segmentation: Segmentation
}
export type Limits = {
indexing_max_segmentation_tokens_length: number
}
export type PreProcessingRule = {
id: string
enabled: boolean