Microsoft 365 Copilot Retrieval API
Key Takeaways
The video introduces the Microsoft 365 Copilot Retrieval API, a natural language querying model for consuming enterprise content via a REST API, and demonstrates its usage with the Microsoft Graph Explorer.
Full Transcript
[Music] We recently released in preview the copilot retrieval API which allows you to consume the enterprise content of your Microsoft 365 tenant using a rest API available through the Microsoft graph. Let me dig into how it works and let me show you a brief demo about how you can leverage this new capability. So let's see what the retrieval API is and it is a natural language quering model over your Microsoft 365 content via a secure compliant and scalable platform. You can use the retrieval API in your own applications to consume your enterprise content using the same approach that end users can use in Microsoft 365 copilot. Currently the retrieval API targets the SharePoint online content as well as the copilot connectors and you can use filter expressions to define for example with KQL or with filters the specific scope of your queries. In order to consume the retrieval API from a graph perspective and from a permission perspective you will need to have permissions for files readall size. Roll and external item read all. This technology is nowadays in public preview. So, let's have fun with it. Let's assume that we have an HR department with a bunch of documents about HR related topics like for example how to hire people in our company and stuff like that. Now, let's say that we want to use the retrieval API provided by Microsoft Graph through the graph explorer. And to do that you can simply go to aka.ms/ge to go to the graph explorer. From there once you sign in in your account you can rely on the new retrieval API which is available in the beta uh family of APIs for Microsoft graph and it is the copilot/ retrieval. You need to make a post request and you need to provide a JSON payload in the request which will define the actual content of your request. So here for example I'm going to provide this prompt. The query string defines the prompt you send to the copilot engine and it will be how can we hire new employees in our company. I want to target SharePoint data sources and as I told you you can use and target shareepoint online or copilot connectors. I'm going to select that I want to retrieve from the documents that are matching my criteria the title and the author and I want to get up to 20 items in the output. So let me try to run this request. By doing that you can see we can get back a list of it which will define the text matching our criteria as well as the metadata of the items and the URL of the documents matching the criteria. And as you can see in the URL, we get content also from other sides than the one I was showing you before, which is this one. If you want, however, you can rely on the filter expression property in the request. And as you can see right here, I still say that I want to get data from SharePoint as the data source. But now in the filter expression, the path that I'm interested in is the one of the SharePoint online set collection that I was showing you before. And all of the other criteria are the same. So if I will run this query now, we can see that we will get back responses only from the specific site collection. So this is really powerful because you can target the specific scope of your prompt. Moreover, if you want, you can also target the copilot connectors and as such if you want to do so, you can select as the data source the external items in the copilot connectors. Still we can use a prompt. In this scenario, I'm targeting my tenant where I know I have a copilot connector with content about how to write prompt for copilot. And so my prompt is how can I write a prompt for copilot? And still I'm interested in retrieving up to 20 items. So if I will run this query again now we can see that the output comes out from the copilot connector we can see the URL of the items matching my criteria as well as the text excerpt extracted from the document and which is matching the criteria provided in the prompt. So this is really really powerful and easy to use and allows you to have access to the copilot capabilities through npi based on Microsoft graph. Here you can find additional technical information about the retrieval API in the Microsoft graph documentation as well as the public announcement of the public preview of this technology. Let's have fun with it. Thank you.
Original Description
📺 Paolo Pialorsi introduces the new Copilot Retrieval API and demonstrates how to use it to query your enterprise content using natural language. The video gives you an overview of the Copilot Retrieval API to write secure, compliant, and scalable natural language queries targeting SharePoint Online and/or Copilot Connectors.
✨ Presenter:
• Paolo Pialorsi (Microsoft) – https://www.linkedin.com/in/paolopialorsi/
📖 Resources:
• Retrieve grounding data using the Microsoft 365 Copilot Retrieval API
- https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/api-reference/copilotroot-retrieval
• Microsoft 365 Copilot APIs: Unlocking enterprise knowledge for AI with the Retrieval API — Now in Public Preview - https://devblogs.microsoft.com/microsoft365dev/microsoft-365-copilot-apis-unlocking-enterprise-knowledge-for-ai-with-the-retrieval-api/
• Microsoft 365 Copilot extensibility overview - https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/
• Copilot Dev Camp - https://aka.ms/copilotdevcamp
#Microsoft365 #copilot #microsoftgraph
✅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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Adaptive Cards community call-February 2019
Microsoft 365 Developer
PowerApps community call-February 2019
Microsoft 365 Developer
Microsoft Graph community call-March 2019
Microsoft 365 Developer
Office Add ins community call-March 2019
Microsoft 365 Developer
PowerApps community call-March 2019
Microsoft 365 Developer
Microsoft Teams community call-March 2019
Microsoft 365 Developer
Using React and Office UI Fabric React Components
Microsoft 365 Developer
Build Microsoft Teams customization using SharePoint Framework
Microsoft 365 Developer
Microsoft Graph community call-April 2019
Microsoft 365 Developer
Using Change Notifications and Track Changes with Microsoft Graph
Microsoft 365 Developer
Office Add Ins community call-April 2019
Microsoft 365 Developer
Adaptive Cards community call-April 2019
Microsoft 365 Developer
Microsoft Teams community call-April 2019
Microsoft 365 Developer
Getting Started with Microsoft Graph and Application Registration
Microsoft 365 Developer
Getting Started with Microsoft Graph and the Directory API
Microsoft 365 Developer
Getting Started with Microsoft Graph and Microsoft Teams
Microsoft 365 Developer
Getting Started with Microsoft Graph Explorer
Microsoft 365 Developer
Getting Started with Microsoft Graph
Microsoft 365 Developer
Getting Started with Microsoft Graph and Mail API
Microsoft 365 Developer
Getting Started with Microsoft Graph and Office 365 Groups
Microsoft 365 Developer
Getting Started with Microsoft Graph and the Calendar API
Microsoft 365 Developer
Getting Started with the Microsoft Graph Toolkit
Microsoft 365 Developer
Getting Started with Microsoft Graph and JavaScript SDKs
Microsoft 365 Developer
Getting Started with Microsoft Graph and .NET SDKs
Microsoft 365 Developer
Discover how businesses can be more productive with Microsoft 365 integrations
Microsoft 365 Developer
Adaptive Cards community call-May 2019
Microsoft 365 Developer
Office Add-ins community call-May 2019
Microsoft 365 Developer
Why We Built on Microsoft Teams
Microsoft 365 Developer
Microsoft Teams community call-May 2019
Microsoft 365 Developer
Microsoft Graph community call-June 2019
Microsoft 365 Developer
Build Angular SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
Office Add -ins community call-June 2019
Microsoft 365 Developer
Build Android native apps with the Microsoft Graph Android SDK - June 2019
Microsoft 365 Developer
Build MVC apps with Microsoft Graph - June 2019
Microsoft 365 Developer
Authenticate and connect with Microsoft Graph - June 2019
Microsoft 365 Developer
Microsoft Graph data connect - June 2019
Microsoft 365 Developer
Change notifications with Microsoft Graph - June 2019
Microsoft 365 Developer
Build iOS native apps with the Microsoft Graph REST API - June 2019
Microsoft 365 Developer
Build Node.js Express apps with Microsoft Graph - June 2019
Microsoft 365 Developer
Smart UI with Microsoft Graph - June 2019
Microsoft 365 Developer
Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Microsoft 365 Developer
Build UWP apps with Microsoft Graph - June 2019
Microsoft 365 Developer
Build React SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
Getting Started with Microsoft Graph and Batching
Microsoft 365 Developer
Getting Started with Microsoft Graph and Change Notifications
Microsoft 365 Developer
Getting Started with Microsoft Graph and Consent Permissions
Microsoft 365 Developer
Getting Started with Microsoft Graph and Education
Microsoft 365 Developer
Getting Started with Microsoft Graph and Financials
Microsoft 365 Developer
Getting Started with Microsoft Graph and Excel
Microsoft 365 Developer
Getting Started with Microsoft Graph and Data Connect
Microsoft 365 Developer
Getting Started with Microsoft Graph and Intune
Microsoft 365 Developer
Getting Started with Microsoft Graph and Notifications
Microsoft 365 Developer
Getting Started with Microsoft Graph and OneNote
Microsoft 365 Developer
Getting Started with Microsoft Graph and OneDrive
Microsoft 365 Developer
Getting Started with Microsoft Graph and Open Extensions
Microsoft 365 Developer
Getting Started with Microsoft Graph and Paging
Microsoft 365 Developer
Getting Started with Microsoft Graph and Schema Extensions
Microsoft 365 Developer
Getting Started with Microsoft Graph and Security API
Microsoft 365 Developer
Getting Started with Microsoft Graph and Query Parameters
Microsoft 365 Developer
Getting Started with Microsoft Graph and Reporting API
Microsoft 365 Developer
More on: AI Pair Programming
View skill →Related Reads
📰
📰
📰
📰
The Secret Sauce of Apple Silicon: Why Unified Memory is a Game-Changer for AI
If you’ve spent…
Medium · Machine Learning
The Secret Sauce of Apple Silicon: Why Unified Memory is a Game-Changer for AI
If you’ve spent…
Medium · NLP
We Gave Our Engineering Team a Memory — Here’s How PRECOG Uses Cognee
Medium · Startup
You’ve Had the Same GPU Rumor Tab Open for Eight Months, and NVIDIA Has Never Once Confirmed the…
Medium · Machine Learning
🎓
Tutor Explanation
DeepCamp AI