mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 08:06:48 +08:00
### What problem does this PR solve? feat(search): Added app embedding functionality and optimized search page #3221 - Added an Embed App button and related functionality - Optimized the layout and interaction of the search settings interface - Adjusted the search result display method - Refactored some code to support new features ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -38,6 +38,7 @@ const {
|
||||
listTagByKnowledgeIds,
|
||||
setMeta,
|
||||
getMeta,
|
||||
retrievalTestShare,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -164,6 +165,10 @@ const methods = {
|
||||
url: getMeta,
|
||||
method: 'get',
|
||||
},
|
||||
retrievalTestShare: {
|
||||
url: retrievalTestShare,
|
||||
method: 'post',
|
||||
},
|
||||
};
|
||||
|
||||
const kbService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
@ -8,6 +8,10 @@ const {
|
||||
deleteSearch,
|
||||
getSearchDetail,
|
||||
updateSearchSetting,
|
||||
askShare,
|
||||
mindmapShare,
|
||||
getRelatedQuestionsShare,
|
||||
getSearchDetailShare,
|
||||
} = api;
|
||||
const methods = {
|
||||
createSearch: {
|
||||
@ -27,6 +31,23 @@ const methods = {
|
||||
url: updateSearchSetting,
|
||||
method: 'post',
|
||||
},
|
||||
askShare: {
|
||||
url: askShare,
|
||||
method: 'post',
|
||||
},
|
||||
mindmapShare: {
|
||||
url: mindmapShare,
|
||||
method: 'post',
|
||||
},
|
||||
getRelatedQuestionsShare: {
|
||||
url: getRelatedQuestionsShare,
|
||||
method: 'post',
|
||||
},
|
||||
|
||||
getSearchDetailShare: {
|
||||
url: getSearchDetailShare,
|
||||
method: 'get',
|
||||
},
|
||||
} as const;
|
||||
const searchService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user