AutoGPT
AutoGPT copied to clipboard
Calculate [expression] command / plugin
Duplicates
- [X] I have searched the existing issues
Summary 💡
For the time being, any time an agent needs to compute a calculation it needs to resort to CLI tools (which may be disabled) or to writing/executing custom Python code.
Given that calculations are such a common/useful thing, it would probably make sense to come up with a dedicated plugin that adds a "do_calculation" command, based on handing that to a Python library like SymPy/
Examples 🌈
No response
Motivation 🔦
get rid of having to write custom python code or having to invoke platform specific CLI tools that may not be accessible for some users.
Plugin candidate, once the dust settles with #3652 Related: https://github.com/Significant-Gravitas/Auto-GPT-Plugins/pull/86
Not sure about this one, but I do think it brings up a good point about Inversion of Control. The commands written for this repository should be loosely coupled, so they can be hotswapped with other implementations.
on any *nix platform, there is zero problem obviously, because you inevitably have got access to stuff like bc and friends. But this being a cross-platform project ...
Added this to discussion #3856
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
This issue was closed automatically because it has been stale for 10 days with no activity.