Describe each file of a python project by asking a Generative AI model to generate a natural language explanation
- an OpenAI API Key and the relative environment variable OPENAI_API_KEY
pip install -r requirements.txt
streamlit run gui.py
You can choose to run a python GUI that allows you to select a local folder.
Choose a local folder:
Descriptions generated for each file:
The procedure does not recursively visit all the folders; you can exclude teh files and the folders you don't want to analyze by adding those names to the constants EXCLUDED_FOLDER_NAMES, EXCLUDED_FILENAMES