Revert "Refa: Chats /chat API to RESTFul (#13871)" (#13877)

### What problem does this PR solve?

This reverts commit 1a608ac411.

### Type of change

- [x] Other (please describe):
This commit is contained in:
Liu An
2026-04-01 11:05:29 +08:00
committed by GitHub
parent 1a608ac411
commit b1d28b5898
52 changed files with 3584 additions and 2044 deletions

View File

@@ -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;
}