https://www.boundaryml.com logo
🟑 Unpacking a map in prompt body in a function
# questions
g
Hi everyone! Wondering is there anyway to unpack a map in the prompt body in the function? Like the given a map, I cannot do {% for k, v in map.items()%}, anyway to work around?
v
Sadly it’s jinja so you need to do | instead of .
2 Views