Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ def __init__(

# Initialize input validator
self._validator = ToolDefinitionsValidator(
error_target=ErrorTarget.TOOL_OUTPUT_UTILIZATION_EVALUATOR,
check_for_unsupported_tools=True,
error_target=ErrorTarget.TOOL_OUTPUT_UTILIZATION_EVALUATOR, optional_tool_definitions=False
)

super().__init__(
Expand Down Expand Up @@ -143,7 +142,7 @@ def __call__(
:paramtype query: Union[str, List[dict]]
:keyword response: The response being evaluated, either a string or a list of messages (full agent response potentially including tool calls)
:paramtype response: Union[str, List[dict]]
:keyword tool_definitions: An optional list of messages containing the tool definitions the agent is aware of.
:keyword tool_definitions: A list of messages containing the tool definitions the agent is aware of.
:paramtype tool_definitions: Union[dict, List[dict]]
:return: A dictionary with the tool output utilization evaluation results.
:rtype: Dict[str, Union[str, float]]
Expand Down