MCPcopy
hub / github.com/1Panel-dev/MaxKB / exportMulDocumentZip

Function exportMulDocumentZip

ui/src/api/system-shared/document.ts:219–227  ·  view source on GitHub ↗
(document_name, knowledge_id, document_ids, loading)

Source from the content-addressed store, hash-verified

217 document_ids: string[],
218 loading?: Ref<boolean>,
219) => Promise<any> = (document_name, knowledge_id, document_ids, loading) => {
220 return exportFilePost(
221 document_name.trim() + '.zip',
222 `${prefix}/${knowledge_id}/document/batch_export_zip`,
223 {},
224 document_ids,
225 loading,
226 )
227}
228/**
229 * 刷新文档向量库
230 * @param 参数

Callers

nothing calls this directly

Calls 1

exportFilePostFunction · 0.90

Tested by

no test coverage detected