- code_generator.py: A gpt-based code generator to create source-code fragments using kotlin & jetpack compose for pre-defined scenarios
- You need a Azure OpenAI Key and Access to the Azure OpenAI Studio
-
Create a .env file in the project root. See .env.sample
- Important: set the AZURE_OPENAI_* environment variables!
-
Install Python (>3.10), create virtual environment (venv) and activate it
-
Install the necessary python libraries
pip install -r requirements.txt
or install the libraries manually:
pip install python-dotenv
pip install openai
pip install tqdm
pip freeze > requirements.txt
- code_generator.py: run
python code_generator.py