|
|
@@ -927,10 +927,10 @@ def route_tables(knowledge_types):
|
|
|
评估是统一一套(同一 llm_evaluation blob),故同帖落多表不重复打分,只是多写一行。"""
|
|
|
kt = set(knowledge_types or [])
|
|
|
tables = []
|
|
|
- if (kt & {"工序", "能力"}) or not kt:
|
|
|
- tables.append("search_process")
|
|
|
if kt & {"工具"}:
|
|
|
tables.append("search_tools")
|
|
|
+ if (kt & {"工序", "能力"}) or not tables: # 工序/能力,或没命中任何已知标签 → 兜底 process
|
|
|
+ tables.insert(0, "search_process")
|
|
|
return tables
|
|
|
|
|
|
|