mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: rename conversation and delete conversation and preview reference image and fetch file thumbnails (#79)
* feat: fetch file thumbnails * feat: preview reference image * feat: delete conversation * feat: rename conversation
This commit is contained in:
@ -11,6 +11,7 @@ const {
|
||||
setConversation,
|
||||
completeConversation,
|
||||
listConversation,
|
||||
removeConversation,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -46,6 +47,10 @@ const methods = {
|
||||
url: completeConversation,
|
||||
method: 'post',
|
||||
},
|
||||
removeConversation: {
|
||||
url: removeConversation,
|
||||
method: 'post',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const chatService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
@ -13,6 +13,7 @@ const {
|
||||
document_rm,
|
||||
document_create,
|
||||
document_change_parser,
|
||||
document_thumbnails,
|
||||
chunk_list,
|
||||
create_chunk,
|
||||
set_chunk,
|
||||
@ -75,6 +76,10 @@ const methods = {
|
||||
url: document_change_parser,
|
||||
method: 'post',
|
||||
},
|
||||
document_thumbnails: {
|
||||
url: document_thumbnails,
|
||||
method: 'get',
|
||||
},
|
||||
// chunk管理
|
||||
chunk_list: {
|
||||
url: chunk_list,
|
||||
|
||||
Reference in New Issue
Block a user