Supports obtaining PDF documents from web pages (#1107)

### What problem does this PR solve?

Knowledge base management supports crawling information from web pages
and generating PDF documents

### Type of change
- [x] New Feature (Support document from web pages)
This commit is contained in:
Fakai Zhao
2024-06-11 10:45:19 +08:00
committed by GitHub
parent 68a698655a
commit 7eb69fe6d9
14 changed files with 336 additions and 17 deletions

View File

@ -26,6 +26,7 @@ const {
document_run,
get_document_file,
document_upload,
web_crawl,
} = api;
const methods = {
@ -87,6 +88,10 @@ const methods = {
url: document_upload,
method: 'post',
},
web_crawl: {
url: web_crawl,
method: 'post',
},
// chunk管理
chunk_list: {
url: chunk_list,