mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Metadata in documents for improve the prompt #3690 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -31,6 +31,7 @@ const {
|
||||
document_infos,
|
||||
upload_and_parse,
|
||||
listTagByKnowledgeIds,
|
||||
setMeta,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -55,7 +56,7 @@ const methods = {
|
||||
url: kb_list,
|
||||
method: 'get',
|
||||
},
|
||||
// 文件管理
|
||||
// document manager
|
||||
get_document_list: {
|
||||
url: get_document_list,
|
||||
method: 'get',
|
||||
@ -100,6 +101,10 @@ const methods = {
|
||||
url: document_infos,
|
||||
method: 'post',
|
||||
},
|
||||
setMeta: {
|
||||
url: setMeta,
|
||||
method: 'post',
|
||||
},
|
||||
// chunk管理
|
||||
chunk_list: {
|
||||
url: chunk_list,
|
||||
|
||||
Reference in New Issue
Block a user