Using ChatGPT-3 and Power Automate to triage your bugs
*sings* "The ciiirrcccllleee of liifffeee......"

Using ChatGPT-3 and Power Automate to triage your bugs

I've been mulling over different use case experiments I can undertake with the ChatGPT-3 language model, and last night - lying in bed - I had a light-bulb moment.

What about giving ChatGPT-3 a first crack at triaging bugs we raise as a normal part of the software development lifecycle?

Thanks to awesome integration between Azure DevOps and Power Automate, I was able to set up the below Power Automate flow which triggers any time a new bug is raised:

No alt text provided for this image

The key for me was prefacing the bug notes with a natural language intro to help make the response suitable for posting back to Azure DevOps:

No alt text provided for this image

And the results are fairly impressive! Here's a bug I raised, and a few seconds later I get an update from ChatGPT-3 with some triage notes:

No alt text provided for this image

My bug description (which actually happened to me today)

Deploying an AWS SAM template via an Azure devops build pipeline failed with the following exception:?Unknown error executing command: Unable to cast object of type 'YamlDotNet.RepresentationModel.YamlScalarNode' to type 'YamlDotNet.RepresentationModel.YamlMappingNode'.

??at Amazon.Lambda.Tools.TemplateProcessor.YamlTemplateParser.UpdatableResources()+MoveNext() in C:\build\src\Amazon.Lambda.Tools\TemplateProcessor\YamlTemplateParser.cs:line 68

And my ChatGPT-3 analysis:

ChatGPT analysis: To investigate this error, I suggest examining the YAML template to determine which scalar nodes are being cast to YamlMappingNode. It might also be useful to look at the source code of the Amazon.Lambda.Tools.TemplateProcessor library to understand how it handles the YAML. Additionally, if the same error is generated when other YAML templates are deployed, it might be a good idea to check the version of the Amazon.Lambda.Tools.TemplateProcessor library that is being used.

It's not the worst advice! (It's also - possibly - no the best advice, but there's a lot of tweaking that could be done to improve this).

As always, feel free to leave comments and questions!

Irwin Williams

Head of Software Development at iGovTT

1 年

Is this using chatGPT or GPT3?

回复

Sorry, call me old fashioned, but l would rather use the tools we have now that have been tested and proven, and compare them against chatGPT-3 before l leave it to chatGPT-3. Of course we could initially use chatGPT as a level 1 triage.....

回复
Chris V.

Managing Director | Principal Consultant - Dynamics 365 & Power Platform Specialist | 0416 672 496

1 年
回复
Peter 'Dr Pete' Stanski

Thought Leader | Business Builder | Chief Technologist (CTO) | Ex-Amazon, Ex-Microsoft | ~20K+ Connections

1 年

Nice use case - impressive suggestions!

要查看或添加评论,请登录

社区洞察

其他会员也浏览了