v1.2.0
What's Changed
New DemoGPT Pipeline
The architecture has been updated to include the following steps:
- Generates plan from the instruction: The new pipeline starts by generating a plan based on the given instruction.
- Generates tasks from the plan and instruction: Tasks are then generated from the plan and instruction, providing a clear roadmap for the code.
- Transfers tasks into code snippets: The tasks are converted into code snippets, making the development process more modular.
- Combines code snippets into a final code: Finally, the code snippets are combined to create the final code, streamlining the entire process.
Additional Changes
- Model Selection: Users can now select models, providing more flexibility and customization.
- Bug Fixes: Several bugs have been resolved on Windows OS, enhancing the stability and performance on this platform.
Future Release Preview
In the future release, all the steps will be under control with a self-refining strategy where the model refines its own response for each step. Additionally, all the successfully generated steps will be put into a database. This means that next time, similar ones will be selected, eliminating the need to refine redundantly. This will lead to more efficient code generation and a more streamlined process.
Installation and Usage
For the current version, the installation remains the same. You can install DemoGPT using the following command:
pip install demogpt
Running the Current Version
To run the current version, simply use the demogpt command:
demogpt
Running the Previous Version
If you want to run the previous version, you can do so by using the --basic flag:
demogpt --basic