feat(server): add workbench API, DSH planner worker and RAG pipeline

This commit is contained in:
yi
2026-09-16 19:06:20 +08:00
parent 72fc5b47c7
commit d4b5b3f43a
122 changed files with 31906 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
"""M2: 删除损坏的 kb_3 collection(服务器已停,无并发)"""
import sys
sys.path.insert(0, r'C:\Users\xinmiclaw\Desktop\雅文内容创造工作台\server')
from app.rag import store
print("删除前 count:", store.count(3))
store.reset_kb(3)
print("已删除 kb_3 collection")
try:
print("删除后 count:", store.count(3))
except Exception as e:
print("删除后 count 异常(应为重建空 collection):", e)