FunctionApprovalRequestContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a request for user approval of a function call.
public ref class FunctionApprovalRequestContent sealed : Microsoft::Extensions::AI::UserInputRequestContent
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public sealed class FunctionApprovalRequestContent : Microsoft.Extensions.AI.UserInputRequestContent
public sealed class FunctionApprovalRequestContent : Microsoft.Extensions.AI.UserInputRequestContent
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type FunctionApprovalRequestContent = class
inherit UserInputRequestContent
type FunctionApprovalRequestContent = class
inherit UserInputRequestContent
Public NotInheritable Class FunctionApprovalRequestContent
Inherits UserInputRequestContent
- Inheritance
- Attributes
Constructors
| FunctionApprovalRequestContent(String, FunctionCallContent) |
Initializes a new instance of the FunctionApprovalRequestContent class. |
Properties
| AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
| Annotations |
Gets or sets a list of annotations on this content. (Inherited from AIContent) |
| FunctionCall |
Gets the function call that pre-invoke approval is required for. |
| Id |
Gets the ID that uniquely identifies the user input request/response pair. (Inherited from UserInputRequestContent) |
| RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |
Methods
| CreateResponse(Boolean) |
Creates a FunctionApprovalResponseContent to indicate whether the function call is approved or rejected based on the value of |