HumanInTheLoopExtentions 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.
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 |