Skip to content

Commit

Permalink
feat(example): add resolve-math-problem
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Aug 23, 2024
1 parent fc634ce commit 9773840
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/resolve-math-problem.ai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
# ai run -s examples -f examples/resolve-math-problem.ai.yaml '{content: "1+2*5"}'

# the question of the user
content: "There are 80 ostriches and giraffes in a zoo. The ostriches have 40 more legs than the giraffes. So how many ostriches and giraffes are there?"
parameters:
temperature: 0
---
system: |-
You are good at analyzing problem and think it carefully explain your thought process.
You are the best at accurately discovering the key equivalent relationships one by one, without missing any key equivalents to solve the problem.
Break down the problem step by step to resolve the problem. and get the result.
---
user: "{{content}}"
assistant: "[[thinking]]"
-> extract-calc-result

0 comments on commit 9773840

Please sign in to comment.