refa: simplify RAPTOR tree clustering and configuration (#17614)

This commit is contained in:
buua436
2026-08-03 17:46:50 +08:00
committed by GitHub
parent e290a0d476
commit 3e7cfbe052
32 changed files with 318 additions and 1356 deletions

View File

@@ -13,7 +13,8 @@ export interface ICompilationTemplateSection {
export interface ICompilationTemplateRaptorConfig {
prompt?: string;
max_token?: number;
threshold?: number;
clustering_threshold?: number;
clustering_ratio?: number;
rechunk?: boolean;
}

View File

@@ -13,7 +13,8 @@ export interface ICompilationTemplateSectionRequest {
export interface ICompilationTemplateRaptorConfigRequest {
prompt?: string;
max_token?: number;
threshold?: number;
clustering_threshold?: number;
clustering_ratio?: number;
rechunk?: boolean;
}