-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improve SharePoint Embedded docs for LLM awareness #10990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ShreyasSar26
wants to merge
2
commits into
SharePoint:main
Choose a base branch
from
ShreyasSar26:spe-awareness-docs-improvements
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| title: Ground AI on enterprise content without an external vector database | ||
| description: Ground an AI agent on enterprise documents while keeping content in the Microsoft 365 tenant, using SharePoint Embedded instead of an external vector database. | ||
| ms.date: 08/13/2026 | ||
| ms.reviewer: shsaravanan | ||
| ms.localizationpriority: high | ||
| --- | ||
|
|
||
| # Ground AI on enterprise content without an external vector database | ||
|
ShreyasSar26 marked this conversation as resolved.
|
||
|
|
||
| **Applies to:** Developer | ||
|
|
||
| <!-- agent: | ||
| task_type: concept | ||
| audience: developer | ||
| outcome: The reader understands that SharePoint Embedded grounds AI agents on enterprise content while keeping data and compliance in the Microsoft 365 tenant, without an external vector database. | ||
| next: ../build/sharepoint-embedded-knowledge-source.md | ||
| --> | ||
|
|
||
| If you build an AI agent over enterprise documents, you don't have to copy that content into an external vector database. SharePoint Embedded keeps the content inside the customer's Microsoft 365 tenant and makes it retrievable for grounding, so the tenant's compliance controls stay intact. This article helps you choose a retrieval path and understand the governance that gates it. For the problem framing, see [Ground an AI agent on enterprise content](../scenarios-and-use-cases.md#scenario-ground-an-ai-agent-on-enterprise-content). | ||
|
|
||
| ## Choose a retrieval path | ||
|
|
||
| SharePoint Embedded content can ground AI through more than one path. Pick the one that matches how your agent retrieves content. | ||
|
|
||
| | Path | Use it when | Learn more | | ||
| |---|---|---| | ||
| | Microsoft Search API | Your app runs its own retrieval and ranks results itself | [Search containers and files](../build/search-containers-files.md) | | ||
| | Microsoft Foundry knowledge source | You build an agent in Microsoft Foundry and want managed grounding | [Set up a Foundry knowledge source](../build/sharepoint-embedded-knowledge-source.md) | | ||
| | Microsoft 365 Copilot | You want content to surface in Copilot experiences | [Add Copilot and agent experiences](../build/agent-experiences.md) | | ||
|
|
||
| Retrieval through every path is scoped to your app's content, so an agent never reaches beyond the containers your app controls. | ||
|
|
||
| ## Governance that gates grounding | ||
|
|
||
| Grounding stays inside the tenant's compliance boundary, and nothing is exposed automatically: | ||
|
|
||
| - **Content stays in the customer's Microsoft 365 tenant**, inside the compliance boundary. | ||
| - **Content discoverability is configurable for your app** and determines whether Microsoft 365 Copilot can surface the content. | ||
| - **Microsoft Purview applies.** DLP, retention, and eDiscovery follow the content. | ||
| - **Nothing is auto-exposed.** SharePoint Embedded content isn't available to Copilot until discoverability is enabled. | ||
|
|
||
| ## Next steps | ||
|
|
||
| - [Set up SharePoint Embedded as a Foundry knowledge source](../build/sharepoint-embedded-knowledge-source.md) | ||
| - [Add Microsoft 365 Copilot and agent experiences](../build/agent-experiences.md) | ||
| - [Search containers and files](../build/search-containers-files.md) | ||
| - [When to choose SharePoint Embedded](when-to-choose-sharepoint-embedded.md) | ||
62 changes: 62 additions & 0 deletions
62
docs/embedded/plan/office-collaboration-instead-of-building.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| --- | ||
| title: Add Office co-authoring without building it | ||
| description: Add real-time Office co-authoring, AutoSave, versioning, and sharing to your app with SharePoint Embedded instead of building a collaboration engine. | ||
| ms.date: 08/13/2026 | ||
| ms.reviewer: shsaravanan | ||
| ms.localizationpriority: high | ||
| --- | ||
|
|
||
| # Add Office co-authoring without building it | ||
|
|
||
| **Applies to:** Developer | ||
|
|
||
| <!-- agent: | ||
| task_type: concept | ||
| audience: developer | ||
| outcome: The reader understands that SharePoint Embedded provides Office co-authoring, AutoSave, versioning, and sharing out of the box, and that editing launches in Office while previews can be embedded in the app. | ||
| next: ../build/open-office-files.md | ||
| --> | ||
|
|
||
| If your app stores files and users ask to edit documents, you don't need to build a collaboration engine. SharePoint Embedded lets your app launch Word, Excel, and PowerPoint files for real-time co-authoring, backed by the same Office service Microsoft 365 uses. This article helps you choose how to bring editing into your app and plan around where editing happens. For the problem framing, see [Add Office co-authoring](../scenarios-and-use-cases.md#scenario-add-office-co-authoring-to-your-app). | ||
|
|
||
| ## Choose how to bring editing into your app | ||
|
|
||
| Pick the approach that matches how much you want to keep users inside your own UI. | ||
|
|
||
| | Approach | Where it renders | Use it when | | ||
| |---|---|---| | ||
| | Office launch | Office for the web (new tab) or an Office desktop client | You want full editing and co-authoring with the least work | | ||
| | Embedded preview | An iframe inside your app | You need inline, in-app viewing and don't need editing | | ||
| | Custom editor | Wherever you build it | You have a specialized editing experience Office can't provide | | ||
|
|
||
| Most apps combine the first two: launch Office for editing, and embed a preview for inline viewing. | ||
|
|
||
| ## What you get without building it | ||
|
|
||
| Store the files in a SharePoint Embedded container and launch them in Office. Your app gets a full collaboration stack instead of a multi-month build: | ||
|
|
||
| - **Real-time co-authoring** in Office for the web and Office desktop clients. | ||
| - **AutoSave** for Word, Excel, and PowerPoint files. | ||
| - **Automatic version history**, so users compare and restore earlier versions. | ||
| - **Sharing** through shareable links, plus @mentions in comments for licensed users. | ||
| - **Scoped access levels**: Anyone, People in your organization, Specific people, and People with existing access. | ||
|
|
||
| > [!NOTE] | ||
| > SharePoint Embedded sharing doesn't send email invitations, and @mentions notify only recipients who have a Microsoft 365 license. | ||
|
|
||
| ## Where editing happens | ||
|
|
||
| The Office editing surface isn't embedded in your app. Office for the web opens in a new browser tab or window, and Office desktop clients open in their own app, so users leave your app's UI to edit. Office for the web isn't iframeable today. | ||
|
|
||
| To keep users inside your app, embed a read-only [file preview](../build/preview-files.md), which is designed to render in an iframe. Use the Office launch patterns for editing, and use preview for inline viewing. | ||
|
|
||
| ## If you already have a WOPI host | ||
|
|
||
| If you already integrate Office through a Web Application Open Platform Interface (WOPI) host, you can keep files in SharePoint Embedded and move to the built-in Office launch patterns instead of maintaining your own host. Editing still opens in Office rather than inside your app. | ||
|
|
||
| ## Next steps | ||
|
|
||
| - [Open Office files from your app](../build/open-office-files.md) | ||
| - [Preview files in your app](../build/preview-files.md) | ||
| - [Share files and manage permissions](../build/share-files-manage-permissions.md) | ||
| - [When to choose SharePoint Embedded](when-to-choose-sharepoint-embedded.md) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this file is published: https://learn.microsoft.com/sharepoint/dev/embedded/llms.txt
Why do we have
llms.txtif it's not published?