This commit is contained in:
2026-03-24 18:07:22 +08:00
parent e062368ef2
commit 9a16f738d8
121 changed files with 8904 additions and 3940 deletions
+11 -2
View File
@@ -1,10 +1,19 @@
from services.ragflow_sync import RagflowSync
from pathlib import Path
import sys
PROJECT_ROOT = Path(__file__).resolve().parent.parent
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))
from services.integrations.ragflow_sync import RagflowSync
def main():
syncer = RagflowSync()
syncer.sync_sql_gen_prompts()
result = syncer.sync_sql_gen_prompts()
print("SQL 生成提示词同步完成")
print(result)
if __name__ == "__main__":