Class ToolExpectation (0.3.0)

ToolExpectation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The tool call and response pair to be evaluated.

Attributes

Name Description
expected_tool_call google.cloud.ces_v1beta.types.ToolCall
Required. The expected tool call, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.
mock_tool_response google.cloud.ces_v1beta.types.ToolResponse
Required. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.