aiInteraction 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示用户与 Copilot 之间的交互。

方法

无。

属性

属性 类型 说明
appClass String Copilot 数据的数据源。 例如,IPM.SkypeTeams.Message.Copilot.ExcelIPM.SkypeTeams.Message.Copilot.Loop
attachments aiInteractionAttachment 集合 附加到交互的文档集合,例如卡片和图像。
body itemBody 邮件正文,包括正文文本及其正文类型。
上下文 aiInteractionContext 集合 映射到与交互关联的所有上下文的标识器。
conversationType String 会话的类型。 例如,appchatbizchat
createdDateTime 日期时间 创建交互的时间。
etag String 上次修改交互的时间戳。
from identitySet 与此交互关联的用户、应用程序或设备。
id String 消息的标识符。
interactionType aiInteractionType 指示交互是提示还是 Copilot 响应。 可取值为 userPromptaiResponseunknownFutureValue
links aiInteractionLink 集合 交互中显示的链接集合。
区域设置 String 发件人的区域设置。
提及 aiInteractionMention 集合 交互中提到的实体的集合,包括用户、机器人等。
requestId String 使用 Copilot 响应对用户提示进行分组的标识符。
sessionId String 映射到用户的所有 Copilot 会话的线程 ID 或会话标识符。

aiInteractionType 值

成员 说明
userPrompt 交互中的用户提示。
aiResponse 对提示的 Copilot 响应。
unknownFutureValue 可演变枚举 sentinel 值。 请勿使用。

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "appClass": "String",
  "attachments": [{"@odata.type": "microsoft.graph.aiInteractionAttachment"}],
  "body": {"@odata.type": "microsoft.graph.itemBody"},
  "contexts": [{"@odata.type": "microsoft.graph.aiInteractionContext"}],
  "conversationType": "String",
  "createdDateTime": "String (timestamp)",
  "etag": "String",
  "from": {"@odata.type": "microsoft.graph.identitySet"},
  "id": "String (identifier)",
  "interactionType": "String",
  "links": [{"@odata.type": "microsoft.graph.aiInteractionLink"}],
  "locale": "String",
  "mentions": [{"@odata.type": "microsoft.graph.aiInteractionMention"}],
  "requestId": "String",
  "sessionId": "String"
}