通过


ToolApprovalResponseContent 类

定义

表示对 a ToolApprovalRequestContent的响应,指示工具调用是否已获得批准。

public ref class ToolApprovalResponseContent sealed : Microsoft::Extensions::AI::InputResponseContent
public sealed class ToolApprovalResponseContent : Microsoft.Extensions.AI.InputResponseContent
type ToolApprovalResponseContent = class
    inherit InputResponseContent
Public NotInheritable Class ToolApprovalResponseContent
Inherits InputResponseContent
继承
ToolApprovalResponseContent

构造函数

名称 说明
ToolApprovalResponseContent(String, Boolean, ToolCallContent)

初始化 ToolApprovalResponseContent 类的新实例。

属性

名称 说明
AdditionalProperties

获取或设置内容的其他属性。

(继承自 AIContent)
Annotations

获取或设置此内容上的批注列表。

(继承自 AIContent)
Approved

获取一个值,该值指示是否已批准工具调用执行。

RawRepresentation

获取或设置基础实现中内容的原始表示形式。

(继承自 AIContent)
Reason

获取或设置批准或拒绝的可选原因。

RequestId

获取与此响应对应的 InputRequestContent关联的唯一标识符。

(继承自 InputResponseContent)
ToolCall

获取受审批的工具调用。

适用于