-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and improve experience when using Jinja to iterate over objects D…
…ATANG-3679 (#14) * Add another Jinja function for parsing AST strings that aren't valid JSON strings * Show meaningful error message instead of breaking Prompterator when there are issues with usage of fromjson or fromAstString in Jinja templates * Format code * Add brief documentation in README for using Jinja templates in prompts * Improve the Jinja example in README * Further improve the Jinja templating documentation * Fix reading of backslash-escaped stuff from CSV files * Improve Jinja docs in README * Improve naming and remove useless arg * Simplify Jinja-related docs and add some general usage tips
- Loading branch information
Showing
3 changed files
with
86 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters