mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-14 21:36:49 +08:00
feat(knowledge): 实现知识库上传功能并优化相关页面
- 新增上传到知识库的 API 接口和相关页面组件- 实现分段查看页面功能 - 优化文档详情页面布局和样式 - 调整知识库创建流程,支持直接上传至知识库
This commit is contained in:
@@ -286,3 +286,12 @@ export function mdIndex(params) {
|
||||
back: true
|
||||
})
|
||||
}
|
||||
|
||||
// 上传到知识库
|
||||
export function embedding(data) {
|
||||
return request({
|
||||
url: getUrl(`/datasetDocumentEx/split/embedding`),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user