Adding cardsCarousel

Hello Community,

I’m trying to add a simple carousel as an action to my code, but I can’t. Can you help me finding what I’m doing wrong?

Here is the code I am using in

class ActionHelloWorld(Action):
    def name(self) -> Text:
        return "action_hello_world"

    def run(self, dispatcher: CollectingDispatcher,
            tracker: Tracker,
            domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

            item["title"]='Service A'


            print(test_carousel, type(test_carousel))

            return []

Hi Fernando,

This looks like a custom payload. Are you using a channel that supports this type of payload?


Hi @stephens,

Actually, I’m not using any channel. Just trying to see it working through my Rasa X.

Do I need to set a channel in order to use a carousel?

Thanks in Advance

Rasa X doesn’t support carousel’s. You’ll need to use a channel that support carousels. I think the Facebook channel does this.

Thanks @stephens I will try to connect the Rasa X to Facebook channel.

It’s Rasa OSS that you’ll connect to Facebook. If you’re using the docker-compose setup, it’s the rasa-production container that you’ll be connecting to, not the rasa-x. Config details are here

Hi @stephens,

Can you help me with that issue?