(document_name, knowledge_id, document_ids, loading)
| 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 | * 刷新文档向量库 |
nothing calls this directly
no test coverage detected