This commit is contained in:
2026-05-11 15:23:34 +08:00
parent ed70a140a2
commit 547cbbb4a5
25 changed files with 721 additions and 332 deletions
@@ -119,6 +119,14 @@ class MaintenanceScriptService
'doc_name' => 'setup_opensearch.md',
'args_hint' => '无参数',
],
'reembed_chunks' => [
'name' => 'reembed_chunks',
'file' => 'reembed_chunks.php',
'label' => '重新生成向量',
'description' => '对 chunks 重新执行 embedding,支持 resume 与 --reset。',
'doc_name' => 'reembed_chunks.md',
'args_hint' => '--archive_uid=01... 或 --reset',
],
'reindex_opensearch' => [
'name' => 'reindex_opensearch',
'file' => 'reindex_opensearch.php',
@@ -127,14 +135,6 @@ class MaintenanceScriptService
'doc_name' => 'reindex_opensearch.md',
'args_hint' => '--archive_uid=01...',
],
'backfill_archive_content' => [
'name' => 'backfill_archive_content',
'file' => 'backfill_archive_content.php',
'label' => '回填 archive content',
'description' => '从 raw 或 chunks 回填 archives.content。',
'doc_name' => 'backfill_archive_content.md',
'args_hint' => '--archive_uid=01...',
],
'setup_admin_users' => [
'name' => 'setup_admin_users',
'file' => 'setup_admin_users.php',