public sealed class EvaluationResult.Types.GoldenResult.Types.TurnReplayResult : IMessage<EvaluationResult.Types.GoldenResult.Types.TurnReplayResult>, IEquatable<EvaluationResult.Types.GoldenResult.Types.TurnReplayResult>, IDeepCloneable<EvaluationResult.Types.GoldenResult.Types.TurnReplayResult>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationResult.Types.GoldenResult.Types.TurnReplayResult.
The result of running a single turn of the golden conversation.
Implements
IMessageEvaluationResultTypesGoldenResultTypesTurnReplayResult, IEquatableEvaluationResultTypesGoldenResultTypesTurnReplayResult, IDeepCloneableEvaluationResultTypesGoldenResultTypesTurnReplayResult, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
TurnReplayResult()
public TurnReplayResult()TurnReplayResult(TurnReplayResult)
public TurnReplayResult(EvaluationResult.Types.GoldenResult.Types.TurnReplayResult other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationResultTypesGoldenResultTypesTurnReplayResult |
Properties
Conversation
public string Conversation { get; set; }Output only. The conversation that was generated for this turn.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ConversationAsConversationName
public ConversationName ConversationAsConversationName { get; set; }ConversationName-typed view over the Conversation resource name property.
| Property Value | |
|---|---|
| Type | Description |
ConversationName |
|
ErrorInfo
public EvaluationErrorInfo ErrorInfo { get; set; }Output only. Information about the error that occurred during this turn.
| Property Value | |
|---|---|
| Type | Description |
EvaluationErrorInfo |
|
ExpectationOutcome
public RepeatedField<EvaluationResult.Types.GoldenExpectationOutcome> ExpectationOutcome { get; }Output only. The outcome of each expectation.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEvaluationResultTypesGoldenExpectationOutcome |
|
HallucinationResult
public EvaluationResult.Types.HallucinationResult HallucinationResult { get; set; }Output only. The result of the hallucination check.
| Property Value | |
|---|---|
| Type | Description |
EvaluationResultTypesHallucinationResult |
|
HasToolOrderedInvocationScore
public bool HasToolOrderedInvocationScore { get; }Gets whether the "tool_ordered_invocation_score" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
OverallToolInvocationResult
public EvaluationResult.Types.OverallToolInvocationResult OverallToolInvocationResult { get; set; }Output only. The result of the overall tool invocation check.
| Property Value | |
|---|---|
| Type | Description |
EvaluationResultTypesOverallToolInvocationResult |
|
SemanticSimilarityResult
public EvaluationResult.Types.SemanticSimilarityResult SemanticSimilarityResult { get; set; }Output only. The result of the semantic similarity check.
| Property Value | |
|---|---|
| Type | Description |
EvaluationResultTypesSemanticSimilarityResult |
|
SpanLatencies
public RepeatedField<EvaluationResult.Types.SpanLatency> SpanLatencies { get; }Output only. The latency of spans in the turn.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEvaluationResultTypesSpanLatency |
|
ToolCallLatencies
public RepeatedField<EvaluationResult.Types.ToolCallLatency> ToolCallLatencies { get; }Output only. The latency of each tool call in the turn.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEvaluationResultTypesToolCallLatency |
|
ToolInvocationScore
[Obsolete]
public float ToolInvocationScore { get; set; }Output only. Deprecated. Use OverallToolInvocationResult instead.
| Property Value | |
|---|---|
| Type | Description |
float |
|
ToolOrderedInvocationScore
public float ToolOrderedInvocationScore { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
float |
|
TurnLatency
public Duration TurnLatency { get; set; }Output only. Duration of the turn.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|