Browse Source

f5.5

master
gsd 3 weeks ago
parent
commit
1f3145f47a
  1. 2
      other_ext/kamaz_ai.py

2
other_ext/kamaz_ai.py

@ -258,7 +258,7 @@ class Extension:
s = [] s = []
for ss in suggestions: for ss in suggestions:
#s.append(f'{ss["action"]} c вероятностью {ss["confidence"]}') #s.append(f'{ss["action"]} c вероятностью {ss["confidence"]}')
s.append(f'{round(ss["confidence"] * 100)}) {self.action_translate.get(ss["action"], ss["action"])}') s.append(f'{round(ss["confidence"] * 100)}%) {self.action_translate.get(ss["action"], ss["action"])}')
content = f'KamazAI решил что с этим репортом надо сделать: \n' + "\n".join(s) + "\nОцените решение камаза где :thumbsup: - норм или :thumbsdown: - не очень" content = f'KamazAI решил что с этим репортом надо сделать: \n' + "\n".join(s) + "\nОцените решение камаза где :thumbsup: - норм или :thumbsdown: - не очень"
response = await message.reply(content=content) response = await message.reply(content=content)

Loading…
Cancel
Save