Skip to content

Commit

Permalink
feat(guide): demo select local
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Sep 1, 2024
1 parent 2ec4599 commit f51c7d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion guide/guide_lib_explain.ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ file: "README.md"
- $if: "this.file === 'quit'"
then:
- user: "Thank you."
- assistant: "Good bye. It was a pleasure speaking with you. About the Programmable Prompt Engine(PPE) Language[[bye]]"
- 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]]"
# - -> $print(content=messages[messages.length-1].content)
- -> trans(lang, content=messages[messages.length-1].content) -> $ret
- $if: "this.file !== 'README.md'"
then:
Expand All @@ -26,4 +27,5 @@ file: "README.md"
- $if: "@input(inputType='confirm', content=question, memoized=false)"
then:
- -> translator(content="What do you want to know?", target=lang) -> input(memoized=false)
# call guide.ai.yaml lib to return main entry point
- $echo: "@guide"

0 comments on commit f51c7d0

Please sign in to comment.