azawadzka / Scripts

Various scripts
0 stars 0 forks source link

Improve prompting for the Calculator agent #7

Open azawadzka opened 2 months ago

azawadzka commented 2 months ago

Problems:

# Question: Calculate 4 * (5 + 5) / 20
# Steps:
# 1. 5 plus 5
# 2. 4 times value from step 1
# 3. 20 divided by value from step 2 # WRONG
# Question: Take 140 plus 4 and divide it by two three times, that minus 1
# Steps:
# 1. 140 plus 4
# 2. Divide value from step 1 by 2 # PHRASING
# 3. Divide value from step 2 by 2
# 4. Divide value from step 3 by 2
# 5. Value from step 4 minus 1