Commit 7d8afad2 by James Cammarata

Merge pull request #11750 from amenonsen/example-prompt

Fix incorrect example of vars_prompt
parents 49a66018 bb121212
...@@ -20,9 +20,12 @@ Here is a most basic example:: ...@@ -20,9 +20,12 @@ Here is a most basic example::
from: "camelot" from: "camelot"
vars_prompt: vars_prompt:
name: "what is your name?" - name: "name"
quest: "what is your quest?" prompt: "what is your name?"
favcolor: "what is your favorite color?" - name: "quest"
prompt: "what is your quest?"
- name: "favcolor"
prompt: "what is your favorite color?"
If you have a variable that changes infrequently, it might make sense to If you have a variable that changes infrequently, it might make sense to
provide a default value that can be overridden. This can be accomplished using provide a default value that can be overridden. This can be accomplished using
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment