Generate a list using chat models #188
Unanswered
abhinavdayal
asked this question in
Q&A
Replies: 1 comment
-
{{gen 'ingredients' n=5 temperature=0 max_tokens=500}} From gen notebook: n keyword argument out = guidance("""This is a sentence about {{gen 'text' n=5 max_tokens=5 temperature=1.0}}""")() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a need to output a list of items from a text (for example list of ingredients from a recipe text) using the ChatGPT model.
How can I use guidance template to specify return the items as a list. Currently it gives me a single text snippet for all ingredients.
Beta Was this translation helpful? Give feedback.
All reactions