Comments (14)
I changed the existing code in BotServerInputChannel
to use the new Flask blueprint code.
Here's my PR: #43
from chatroom.
Seems like Rasa Core's API has changed. Could you try agent.handle_channels([channel])
?
from chatroom.
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.
Is this also happening due to change in version? Is there a quick fix for this?
from chatroom.
You could try downgrading rasa_core
to 0.10.4
from chatroom.
which version of rasa_nlu that I should use?
from chatroom.
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.
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.
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.
I've written a fix for this that works with
rasa_core
0.11.5. It involves some changes inbot.py
andbot_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.
@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.
@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.
This working fine now.
Thank you very much @nicolepilsworth
from chatroom.
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)
- How to point to docker container? HOT 8
- How to use/configure this bot with RASA X?
- please update aws version with rasa merged part of chatroom HOT 3
- preserve spaces in the bot response
- Markdown support for iframe in Rasa dispatcher.utter_message
- Show Image and Text Together in a card HOT 5
- Upload a document HOT 1
- Changing Male Voice to Female voice HOT 1
- Change text language for welcome text HOT 2
- Unexpected end of JSON input HOT 1
- Unable to receive message from the slack app HOT 1
- changing the style of the widget HOT 2
- Minimal example for how to use this with rasa? HOT 3
- yarn install is throwing error HOT 2
- Hosted CSS - Is it correct? HOT 2
- Button payload is ending up as response HOT 1
- Function to Close Chatroom Widget
- speechSynthesis() without permission is no longer allowed - how to correctly deactivate? HOT 3
- How to Run it in React App?
- Type aliases can only be used in TypeScript files.ts(8008) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatroom.