有人了解 mattermost 机器人吗?智能一些的

2022-02-26 15:15:15 +08:00
 szxczyc

背景:在公司会做一段时间的内部工具的客服,假如有什么问题会通过 mattermost 咨询。 同样的问题问的人很多,如果有机器人的话会很好的降低工作量。

在 github 上搜到的机器人都是一些针对关键词的固定回复,假如要根据提问者发送的图片或者报错信息作特定回复的话,感觉会很困难。

希望能有比较智能一些的机器人,有人了解这方面的开源软件或者工具吗?

https://github.com/LPgenerator/mattermost_bot

import re

from mattermost_bot.bot import listen_to
from mattermost_bot.bot import respond_to


@respond_to('hi', re.IGNORECASE)
def hi(message):
    message.reply('I can understand hi or HI!')


@respond_to('I love you')
def love(message):
    message.reply('I love you too!')


@listen_to('Can someone help me?')
def help_me(message):
    # Message is replied to the sender (prefixed with @user)
    message.reply('Yes, I can!')

    # Message is sent on the channel
    # message.send('I can help everybody!')
803 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/836579

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX