Select any python snippet and use the Generate Executable to convert that snippet into an executable piece of code.
Seeing a snippet work with data helps visualize how the data flows and what each line is doing.
To install all the required dependencies please run
pip install -r requirements.txt
This extension uses the power of LLMs and is currently working with the OPENAI models like gpt-4 and gpt-3.5-turbo. By default, we use the gpt-4-1106-preview or GPT-4-Turbo. You can change this around by setting an environment variable MODEL_NAME to another valid model from OpenAI. You would also have to set up the variable names OPENAI_KEY and OPENAI_ORG to valid authentication values which can be set up here https://platform.openai.com/api-keys
Select the snippet you want to make executable, right click and select Generate Executable, wait for a few seconds and the executable should be generated in the file ExeCode-Generation.py.