Git Product home page Git Product logo

Comments (4)

sohlex avatar sohlex commented on September 27, 2024 1

Got it, thanks! 👍
Regarding this topic I see that there's also an open issue on Botkit: howdyai/botkit#694

I've updated the plugin, now we ignore all the messages coming from other bots (technically all the message with a defined bot_id).
I'll (try to) keep an eye on the issue that I referenced before, maybe there will be a cleaner solution.

Thank you very much for the detailed report!

from botkit-rasa.

sohlex avatar sohlex commented on September 27, 2024

Hi!
Can you help me replicate this issue? For which platform are you developing the bot? Slack?

from botkit-rasa.

fgr1986 avatar fgr1986 commented on September 27, 2024

Sure.
When accomplishing the mini-tutorial, https://rasa-nlu.readthedocs.io/en/latest/tutorial.html
After say 'hello' to the bot (you send this message to rasa through the request/hears functions) the bot reply is 'Hello!!!, tell me how can I help you'. This message is feedback from the slack web to the botkit-rasa handler, with a message like:

message { type: 'message',
  user: 'YYYY',
  text: 'Hello!!!, tell me how can I help you',
  bot_id: 'YYYY',
  team: 'YYYY',
  channel: 'YYYY',
  event_ts: 'YYYY',
  ts: 'YYYY' }

If not filtered, this message will be again processed by rasa.
As this message has the bot_id defined, we can filter it using

if( message.bot_id != null ){
        console.log('\t\t[own_debug]  bot response, not processing')
        next()
        return
      }

Regards

from botkit-rasa.

fgr1986 avatar fgr1986 commented on September 27, 2024

Thank you for your work.

from botkit-rasa.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.