Table of Contents

Interface ICopilot

Namespace
PnP.Core.Model.Copilot.Public
Assembly
PnP.Core.dll

Represents MS Graph API endpoint under Copilot path.

public interface ICopilot

Methods

RetrieveAsync(RetrievalRequest)

The Microsoft 365 Copilot Retrieval API allows for the retrieval of relevant text extracts from SharePoint, OneDrive, and Copilot connectors content that the calling user has access to, while respecting the defined access controls within the tenant. Use the Retrieval API to ground your generative AI solutions with Microsoft 365 data while optimizing for context recall.

Task<RetrievalResponse> RetrieveAsync(RetrievalRequest request)

Parameters

request RetrievalRequest

Returns

Task<RetrievalResponse>