root 1 hete
szülő
commit
6e250451f2
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      ai-slibra-assistant/util/utils.py

+ 2 - 0
ai-slibra-assistant/util/utils.py

@@ -171,6 +171,8 @@ CREATE TABLE botrecords (
                                 intent = "未知意图"
                             if intent == "":
                                 intent = "用户未说话"
+                            if code in ["98.00", "1.30"] and intent=="others":
+                                intent = "未知意图"
                     elif code == "1.20":
                         tags = {"1": "1_停水咨询", "2":"1_漏水保修", "3":"1_户号查询","4":"1_水费查询", "5":"1_水价咨询","6":"1_水质水价保修", "7":"1_投诉建议", "0":"1_转人工"}
                         intent = tags.get(asr, "1_其他")