From 3ffa64648831ceade32fba83047d0e99ff92c990 Mon Sep 17 00:00:00 2001
From: 张涛 <“2538313560@qq.com”>
Date: 星期一, 18 十一月 2024 14:06:00 +0800
Subject: [PATCH] fix:改动

---
 src/api/kbList.ts |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/api/kbList.ts b/src/api/kbList.ts
index 54aac25..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,13 +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