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

Function exportKnowledgeBundle

ui/src/api/knowledge/knowledge.ts:509–514  ·  view source on GitHub ↗
(knowledge_name, knowledge_id, with_source_file, loading)

Source from the content-addressed store, hash-verified

507 with_source_file: boolean,
508 loading?: Ref<boolean>
509) => Promise<any> = (knowledge_name, knowledge_id, with_source_file, loading) => {
510 return exportFile(
511 knowledge_name + '.zip',
512 `${prefix.value}/${knowledge_id}/export_knowledge`, {with_source_file: with_source_file}, loading
513 )
514}
515
516/**
517 * 导入知识库

Callers

nothing calls this directly

Calls 1

exportFileFunction · 0.90

Tested by

no test coverage detected