|
@@ -29,30 +29,30 @@ export type FetchAppIndexParams = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type CreateOrModifyApplicationApiParams = {
|
|
export type CreateOrModifyApplicationApiParams = {
|
|
|
- name: string,
|
|
|
|
|
- desc: string,
|
|
|
|
|
- prompt: string,
|
|
|
|
|
- temperature: number,
|
|
|
|
|
- top_p: number,
|
|
|
|
|
|
|
+ id: string,
|
|
|
|
|
+ name: string, //应用名称
|
|
|
|
|
+ desc: string, //应用描述
|
|
|
|
|
+ prompt: string, //应用提示语
|
|
|
|
|
+ top_p: string, //topP
|
|
|
|
|
+ temperature: string, //温度
|
|
|
knowledge_ids: string[],
|
|
knowledge_ids: string[],
|
|
|
- param_desc: string,
|
|
|
|
|
- max_token: number,
|
|
|
|
|
- knowledge_info: {
|
|
|
|
|
- model: string,
|
|
|
|
|
- knowledge_ids: string[],
|
|
|
|
|
- slice_config_type: string,
|
|
|
|
|
- recall_method: string,
|
|
|
|
|
- slice_count: number,
|
|
|
|
|
- rerank_status: number,
|
|
|
|
|
- rerank_model_name: string,
|
|
|
|
|
- show_recall_result: boolean,
|
|
|
|
|
- recall_slice_splicing_method: string,
|
|
|
|
|
- },
|
|
|
|
|
- questionList: [
|
|
|
|
|
- {
|
|
|
|
|
- question: string,
|
|
|
|
|
- }
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ slice_count: number,
|
|
|
|
|
+ model: string,
|
|
|
|
|
+ icon_color: string,
|
|
|
|
|
+ icon_type: string,
|
|
|
|
|
+ questionList: string[],
|
|
|
|
|
+ // knowledge_info: {
|
|
|
|
|
+ // model: string,
|
|
|
|
|
+ // knowledge_ids: string[],
|
|
|
|
|
+ // slice_config_type: string,
|
|
|
|
|
+ // recall_method: string,
|
|
|
|
|
+ // slice_count: number,
|
|
|
|
|
+ // rerank_status: number,
|
|
|
|
|
+ // rerank_model_name: string,
|
|
|
|
|
+ // show_recall_result: boolean,
|
|
|
|
|
+ // recall_slice_splicing_method: string,
|
|
|
|
|
+ // },
|
|
|
|
|
+ //questionList: string[]
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type FetchDocumentLibListApiParams = {
|
|
export type FetchDocumentLibListApiParams = {
|