mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 15:36:50 +08:00
### What problem does this PR solve? Feat: Allow chat to use meta data #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -37,6 +37,7 @@ const {
|
||||
upload_and_parse,
|
||||
listTagByKnowledgeIds,
|
||||
setMeta,
|
||||
getMeta,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -159,6 +160,10 @@ const methods = {
|
||||
url: api.get_dataset_filter,
|
||||
method: 'post',
|
||||
},
|
||||
getMeta: {
|
||||
url: getMeta,
|
||||
method: 'get',
|
||||
},
|
||||
};
|
||||
|
||||
const kbService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user