Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation.

The tool call and response pair to be evaluated.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expected_tool_call

def expected_tool_call() -> ::Google::Cloud::Ces::V1beta::ToolCall
Returns

#expected_tool_call=

def expected_tool_call=(value) -> ::Google::Cloud::Ces::V1beta::ToolCall
Parameter
  • value (::Google::Cloud::Ces::V1beta::ToolCall) — Required. The expected tool call, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.
Returns

#mock_tool_response

def mock_tool_response() -> ::Google::Cloud::Ces::V1beta::ToolResponse
Returns

#mock_tool_response=

def mock_tool_response=(value) -> ::Google::Cloud::Ces::V1beta::ToolResponse
Parameter
Returns