Skip to content

Commit

Permalink
Improve the Jinja example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
samsucik committed Mar 27, 2024
1 parent 8d83e64 commit 75a2a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ If the values in your column represent more complex objects such as Python dicti
you can still work with them. E.g. given a column `texts` with a value like `'["A", "B",
C"]'`, you can utilise this template to enumerate the individual list items in your prompt:
```jinja
{% for item in fromjson(texts) %}
{% for item in fromjson(texts) -%}
- {{ item }}
{% endfor %}
```
Expand Down

0 comments on commit 75a2a87

Please sign in to comment.