From 8fc16c6f29bd098598a03e8306788d9b3d2a60ba Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期二, 27 八月 2024 16:04:41 +0800 Subject: [PATCH] agent --- src/api/kbList.ts | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/api/kbList.ts b/src/api/kbList.ts index 79be0bb..d479996 100644 --- a/src/api/kbList.ts +++ b/src/api/kbList.ts @@ -117,6 +117,13 @@ }); } +// 鑾峰彇鐭ヨ瘑搴撶鐞嗛厤缃祵鍏ユā鍨� +export function getKnowledgeBaseModel(params) { + return axios.get('/api/v1/llm/my_llms', { + params, + }); +} + // 娴嬭瘯鎺ュ彛 export function kbretrievalTest(params) { return axios.post('/api/v1/chunk/retrieval_test', params); @@ -204,11 +211,21 @@ } +//鍚敤绂佺敤 +export function changeStatus(params) { + return axios.post('/api/v1/document/change_status', params); +} +export function achunkSet(params) { + return axios.post('/api/v1/chunk/set', params); +} +export function achunkGet(params) { + return axios.get('/api/v1/chunk/get', {params}); +} -- Gitblit v1.8.0