TurnReplayResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)The result of running a single turn of the golden conversation.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
conversation |
str
Output only. The conversation that was generated for this turn. |
expectation_outcome |
MutableSequence[google.cloud.ces_v1beta.types.EvaluationResult.GoldenExpectationOutcome]
Output only. The outcome of each expectation. |
hallucination_result |
google.cloud.ces_v1beta.types.EvaluationResult.HallucinationResult
Output only. The result of the hallucination check. |
tool_invocation_score |
float
Output only. Deprecated. Use OverallToolInvocationResult instead. |
tool_ordered_invocation_score |
float
Output only. The overall tool ordered invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked in the expected order. This field is a member of oneof_ _tool_ordered_invocation_score.
|
turn_latency |
google.protobuf.duration_pb2.Duration
Output only. Duration of the turn. |
tool_call_latencies |
MutableSequence[google.cloud.ces_v1beta.types.EvaluationResult.ToolCallLatency]
Output only. The latency of each tool call in the turn. |
semantic_similarity_result |
google.cloud.ces_v1beta.types.EvaluationResult.SemanticSimilarityResult
Output only. The result of the semantic similarity check. |
overall_tool_invocation_result |
google.cloud.ces_v1beta.types.EvaluationResult.OverallToolInvocationResult
Output only. The result of the overall tool invocation check. |
error_info |
google.cloud.ces_v1beta.types.EvaluationErrorInfo
Output only. Information about the error that occurred during this turn. |
span_latencies |
MutableSequence[google.cloud.ces_v1beta.types.EvaluationResult.SpanLatency]
Output only. The latency of spans in the turn. |