add prompt templates as j2 templates

This commit is contained in:
Michael Yang
2023-06-27 15:46:05 -07:00
parent ce7fe42345
commit dd4448f787
16 changed files with 194 additions and 440 deletions

View File

@@ -69,6 +69,7 @@ def generate_oneshot(*args, **kwargs):
if len(choices) > 0:
print(choices[0].get("text", ""), end="", flush=True)
# end with a new line
print()