feat(server): add workbench API, DSH planner worker and RAG pipeline
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user