Note:
The Python script and test models for the paper ‘Model-Driven Smart Contract Generation Leveraging ChatGPT’ by Nenad Petrovic and Issam Al-Azzoni, submitted to the International Conference on Systems Engineering, 2023.
- Enter the OpenAI API key in Line 7.
- Can experiment with different model instances by changing the .sclang file in Line 15.
To run:
python generate_chatgpt_prompt.py