Skip to content

Commit

Permalink
feat(example): add demo howto the call the external agent script
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Aug 22, 2024
1 parent ccb4b81 commit ecb8013
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/call-translator.ai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
description: |-
call the translator
# Set the default value for the content and target input
content: "I love my motherland and my hometown."
target: "Chinese"

---
- "tell me a funny joke in English. Output the joke without any explanation."
- assistant: "[[thinking]]"
-> translator(target="中文")

0 comments on commit ecb8013

Please sign in to comment.