Closed m-c-frank closed 9 months ago
.
This is a GitHub Action workflow that can be used to process an issue labeled "apimesh" using an AI language model. The workflow will check out the repository, setup Python, install Python dependencies, fetch the issue data, run an apimesh Python script, and post an AI response as a comment.
To use this workflow, you will need to set up an environment variable with your OpenAI API key. This can be done in the repository's Secrets tab in the GitHub settings.
Once the workflow is set up, you can simply label an issue with "apimesh" and the workflow will be triggered. The AI response will then be posted as a comment on the issue.
Note that the Python script has to be included in the repository for the workflow to run correctly.
For further customization, you can adjust the temperature of the language model in the script (default is 0.7) and modify the prompt template as needed.
used the comment as the basis for the new README.md
this is the workflow
this is the python script: