# Slot templates

**URL:** <https://forum.rasa.com/t/slot-templates/21534>\
**Category:** Rasa Open Source\
**Created:** [November 21, 2019, 9:44am UTC](https://forum.rasa.com/t/slot-templates/21534 "2019-11-21T09:44:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keyofdeath](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/keyofdeath/32/6009_2.png) [@keyofdeath](https://forum.rasa.com/u/keyofdeath)\
**Post date:** [November 21, 2019, 9:44am UTC](https://forum.rasa.com/t/slot-templates/21534/1 "2019-11-21T09:44:53Z")

</div>

Hi all, I’m try to show more complex slots structure into a template For example if you want to show a slot into an utter you need to do this:

utter\_hello:

- text: ‘Hello {username}’

But now if my slot is more complex: user\_slot = {“name”: “bob”, “age”: 10}

How can i show his age and name with the user\_slot? I see the rasa/core/nlg/interpolator.py functions maybe i just need to overwrite this function ?

---

<div class="post-metadata">

**Author:** ![Krogsager](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/krogsager/32/95_2.png) [@Krogsager](https://forum.rasa.com/u/Krogsager)\
**Post date:** [November 21, 2019, 9:47am UTC](https://forum.rasa.com/t/slot-templates/21534/2 "2019-11-21T09:47:54Z")

</div>

Why not just make individual slots for age and name?

---

<div class="post-metadata">

**Author:** ![keyofdeath](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/keyofdeath/32/6009_2.png) [@keyofdeath](https://forum.rasa.com/u/keyofdeath)\
**Post date:** [November 21, 2019, 9:51am UTC](https://forum.rasa.com/t/slot-templates/21534/3 "2019-11-21T09:51:10Z")

</div>

@Krogsager Yes it’s true. But for my final use this slot can only set this way XD
