967 B
967 B
title, name, summary, description
| title | name | summary | description |
|---|---|---|---|
| RAG 知识库同步 | rag-sync | 同步知识库的流程已成功执行,增量同步未发现新内容。 | 用于同步知识库的流程,包括增量同步和全量重建。 |
Trigger Conditions
- The skill is triggered when the user says any of the following: "同步知识库", "更新知识库", "更新索引", "知识库有新文章", "wiki有更新", "rag sync".
Execution Steps
-
Incremental Sync (default):
- Run the command:
nohup /usr/local/bin/rag-sync >> /opt/rag/sync.log 2>&1 & - Wait 3 seconds, then check the log:
tail -5 /opt/rag/sync.log
- Run the command:
-
Full Rebuild (if explicitly requested):
- Run the command:
nohup /usr/local/bin/rag-sync --full >> /opt/rag/sync.log 2>&1 &
- Run the command:
-
Check Status:
- View the last 20 lines of the log:
tail -20 /opt/rag/sync.log
- View the last 20 lines of the log:
Rules
- The commands must be executed directly using the terminal tool.
- The commands must run in the background.