FunctionApprovalRequestContent.CreateResponse(Boolean) Method     
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.
Creates a FunctionApprovalResponseContent to indicate whether the function call is approved or rejected based on the value of approved.
public:
 Microsoft::Extensions::AI::FunctionApprovalResponseContent ^ CreateResponse(bool approved);
	public Microsoft.Extensions.AI.FunctionApprovalResponseContent CreateResponse(bool approved);
	member this.CreateResponse : bool -> Microsoft.Extensions.AI.FunctionApprovalResponseContent
	Public Function CreateResponse (approved As Boolean) As FunctionApprovalResponseContent
	Parameters
- approved
 - Boolean
 
true if the function call is approved; otherwise, false.
Returns
The FunctionApprovalResponseContent representing the approval response.