Hacker News (curated)new | past | comments | ask | show | jobs| show hidden

You just need to give an instruction something along the lines of "any initial calculation or derived value must be computed through the use of a $LANG program."

Pretty sure the LLMs could implement tax calculations better than the average accountant, were they given the rules.



In my experience agents will reach for numpy for any non trivial math without being instructed

It's the judgement of "trivial" where I find issues.

Most calculations are trivial.


It is also trivial to specify deterministic tool calling for all math

Exactly. That's why I specify it that way.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact | github