Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome.
Specifies the expectation and the result of that expectation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expectation
def expectation() -> ::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation- (::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation) — Output only. The expectation that was evaluated.
#observed_agent_response
def observed_agent_response() -> ::Google::Cloud::Ces::V1beta::Message-
(::Google::Cloud::Ces::V1beta::Message) — Output only. The result of the agent response expectation.
Note: The following fields are mutually exclusive:
observed_agent_response,observed_tool_call,observed_tool_response,observed_agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.
#observed_agent_transfer
def observed_agent_transfer() -> ::Google::Cloud::Ces::V1beta::AgentTransfer-
(::Google::Cloud::Ces::V1beta::AgentTransfer) — Output only. The result of the agent transfer expectation.
Note: The following fields are mutually exclusive:
observed_agent_transfer,observed_tool_call,observed_tool_response,observed_agent_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
#observed_tool_call
def observed_tool_call() -> ::Google::Cloud::Ces::V1beta::ToolCall-
(::Google::Cloud::Ces::V1beta::ToolCall) — Output only. The result of the tool call expectation.
Note: The following fields are mutually exclusive:
observed_tool_call,observed_tool_response,observed_agent_response,observed_agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.
#observed_tool_response
def observed_tool_response() -> ::Google::Cloud::Ces::V1beta::ToolResponse-
(::Google::Cloud::Ces::V1beta::ToolResponse) — Output only. The result of the tool response expectation.
Note: The following fields are mutually exclusive:
observed_tool_response,observed_tool_call,observed_agent_response,observed_agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.
#outcome
def outcome() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome- (::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome) — Output only. The outcome of the expectation.
#semantic_similarity_result
def semantic_similarity_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::SemanticSimilarityResult- (::Google::Cloud::Ces::V1beta::EvaluationResult::SemanticSimilarityResult) — Output only. The result of the semantic similarity check.
#tool_invocation_result
def tool_invocation_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult- (::Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult) — Output only. The result of the tool invocation check.