Buttons + Text + Image

Hi guys!

I’m using rasa shell to make some test and I think found something wrong when to use Buttons with image and text

responses:
  utter_greet:
  - image: https://i.imgur.com/nGF1K8f.jpg
    text: 'Here is something to cheer that will cheer you up...'
    buttons:
      - title: "👋"
        payload: "hi"

Rasa shell not showing buttons

Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input ->  hi
Buttons:
1: 👋 (hi)
Here is something to cheer that will cheer you up...
Image: https://i.imgur.com/nGF1K8f.jpg

Screen Shot 2022-05-23 at 22.12.07

  utter_greet:
  - buttons:
    - title: "👋"
      payload: "hi"
    text: "Here is something to cheer you up:"
    image: https://i.imgur.com/nGF1K8f.jpg

Screen Shot 2022-05-23 at 22.16.08

Rasa widget working fine. This problem just happen in rasa shell I’m not test in rasa X

I’m missing something or this not working in shell?

@ChrisRahme

Rasa Version      :         3.1.0
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.1.0
Rasa X Version    :         None
Python Version    :         3.8.12
Operating System  :         macOS-12.3.1-arm64-arm-64bit

I think you can open an issue on GitHub, but it should work fine on normal front-end tools like Rasa X

I created this thread on github

I made little test and working fine on rasa X too :smiley:

1 Like