Project allowing to self-correct a code generated or imported in python, the software create an environment according to the libraries you use automatically and try to run your script, if there is an error then the error is integrated into an LLM which will find, correct and return the corrected code.
Run the start-app.bat and it will automatically install the application.
=> You need to install Ollama here : https://ollama.com/
=> You need to install Python 3.11.7 here : https://www.python.org/downloads/release/python-3117/
=> You need to install Npm here : https://nodejs.org/en/download/prebuilt-installer
1-/ Choose the model you want to use and you have downloaded
2-/ Choose a code language
3-/ Enter the prompt you want to generate the code
4-/ Some code like python and javascript can be run and create automatically an environment by installing the librairies to use in the code and if they are some errors the auto code correction algorithm will fix the code automatically
5-/ You can modify the code generated on the editor (don't forget to save your modification)
6-/ You can enter other prompt to modify the code generated
7-/ If you want a new topic, you click on 'New' button to start a new conversation and code generation
8-/ If you want to seen old code generated and conversation you can click on the selectbox history and click on the conversation you want to review (you can change the code language at the top of the page to have synthaxic coloring according to the generated code)
[If you want to modify a model and do some system instruction, you just have to click on the button that has a tools logo and follow instructions to create a specify model]