Edit

Work IQ - copilotFile resource type

Important

APIs under the /beta version are subject to change. Use of these APIs in production applications isn't supported.

OneDrive or SharePoint file being sent as context into a Copilot conversation through the Work IQ Chat API.

Use a copilotFile in the copilotContextualResources files collection to ground a chat message with a OneDrive or SharePoint file. The copilotConversationRequestMessageParameter contains the prompt text, while copilotContextMessage provides additional text context.

Properties

Property Type Description
uri String The URI of the OneDrive or SharePoint file.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.copilotFile",
  "uri": "String"
}