mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
Feature:memory function complete (#11982)
### What problem does this PR solve? memory function complete ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -11,6 +11,7 @@ const {
|
||||
getMemoryConfig,
|
||||
deleteMemoryMessage,
|
||||
getMessageContent,
|
||||
updateMessageState,
|
||||
// getMemoryDetailShare,
|
||||
} = api;
|
||||
const methods = {
|
||||
@ -29,6 +30,7 @@ const methods = {
|
||||
},
|
||||
deleteMemoryMessage: { url: deleteMemoryMessage, method: 'delete' },
|
||||
getMessageContent: { url: getMessageContent, method: 'get' },
|
||||
updateMessageState: { url: updateMessageState, method: 'put' },
|
||||
} as const;
|
||||
const memoryService = registerNextServer<keyof typeof methods>(methods);
|
||||
export const updateMemoryById = (id: string, data: any) => {
|
||||
|
||||
Reference in New Issue
Block a user