Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::MockConfig.
Mock tool calls configuration for the session.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mocked_tool_calls
def mocked_tool_calls() -> ::Array<::Google::Cloud::Ces::V1beta::MockedToolCall>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::MockedToolCall>) — Optional. All tool calls to mock for the duration of the session.
#mocked_tool_calls=
def mocked_tool_calls=(value) -> ::Array<::Google::Cloud::Ces::V1beta::MockedToolCall>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::MockedToolCall>) — Optional. All tool calls to mock for the duration of the session.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::MockedToolCall>) — Optional. All tool calls to mock for the duration of the session.
#unmatched_tool_call_behavior
def unmatched_tool_call_behavior() -> ::Google::Cloud::Ces::V1beta::MockConfig::UnmatchedToolCallBehavior
Returns
- (::Google::Cloud::Ces::V1beta::MockConfig::UnmatchedToolCallBehavior) — Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.
#unmatched_tool_call_behavior=
def unmatched_tool_call_behavior=(value) -> ::Google::Cloud::Ces::V1beta::MockConfig::UnmatchedToolCallBehavior
Parameter
- value (::Google::Cloud::Ces::V1beta::MockConfig::UnmatchedToolCallBehavior) — Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.
Returns
- (::Google::Cloud::Ces::V1beta::MockConfig::UnmatchedToolCallBehavior) — Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.