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

Function exportMulDocumentZip

ui/src/api/knowledge/document.ts:227–235  ·  view source on GitHub ↗
(document_name, knowledge_id, document_ids, loading)

Source from the content-addressed store, hash-verified

225 document_ids: string[],
226 loading?: Ref<boolean>,
227) => Promise<any> = (document_name, knowledge_id, document_ids, loading) => {
228 return exportFilePost(
229 document_name.trim() + '.zip',
230 `${prefix.value}/${knowledge_id}/document/batch_export_zip`,
231 {},
232 document_ids,
233 loading,
234 )
235}
236
237/**
238 * 刷新文档向量库

Callers

nothing calls this directly

Calls 1

exportFilePostFunction · 0.90

Tested by

no test coverage detected