|
@@ -15,9 +15,9 @@ export const chatMessages = (params = {}) => get('/router/rest/chat/messages', p
|
|
|
|
|
|
|
|
export const baseTraining = (params = {}) => get('/router/rest/knowledge/base/training/page', params)
|
|
export const baseTraining = (params = {}) => get('/router/rest/knowledge/base/training/page', params)
|
|
|
|
|
|
|
|
-export const creatTraining = (data = {}) => post('/router/rest/knowledge/base/training', data)
|
|
|
|
|
|
|
+export const creatTraining = (data = {}) => post('/router/rest/knowledge/base/training', data,{ timeout: 90000 })
|
|
|
|
|
|
|
|
-export const baseStatistics = (params = {}) => get('/router/rest/knowledge/base/statistics', params)
|
|
|
|
|
|
|
+export const baseStatistics = (params = {}) => get('/router/rest/knowledge/base/statistics', params,{ timeout: 90000 })
|
|
|
|
|
|
|
|
export const getAllChunks = (params = {}) => get('/router/rest/knowledge/chunk/getAllChunks', params)
|
|
export const getAllChunks = (params = {}) => get('/router/rest/knowledge/chunk/getAllChunks', params)
|
|
|
|
|
|