diff --git a/src/api/customerService/account/index.ts b/src/api/customerService/account/index.ts index 4d652c2..e144f53 100644 --- a/src/api/customerService/account/index.ts +++ b/src/api/customerService/account/index.ts @@ -35,3 +35,21 @@ export function updateAccount(data: object) { data: data, }); } + +//获取RAGFlow配置(提示词) +export function getRAGFlowConfig(params: object) { + return newService({ + url: '/customerService/ragflow/config/get', + method: 'get', + params: params, + }); +} + +//更新提示词 +export function updatePrompt(data: object) { + return newService({ + url: '/customerService/ragflow/config/updatePrompt', + method: 'post', + data: data, + }); +} diff --git a/src/views/customerService/account/component/editAccount.vue b/src/views/customerService/account/component/editAccount.vue index cb56bbf..b1bcd63 100644 --- a/src/views/customerService/account/component/editAccount.vue +++ b/src/views/customerService/account/component/editAccount.vue @@ -3,10 +3,10 @@ - + - - + + @@ -21,6 +21,23 @@ + + + + + + +
+ 提示:留空将使用系统默认提示词模板,创建后也可通过"配置提示词"按钮修改 +
+
+
+
- +