flaviostutz / flaviostutz/co-coder
Add ability to execute Python code created by the model to complete tasks
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Problem being solved
Some tasks are too complex to be completed by the model itself and it might decide to create a python algorithm to complete it as it can use specialised libraries for the task etc. So the model might generate a Python code and we need to execute it.
## Proposal
Create an output structure specialised for Python code that the model would output in order to complete the desired task. When detecting this structure in output, run the code locally. It should have declared all the dependencies so we can install them automatically before running the code in it's own virtual python environment.
Contributor guide
Assessment
This issue has not been assessed yet.