mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-11 06:05:45 +08:00
### What problem does this PR solve?
This reverts commit 1a608ac411.
### Type of change
- [x] Other (please describe):
This commit is contained in:
@@ -14,7 +14,6 @@ export interface PromptConfig {
|
||||
reasoning?: boolean;
|
||||
cross_languages?: Array<string>;
|
||||
tavily_api_key?: string;
|
||||
toc_enhance?: boolean;
|
||||
}
|
||||
|
||||
export interface Parameter {
|
||||
@@ -35,8 +34,8 @@ export interface Variable {
|
||||
presence_penalty?: number;
|
||||
temperature?: number;
|
||||
top_p?: number;
|
||||
llm_id?: string;
|
||||
tenant_llm_id?: string;
|
||||
model_type?: string;
|
||||
}
|
||||
|
||||
export interface IDialog {
|
||||
@@ -45,14 +44,14 @@ export interface IDialog {
|
||||
description: string;
|
||||
icon: string;
|
||||
id: string;
|
||||
dialog_id?: string;
|
||||
dataset_ids: string[];
|
||||
dialog_id: string;
|
||||
kb_ids: string[];
|
||||
kb_names: string[];
|
||||
language: string;
|
||||
llm_id: string;
|
||||
tenant_llm_id?: string;
|
||||
llm_setting: Variable;
|
||||
llm_setting_type?: string;
|
||||
llm_setting_type: string;
|
||||
name: string;
|
||||
prompt_config: PromptConfig;
|
||||
prompt_type: string;
|
||||
@@ -64,7 +63,6 @@ export interface IDialog {
|
||||
similarity_threshold: number;
|
||||
top_k: number;
|
||||
top_n: number;
|
||||
rerank_id?: string;
|
||||
meta_data_filter: MetaDataFilter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user