Condividi tramite


HumanInTheLoopExtentions Class

Definition

Provides helper methods for Human-In-The-Loop (HITL) processing.

public static class HumanInTheLoopExtentions
type HumanInTheLoopExtentions = class
Public Module HumanInTheLoopExtentions
Inheritance
HumanInTheLoopExtentions

Methods

Name Description
GetPendingUserInputRequestContents(AIAgent, AgentSession)

Filter FunctionApprovalRequestContents from an agent's session messages.

ToHumanInTheLoopFunctionCallItemResource(FunctionApprovalRequestContent, String, CreatedBy)

Convert a HITL request to an ItemResource

ToHumanInTheLoopFunctionCallItemResource(McpServerToolApprovalRequestContent, String, CreatedBy)

Convert a MCP HITL request to an ItemResource

TryParseApprovalResponse(String, Boolean)

Tries to parse an input string to determine if it represents an approval or denial.

ValidateAndConvertResponse(CreateResponseRequest, Dictionary<String,UserInputRequestContent>)

Validate a HITL response and convert it to a ChatMessage

Applies to