Giter Site home page Giter Site logo

Comments (14)

nicolepilsworth avatar nicolepilsworth commented on August 22, 2024 1

I changed the existing code in BotServerInputChannel to use the new Flask blueprint code.

Here's my PR: #43

from chatroom.

normanrz avatar normanrz commented on August 22, 2024

Seems like Rasa Core's API has changed. Could you try agent.handle_channels([channel])?

from chatroom.

dbhadore avatar dbhadore commented on August 22, 2024

Yes. tried that.
Now getting kages\rasa_core\channels\channel.py", line 90, in blueprint
"Component listener needs to provide blueprint.")
NotImplementedError: Component listener needs to provide blueprint.

from chatroom.

dbhadore avatar dbhadore commented on August 22, 2024

Is this also happening due to change in version? Is there a quick fix for this?

from chatroom.

normanrz avatar normanrz commented on August 22, 2024

You could try downgrading rasa_core to 0.10.4

from chatroom.

quarksys avatar quarksys commented on August 22, 2024

which version of rasa_nlu that I should use?

from chatroom.

darkblueorange avatar darkblueorange commented on August 22, 2024

Latest version of rasa_nlu (0.13.2 for me) can work, indeed for rasa_core you cannot go over 0.10.4 as handle_channel() does not exist anymore with the actual release.

from chatroom.

hotzenklotz avatar hotzenklotz commented on August 22, 2024

Rasa has changed their Core APIs quite significantly for input channels. We will update the chatroom to use the new Rasa Core SDK within the next two weeks.

from chatroom.

nicolepilsworth avatar nicolepilsworth commented on August 22, 2024

I've written a fix for this that works with rasa_core 0.11.5. It involves some changes in bot.py and bot_server_channel.py. I could open a pull request for this if it's easier?

from chatroom.

PravinrajV avatar PravinrajV commented on August 22, 2024

I've written a fix for this that works with rasa_core 0.11.5. It involves some changes in bot.py and bot_server_channel.py. I could open a pull request for this if it's easier?

I am facing the same issue.
Would you please post the fix here .

from chatroom.

hotzenklotz avatar hotzenklotz commented on August 22, 2024

@nicolepilsworth Feel free to open a PR. We will take a look :-)

Did you upgrade the bot integration to use the new REST channel?

from chatroom.

PravinrajV avatar PravinrajV commented on August 22, 2024

@nicolepilsworth I get the below error when I type in the chatroom:

09-25 09:16:00] "GET /webhooks/chatroom/conversations/0fd18a6d-e802-47c1-a24c-75
he=1537881360245 HTTP/1.1" 200 183 0.000977
INFO     root  - []
ERROR    flask.app  - Exception on /webhooks/chatroom/conversations/0fd18a6d-e80
59e1/say [GET]
nt call last):
iles\Python35\lib\site-packages\flask\app.py", line 2292, in wsgi_app
full_dispatch_request()
iles\Python35\lib\site-packages\flask\app.py", line 1815, in full_dispatch_reque

_user_exception(e)
iles\Python35\lib\site-packages\flask\app.py", line 1718, in handle_user_excepti

, exc_value, tb)
iles\Python35\lib\site-packages\flask\_compat.py", line 35, in reraise

iles\Python35\lib\site-packages\flask\app.py", line 1813, in full_dispatch_reque

ch_request()
iles\Python35\lib\site-packages\flask\app.py", line 1799, in dispatch_request
_functions[rule.endpoint](**req.view_args)
atbot\Uibot\rasa_utils\bot_server_channel.py", line 182, in say
age(
ServerInputChannel' object has no attribute 'on_new_message'

from chatroom.

PravinrajV avatar PravinrajV commented on August 22, 2024

This working fine now.
Thank you very much @nicolepilsworth

from chatroom.

hotzenklotz avatar hotzenklotz commented on August 22, 2024

PR #43 has been merged so I am closing this issues. The chatroom should now be compatible with Rasa Core 0.11.5+.

from chatroom.

Related Issues (20)

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.