Skip to content

Commit f51c7d0

Browse files
committed
feat(guide): demo select local
1 parent 2ec4599 commit f51c7d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

guide/guide_lib_explain.ai.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ file: "README.md"
1212
- $if: "this.file === 'quit'"
1313
then:
1414
- user: "Thank you."
15-
- assistant: "Good bye. It was a pleasure speaking with you. About the Programmable Prompt Engine(PPE) Language[[bye]]"
15+
- assistant: "[[Bye:|Good bye|Bye|Bye-bye:random]]. [[Greeting:|It was a pleasure speaking with you|Have a nice day|Have a wonderful day:random]]. About the Programmable Prompt Engine(PPE) Language[[info]]"
16+
# - -> $print(content=messages[messages.length-1].content)
1617
- -> trans(lang, content=messages[messages.length-1].content) -> $ret
1718
- $if: "this.file !== 'README.md'"
1819
then:
@@ -26,4 +27,5 @@ file: "README.md"
2627
- $if: "@input(inputType='confirm', content=question, memoized=false)"
2728
then:
2829
- -> translator(content="What do you want to know?", target=lang) -> input(memoized=false)
30+
# call guide.ai.yaml lib to return main entry point
2931
- $echo: "@guide"

0 commit comments

Comments
 (0)