Generalizing the voyager to making any code.
Voyager: https://github.com/MineDojo/Voyager (https://arxiv.org/abs/2305.16291)
- User prompts the model for a task
- The model responds with a plan of action
- The user verifies that the plan is correct or modify the plan and repeat step 2.
- The model then creates a set of unit tests that could verify the plan and write comments for the location of code changes.
- The user then verifies the code change comments and the unit test to proceed with the code implementation.
- The model generates the code implementation and runs the unit tests.
- If the unit tests fail, then the model should generate a hypothesis of why it failed and generate a plan. Move to step 3.
- If the unit tests succeed, then adds any useful fuctions/skills to the skill library.