swanson.
08/17/2025, 8:13 PM0.204.0) does not seem to support the β.items()β jinja builtin filter. When I add this in to my baml function prompt such that I can iterate over the dictionary k:v, it seems to throw that it is an unknown method. I was curious if this is expected or if this might be a bug?β¨
Error occurred while rendering prompt: unknown method: map has no method named items (in prompt:16)
----------------------------------- prompt ------------------------------------
13 | {% for note in evaluation.feedback %}- {{ note }}
14 | {% endfor %}
15 |
16 > {% for rating, needs_work in evaluation.ratings.items() %}- {{ rating }}: {{ needs_work }}
i ^^^^^^^^ unknown method
17 | {% endfor %}
18 |
19 | </feedback>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Vaibhav (BAML π)
08/17/2025, 10:11 PMVaibhav (BAML π)
08/17/2025, 10:11 PMVaibhav (BAML π)
08/17/2025, 10:11 PMswanson.
08/17/2025, 11:47 PM