EvalChecks.ToolCalledCheck 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.
Overloads
| Name | Description |
|---|---|
| ToolCalledCheck(String[]) |
Creates a check that verifies specific tools were called in the conversation. All specified tools must have been called. |
| ToolCalledCheck(ToolCalledMode, String[]) |
Creates a check that verifies specific tools were called in the conversation. |
ToolCalledCheck(String[])
Creates a check that verifies specific tools were called in the conversation. All specified tools must have been called.
public static Microsoft.Agents.AI.EvalCheck ToolCalledCheck(params string[] toolNames);
static member ToolCalledCheck : string[] -> Microsoft.Agents.AI.EvalCheck
Public Shared Function ToolCalledCheck (ParamArray toolNames As String()) As EvalCheck
Parameters
- toolNames
- String[]
Tool names that must appear in the conversation.
Returns
An EvalCheck delegate.
Applies to
ToolCalledCheck(ToolCalledMode, String[])
Creates a check that verifies specific tools were called in the conversation.
public static Microsoft.Agents.AI.EvalCheck ToolCalledCheck(Microsoft.Agents.AI.ToolCalledMode mode, params string[] toolNames);
static member ToolCalledCheck : Microsoft.Agents.AI.ToolCalledMode * string[] -> Microsoft.Agents.AI.EvalCheck
Public Shared Function ToolCalledCheck (mode As ToolCalledMode, ParamArray toolNames As String()) As EvalCheck
Parameters
- mode
- ToolCalledMode
- toolNames
- String[]
Tool names to check for.
Returns
An EvalCheck delegate.