mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-08 08:28:02 +08:00
refa: simplify RAPTOR tree clustering and configuration (#17614)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user