# Return List of Slots and SlotSet at the same time

**URL:** <https://forum.rasa.com/t/return-list-of-slots-and-slotset-at-the-same-time/50012>\
**Category:** Rasa Open Source\
**Created:** [December 14, 2021, 2:06pm UTC](https://forum.rasa.com/t/return-list-of-slots-and-slotset-at-the-same-time/50012 "2021-12-14T14:06:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RodrigoLima](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@RodrigoLima](https://forum.rasa.com/u/RodrigoLima)\
**Post date:** [December 14, 2021, 2:45pm UTC](https://forum.rasa.com/t/return-list-of-slots-and-slotset-at-the-same-time/50012/2 "2021-12-14T14:45:29Z")

</div>

Ve se a resposta dada pelo Chris a um tópico parecido pode te ajudar

> [@How to solve delay in dispatcher.utter\_message in custom actions, at session start](http://forum.rasa.com/t/how-to-solve-delay-in-dispatcher-utter-message-in-custom-actions-at-session-start/49938):
>
> Hi All I created a new Action, which gets executed at starting of session. That action, sends welcome message by BOT, and then loads embeddings. But, i am observing that welcome message is coming later , after embeddings has been loaded, which is giving delay of 4-5secs Can anyone help me out, how to remove that delay or make sure welcome message is send asap as session starts, and in mean time user types, embedding will get loaded. NOTE: Welcome msg comes after " Finished running ‘action\_sess…

mas acho que para esta forma funcionar vc teria que declarar fora das classes um atributo para guardar o valor do slots\_mapped…

---

_[View the full topic](https://forum.rasa.com/t/return-list-of-slots-and-slotset-at-the-same-time/50012)._
