feat: Supports chatting with files/images #1880 (#1943)

### What problem does this PR solve?

feat: Supports chatting with files/images #1880

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-14 17:26:47 +08:00
committed by GitHub
parent 78ed8fe9a5
commit a3a5a9966f
17 changed files with 487 additions and 37 deletions

View File

@ -28,6 +28,7 @@ const {
document_upload,
web_crawl,
knowledge_graph,
document_infos,
} = api;
const methods = {
@ -93,6 +94,10 @@ const methods = {
url: web_crawl,
method: 'post',
},
document_infos: {
url: document_infos,
method: 'post',
},
// chunk管理
chunk_list: {
url: chunk_list,