V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
szxczyc
V2EX  ›  问与答

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

  •  
  •   szxczyc · 2022-02-26 15:15:15 +08:00 · 803 次点击
    这是一个创建于 856 天前的主题,其中的信息可能已经有所发展或是发生改变。

    背景:在公司会做一段时间的内部工具的客服,假如有什么问题会通过 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!')
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2792 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:48 · PVG 21:48 · LAX 06:48 · JFK 09:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.