Troubleshoot your Copilot plugins with Developer Mode

Microsoft 365 Developer · Beginner ·💻 AI-Assisted Coding ·2y ago

Key Takeaways

The video demonstrates how to troubleshoot Copilot plugins for Microsoft 365 using Developer Mode, showcasing the plugin architecture and retrieval augmentation generation pattern.

Full Transcript

so you've started building co-pilot plugins for Microsoft 365 but what if co-pilot doesn't call your plug-in is the problem in your code or is it co-pilot is co-pilot even trying to call you in this video I'll show you how to enable developer mode in co-pilot to help with troubleshooting and to help you learn how co-pilot is calling your plug-in hi I'm Bob German Cloud developer advocate for Microsoft before I show you developer mode let's take a minute to review how co-pilot plugins work there are two ways to extend co-pilot plugins and graph connectors as shown in this diagram Microsoft 365 has a semantic index that indexes all the content in Microsoft 365 along with permissions and other metadata when you prompt co-pilot an orchestration layer looks up information in the semantic index and uses it to augment The Prompt this is the rag or retrieval augmentation generation pattern that you may have heard of one way to extend co-pilot is to add more content to the semantic index that's what graph connectors can do another way is to write a plugin which allows co-pilot to do realtime queries of your plug-in co-pilot for Microsoft 365 uses an app manifest to Define these queries here's the Manifest for the Northwind inventory sample which you may have seen at ignite or in other videos this is a teams message extension based on the Azure bot framework at the time of this recording it's the most complete plug-in model so I'll use it here notice the title and description these are used by co-pilot as well as by umans to learn what your plug-in can do you want to provide plenty of detail and then we have these commands there are three of them here which Define the types of queries that your plug-in can handle but what what if co-pilot doesn't get it and it doesn't call your plug-in well first you'll want to check the plug-in panel to make sure your plugin is enabled next I'll type minus developer on to enable developer mode now watch what happens when I issue a prompt please find Northwind meat products selling for less than full retail notice that I'm mentioning Northwind which is part of the plug-in name as a hint to co-pilot as you can see it works and then developer mode displays extra information telling me which plugin and command it used very helpful in determining what's going on as you can see co-pilot matched my request for product selling Below Retail to the discount search command and it got back a successful result if co-pilot isn't calling your Plugin or if it's trying to use the wrong command the problem is most likely in the descriptions in your manifest test I had to tweak these several times to make the north wind sample more reliable and of course when you're done just type minus developer off to disable developer mode if you like this video please give it a like and tell your friends if you'd like to keep up with all our new Microsoft 365 developer videos please hit subscribe as well thanks

Original Description

Have you ever wondered if Copilot for Microsoft 365 is calling (or trying to call) your plugin? Do you know why? Watch this video and learn how to enable Developer Mode to see what’s going on! ✅SUBSCRIBE TO OUR CHANNEL: www.youtube.com/Microsoft365Developer?sub_confirmation=1
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft 365 Developer · Microsoft 365 Developer · 0 of 60

← Previous Next →
1 Adaptive Cards community call-February 2019
Adaptive Cards community call-February 2019
Microsoft 365 Developer
2 PowerApps community call-February 2019
PowerApps community call-February 2019
Microsoft 365 Developer
3 Microsoft Graph community call-March 2019
Microsoft Graph community call-March 2019
Microsoft 365 Developer
4 Office Add ins community call-March 2019
Office Add ins community call-March 2019
Microsoft 365 Developer
5 PowerApps community call-March 2019
PowerApps community call-March 2019
Microsoft 365 Developer
6 Microsoft Teams community call-March 2019
Microsoft Teams community call-March 2019
Microsoft 365 Developer
7 Using React and Office UI Fabric React Components
Using React and Office UI Fabric React Components
Microsoft 365 Developer
8 Build Microsoft Teams customization using SharePoint Framework
Build Microsoft Teams customization using SharePoint Framework
Microsoft 365 Developer
9 Microsoft Graph community call-April 2019
Microsoft Graph community call-April 2019
Microsoft 365 Developer
10 Using Change Notifications and Track Changes with Microsoft Graph
Using Change Notifications and Track Changes with Microsoft Graph
Microsoft 365 Developer
11 Office Add Ins community call-April 2019
Office Add Ins community call-April 2019
Microsoft 365 Developer
12 Adaptive Cards community call-April 2019
Adaptive Cards community call-April 2019
Microsoft 365 Developer
13 Microsoft Teams community call-April 2019
Microsoft Teams community call-April 2019
Microsoft 365 Developer
14 Getting Started with Microsoft Graph and Application Registration
Getting Started with Microsoft Graph and Application Registration
Microsoft 365 Developer
15 Getting Started with Microsoft Graph and the Directory API
Getting Started with Microsoft Graph and the Directory API
Microsoft 365 Developer
16 Getting Started with Microsoft Graph and Microsoft Teams
Getting Started with Microsoft Graph and Microsoft Teams
Microsoft 365 Developer
17 Getting Started with Microsoft Graph Explorer
Getting Started with Microsoft Graph Explorer
Microsoft 365 Developer
18 Getting Started with Microsoft Graph
Getting Started with Microsoft Graph
Microsoft 365 Developer
19 Getting Started with Microsoft Graph and Mail API
Getting Started with Microsoft Graph and Mail API
Microsoft 365 Developer
20 Getting Started with Microsoft Graph and Office 365 Groups
Getting Started with Microsoft Graph and Office 365 Groups
Microsoft 365 Developer
21 Getting Started with Microsoft Graph and the Calendar API
Getting Started with Microsoft Graph and the Calendar API
Microsoft 365 Developer
22 Getting Started with the Microsoft Graph Toolkit
Getting Started with the Microsoft Graph Toolkit
Microsoft 365 Developer
23 Getting Started with Microsoft Graph and JavaScript SDKs
Getting Started with Microsoft Graph and JavaScript SDKs
Microsoft 365 Developer
24 Getting Started with Microsoft Graph and .NET SDKs
Getting Started with Microsoft Graph and .NET SDKs
Microsoft 365 Developer
25 Discover how businesses can be more productive with Microsoft 365 integrations
Discover how businesses can be more productive with Microsoft 365 integrations
Microsoft 365 Developer
26 Adaptive Cards community call-May 2019
Adaptive Cards community call-May 2019
Microsoft 365 Developer
27 Office Add-ins community call-May 2019
Office Add-ins community call-May 2019
Microsoft 365 Developer
28 Why We Built on Microsoft Teams
Why We Built on Microsoft Teams
Microsoft 365 Developer
29 Microsoft Teams community call-May 2019
Microsoft Teams community call-May 2019
Microsoft 365 Developer
30 Microsoft Graph community call-June 2019
Microsoft Graph community call-June 2019
Microsoft 365 Developer
31 Build Angular SPA's with Microsoft Graph - June 2019
Build Angular SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
32 Office Add -ins community call-June 2019
Office Add -ins community call-June 2019
Microsoft 365 Developer
33 Build Android native apps with the Microsoft Graph Android SDK - June 2019
Build Android native apps with the Microsoft Graph Android SDK - June 2019
Microsoft 365 Developer
34 Build MVC apps with Microsoft Graph - June 2019
Build MVC apps with Microsoft Graph - June 2019
Microsoft 365 Developer
35 Authenticate and connect with Microsoft Graph - June 2019
Authenticate and connect with Microsoft Graph - June 2019
Microsoft 365 Developer
36 Microsoft Graph data connect - June 2019
Microsoft Graph data connect - June 2019
Microsoft 365 Developer
37 Change notifications with Microsoft Graph - June 2019
Change notifications with Microsoft Graph - June 2019
Microsoft 365 Developer
38 Build iOS native apps with the Microsoft Graph REST API - June 2019
Build iOS native apps with the Microsoft Graph REST API - June 2019
Microsoft 365 Developer
39 Build Node.js Express apps with Microsoft Graph - June 2019
Build Node.js Express apps with Microsoft Graph - June 2019
Microsoft 365 Developer
40 Smart UI with Microsoft Graph - June 2019
Smart UI with Microsoft Graph - June 2019
Microsoft 365 Developer
41 Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Microsoft 365 Developer
42 Build UWP apps with Microsoft Graph - June 2019
Build UWP apps with Microsoft Graph - June 2019
Microsoft 365 Developer
43 Build React SPA's with Microsoft Graph - June 2019
Build React SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
44 Getting Started with Microsoft Graph and Batching
Getting Started with Microsoft Graph and Batching
Microsoft 365 Developer
45 Getting Started with Microsoft Graph and Change Notifications
Getting Started with Microsoft Graph and Change Notifications
Microsoft 365 Developer
46 Getting Started with Microsoft Graph and Consent Permissions
Getting Started with Microsoft Graph and Consent Permissions
Microsoft 365 Developer
47 Getting Started with Microsoft Graph and Education
Getting Started with Microsoft Graph and Education
Microsoft 365 Developer
48 Getting Started with Microsoft Graph and Financials
Getting Started with Microsoft Graph and Financials
Microsoft 365 Developer
49 Getting Started with Microsoft Graph and Excel
Getting Started with Microsoft Graph and Excel
Microsoft 365 Developer
50 Getting Started with Microsoft Graph and Data Connect
Getting Started with Microsoft Graph and Data Connect
Microsoft 365 Developer
51 Getting Started with Microsoft Graph and Intune
Getting Started with Microsoft Graph and Intune
Microsoft 365 Developer
52 Getting Started with Microsoft Graph and Notifications
Getting Started with Microsoft Graph and Notifications
Microsoft 365 Developer
53 Getting Started with Microsoft Graph and OneNote
Getting Started with Microsoft Graph and OneNote
Microsoft 365 Developer
54 Getting Started with Microsoft Graph and OneDrive
Getting Started with Microsoft Graph and OneDrive
Microsoft 365 Developer
55 Getting Started with Microsoft Graph and Open Extensions
Getting Started with Microsoft Graph and Open Extensions
Microsoft 365 Developer
56 Getting Started with Microsoft Graph and Paging
Getting Started with Microsoft Graph and Paging
Microsoft 365 Developer
57 Getting Started with Microsoft Graph and Schema Extensions
Getting Started with Microsoft Graph and Schema Extensions
Microsoft 365 Developer
58 Getting Started with Microsoft Graph and Security API
Getting Started with Microsoft Graph and Security API
Microsoft 365 Developer
59 Getting Started with Microsoft Graph and Query Parameters
Getting Started with Microsoft Graph and Query Parameters
Microsoft 365 Developer
60 Getting Started with Microsoft Graph and Reporting API
Getting Started with Microsoft Graph and Reporting API
Microsoft 365 Developer

This video teaches how to enable Developer Mode in Copilot to troubleshoot plugin issues and understand how Copilot calls plugins. It covers the plugin architecture and retrieval augmentation generation pattern.

Key Takeaways
  1. Review how Copilot plugins work
  2. Enable Developer Mode by typing '-developer on'
  3. Test plugin functionality and observe extra information displayed
  4. Check plugin panel to ensure plugin is enabled
  5. Tweak descriptions in app manifest if necessary
💡 Developer Mode provides extra information to help determine which plugin and command Copilot is using, making it easier to troubleshoot issues.

Related Reads

📰
AI Isn’t Replacing Software Engineers. It’s Changing What Great Engineers Do.
AI is transforming the software engineering landscape, and great engineers must adapt to remain relevant
Medium · AI
📰
AI Isn’t Replacing Software Engineers. It’s Changing What Great Engineers Do.
AI is transforming the software development landscape, and great engineers must adapt to remain relevant
Medium · Machine Learning
📰
AI Isn’t Replacing Software Engineers. It’s Changing What Great Engineers Do.
AI is transforming software development, and great engineers must adapt to new demands and expectations
Medium · Programming
📰
Why Your AI Product’s Cost Per Request Is About to Double — And Nobody Told You
The cost per request for AI products is expected to double, and this article explains why and how it affects businesses
Medium · Machine Learning
Up next
Claude Code Local Google Ads: Automate Everything ($730K Earned)
Jono Catliff
Watch →