Forum Discussion
Using GitHub Copilot for Microsoft 365 PowerShell Development
GitHub Copilot costs $10/month. At that price level, anyone working with PowerShell should try out the AI assistance to see if it helps. But will GitHub Copilot work well with Microsoft 365 PowerShell modules like Exchange Online and the Microsoft Graph PowerShell SDK. That's what we tested and report on here.
- KingsleyUBrass Contributor
It's great to see how much exploration you have taken in determining the responsiveness of CoPilot for Microsoft 365 in code generation tasks. However, writing prompts to elicit responses from a trained LLM require several techniques depending on the task as some LLM might not have been well trained to handle some task, hence the need to adopt the prompting techniques that fits your task.
Prompt techniques such as chain of thought, and tree of thought are good for managing a bit more complex task than generating comments or write-host "hello world" kind of code.
https://www.promptingguide.ai/
In addition, sometimes, it might be helpful to write system and assistant instructions with few shot examples to guide the LLM responses for a series of similar task.
However, though I doubt whether prompts are used in any way to train CoPilot for Microsoft 365, so it is expected that CoPilot responses will improve overtime. In summary, it might suffices to say that $10/month is too much or less but that depends on the user's use cases.
Thanks
- You realize we're discussing a completely different product? GitHub Copilot is not Copilot for Microsoft 365 and the prompting behavior is totally different.
- KingsleyUBrass Contributor
Oh I see, I noticed some of those inaccurate responses when testing GitHub CoPilot during its early release but it should support system and assistant instructions as simple prompting is sometimes inadequate to elicit the expected response.
Moreover, the available products are GitHub CoPilot (in Visual Studio) and CoPilot for Microsoft 365 or is something missing out here:
https://visualstudio.microsoft.com/github-copilot/
https://blogs.microsoft.com/blog/2023/03/16/introducing-microsoft-365-copilot-your-copilot-for-work/
https://github.com/OfficeDev/Copilot-for-M365-Samples
Thanks for the update.