Can't spare the time to peruse lengthy issue posts? Let this bot lend a hand by summarizing the current issue on your GitHub repository and posting a recap as a comment. It could save you time and boost productivity.
To use the bot, comment on an issue with the trigger phrase you define. You can also specify the minimum number of comments required on an issue before the bot activates.
If you don't change the template, by default the bot will be triggered when an issue with 5 or more comments receives a comment containing @flows_summarize.
- Create a bot from the template
- Add your OpenAI API key
- Configure the bot to summarize issues on a specified GitHub repo
You will need to bring your own OpenAI API key. If you do not already have one, sign up here.
You will also need to sign into flows.network using your GitHub account. It is free to join.
Review the trigger_phrase
and n_comments
variables.
trigger_phrase
is the magic words you type in a issue comment to manually activate the bot. The default is@flows_summarize
.n_comments
specifies the minimum number of comments required on an issue before the bot can activate. The default is5
.
Click on the Create and Build button.
You will now set up OpenAI integration. Click on Connect, enter your key and give it a name.
Once added, close the tab and return to flows.network. Click on Continue.
Next, you will tell the bot which GitHub repo it needs to monitor for issues to review.
github_owner
: The GitHub org that owns the repo you want to deploy the bot on.github_repo
: The specific repo you want the bot to monitor.
Name | Value |
---|---|
github_owner |
WasmEdge |
github_repo |
wasmedge_hyper_demo |
For example, to deploy this bot on the
WasmEdge/wasmedge_hyper_demo repo
, you'd setgithub_owner
toWasmEdge
andgithub_repo
towasmedge_hyper_demo
.
Click Connect or + Add new authentication button to grant flows.network access to the GitHub repo to deploy the 🤖.
Once done, close the popup window and return to the flow.network page. Click on Deploy.
This is it! You are now on the flow details page waiting for the flow function to build. As soon as the flow's status became running
, the bot is ready to summarize issues! It will be summoned by commenting trigger phrase on the issues.