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
commit 1d8385f7ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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