-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(example): add resolve-math-problem
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |