public static final class EvaluationResult.GoldenResult.TurnReplayResult.Builder extends GeneratedMessage.Builder<EvaluationResult.GoldenResult.TurnReplayResult.Builder> implements EvaluationResult.GoldenResult.TurnReplayResultOrBuilderThe result of running a single turn of the golden conversation.
Protobuf type
google.cloud.ces.v1beta.EvaluationResult.GoldenResult.TurnReplayResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationResult.GoldenResult.TurnReplayResult.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExpectationOutcome(Iterable<? extends EvaluationResult.GoldenExpectationOutcome> values)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addAllExpectationOutcome(Iterable<? extends EvaluationResult.GoldenExpectationOutcome> values)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome> |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addAllSpanLatencies(Iterable<? extends EvaluationResult.SpanLatency> values)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addAllSpanLatencies(Iterable<? extends EvaluationResult.SpanLatency> values)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.ces.v1beta.EvaluationResult.SpanLatency> |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addAllToolCallLatencies(Iterable<? extends EvaluationResult.ToolCallLatency> values)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addAllToolCallLatencies(Iterable<? extends EvaluationResult.ToolCallLatency> values)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency> |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addExpectationOutcome(EvaluationResult.GoldenExpectationOutcome value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addExpectationOutcome(EvaluationResult.GoldenExpectationOutcome value)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.GoldenExpectationOutcome |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addExpectationOutcome(EvaluationResult.GoldenExpectationOutcome.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addExpectationOutcome(EvaluationResult.GoldenExpectationOutcome.Builder builderForValue)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationResult.GoldenExpectationOutcome.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome value)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EvaluationResult.GoldenExpectationOutcome |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome.Builder builderForValue)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EvaluationResult.GoldenExpectationOutcome.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addExpectationOutcomeBuilder()
public EvaluationResult.GoldenExpectationOutcome.Builder addExpectationOutcomeBuilder()Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenExpectationOutcome.Builder |
|
addExpectationOutcomeBuilder(int index)
public EvaluationResult.GoldenExpectationOutcome.Builder addExpectationOutcomeBuilder(int index)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenExpectationOutcome.Builder |
|
addSpanLatencies(EvaluationResult.SpanLatency value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addSpanLatencies(EvaluationResult.SpanLatency value)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.SpanLatency |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addSpanLatencies(EvaluationResult.SpanLatency.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addSpanLatencies(EvaluationResult.SpanLatency.Builder builderForValue)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationResult.SpanLatency.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addSpanLatencies(int index, EvaluationResult.SpanLatency value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addSpanLatencies(int index, EvaluationResult.SpanLatency value)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EvaluationResult.SpanLatency |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addSpanLatencies(int index, EvaluationResult.SpanLatency.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addSpanLatencies(int index, EvaluationResult.SpanLatency.Builder builderForValue)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EvaluationResult.SpanLatency.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addSpanLatenciesBuilder()
public EvaluationResult.SpanLatency.Builder addSpanLatenciesBuilder()Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SpanLatency.Builder |
|
addSpanLatenciesBuilder(int index)
public EvaluationResult.SpanLatency.Builder addSpanLatenciesBuilder(int index)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SpanLatency.Builder |
|
addToolCallLatencies(EvaluationResult.ToolCallLatency value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addToolCallLatencies(EvaluationResult.ToolCallLatency value)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.ToolCallLatency |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addToolCallLatencies(EvaluationResult.ToolCallLatency.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addToolCallLatencies(EvaluationResult.ToolCallLatency.Builder builderForValue)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationResult.ToolCallLatency.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addToolCallLatencies(int index, EvaluationResult.ToolCallLatency value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addToolCallLatencies(int index, EvaluationResult.ToolCallLatency value)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EvaluationResult.ToolCallLatency |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addToolCallLatencies(int index, EvaluationResult.ToolCallLatency.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder addToolCallLatencies(int index, EvaluationResult.ToolCallLatency.Builder builderForValue)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EvaluationResult.ToolCallLatency.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
addToolCallLatenciesBuilder()
public EvaluationResult.ToolCallLatency.Builder addToolCallLatenciesBuilder()Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.ToolCallLatency.Builder |
|
addToolCallLatenciesBuilder(int index)
public EvaluationResult.ToolCallLatency.Builder addToolCallLatenciesBuilder(int index)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.ToolCallLatency.Builder |
|
build()
public EvaluationResult.GoldenResult.TurnReplayResult build()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult |
|
buildPartial()
public EvaluationResult.GoldenResult.TurnReplayResult buildPartial()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult |
|
clear()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearConversation()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearConversation()Output only. The conversation that was generated for this turn.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
clearErrorInfo()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearErrorInfo()Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearExpectationOutcome()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearExpectationOutcome()Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearHallucinationResult()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearHallucinationResult()Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearOverallToolInvocationResult()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearOverallToolInvocationResult()Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearSemanticSimilarityResult()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearSemanticSimilarityResult()Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearSpanLatencies()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearSpanLatencies()Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearToolCallLatencies()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearToolCallLatencies()Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
clearToolInvocationScore() (deprecated)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearToolInvocationScore()Deprecated. google.cloud.ces.v1beta.EvaluationResult.GoldenResult.TurnReplayResult.tool_invocation_score is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=593
Output only. Deprecated. Use OverallToolInvocationResult instead.
float tool_invocation_score = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
clearToolOrderedInvocationScore()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearToolOrderedInvocationScore()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.
optional float tool_ordered_invocation_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
clearTurnLatency()
public EvaluationResult.GoldenResult.TurnReplayResult.Builder clearTurnLatency()Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
getConversation()
public String getConversation()Output only. The conversation that was generated for this turn.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The conversation. |
getConversationBytes()
public ByteString getConversationBytes()Output only. The conversation that was generated for this turn.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for conversation. |
getDefaultInstanceForType()
public EvaluationResult.GoldenResult.TurnReplayResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorInfo()
public EvaluationErrorInfo getErrorInfo()Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationErrorInfo |
The errorInfo. |
getErrorInfoBuilder()
public EvaluationErrorInfo.Builder getErrorInfoBuilder()Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationErrorInfo.Builder |
|
getErrorInfoOrBuilder()
public EvaluationErrorInfoOrBuilder getErrorInfoOrBuilder()Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationErrorInfoOrBuilder |
|
getExpectationOutcome(int index)
public EvaluationResult.GoldenExpectationOutcome getExpectationOutcome(int index)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenExpectationOutcome |
|
getExpectationOutcomeBuilder(int index)
public EvaluationResult.GoldenExpectationOutcome.Builder getExpectationOutcomeBuilder(int index)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenExpectationOutcome.Builder |
|
getExpectationOutcomeBuilderList()
public List<EvaluationResult.GoldenExpectationOutcome.Builder> getExpectationOutcomeBuilderList()Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getExpectationOutcomeCount()
public int getExpectationOutcomeCount()Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getExpectationOutcomeList()
public List<EvaluationResult.GoldenExpectationOutcome> getExpectationOutcomeList()Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<GoldenExpectationOutcome> |
|
getExpectationOutcomeOrBuilder(int index)
public EvaluationResult.GoldenExpectationOutcomeOrBuilder getExpectationOutcomeOrBuilder(int index)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenExpectationOutcomeOrBuilder |
|
getExpectationOutcomeOrBuilderList()
public List<? extends EvaluationResult.GoldenExpectationOutcomeOrBuilder> getExpectationOutcomeOrBuilderList()Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcomeOrBuilder> |
|
getHallucinationResult()
public EvaluationResult.HallucinationResult getHallucinationResult()Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.HallucinationResult |
The hallucinationResult. |
getHallucinationResultBuilder()
public EvaluationResult.HallucinationResult.Builder getHallucinationResultBuilder()Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.HallucinationResult.Builder |
|
getHallucinationResultOrBuilder()
public EvaluationResult.HallucinationResultOrBuilder getHallucinationResultOrBuilder()Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.HallucinationResultOrBuilder |
|
getOverallToolInvocationResult()
public EvaluationResult.OverallToolInvocationResult getOverallToolInvocationResult()Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.OverallToolInvocationResult |
The overallToolInvocationResult. |
getOverallToolInvocationResultBuilder()
public EvaluationResult.OverallToolInvocationResult.Builder getOverallToolInvocationResultBuilder()Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.OverallToolInvocationResult.Builder |
|
getOverallToolInvocationResultOrBuilder()
public EvaluationResult.OverallToolInvocationResultOrBuilder getOverallToolInvocationResultOrBuilder()Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.OverallToolInvocationResultOrBuilder |
|
getSemanticSimilarityResult()
public EvaluationResult.SemanticSimilarityResult getSemanticSimilarityResult()Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SemanticSimilarityResult |
The semanticSimilarityResult. |
getSemanticSimilarityResultBuilder()
public EvaluationResult.SemanticSimilarityResult.Builder getSemanticSimilarityResultBuilder()Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SemanticSimilarityResult.Builder |
|
getSemanticSimilarityResultOrBuilder()
public EvaluationResult.SemanticSimilarityResultOrBuilder getSemanticSimilarityResultOrBuilder()Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SemanticSimilarityResultOrBuilder |
|
getSpanLatencies(int index)
public EvaluationResult.SpanLatency getSpanLatencies(int index)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SpanLatency |
|
getSpanLatenciesBuilder(int index)
public EvaluationResult.SpanLatency.Builder getSpanLatenciesBuilder(int index)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SpanLatency.Builder |
|
getSpanLatenciesBuilderList()
public List<EvaluationResult.SpanLatency.Builder> getSpanLatenciesBuilderList()Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSpanLatenciesCount()
public int getSpanLatenciesCount()Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSpanLatenciesList()
public List<EvaluationResult.SpanLatency> getSpanLatenciesList()Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<SpanLatency> |
|
getSpanLatenciesOrBuilder(int index)
public EvaluationResult.SpanLatencyOrBuilder getSpanLatenciesOrBuilder(int index)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.SpanLatencyOrBuilder |
|
getSpanLatenciesOrBuilderList()
public List<? extends EvaluationResult.SpanLatencyOrBuilder> getSpanLatenciesOrBuilderList()Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.SpanLatencyOrBuilder> |
|
getToolCallLatencies(int index)
public EvaluationResult.ToolCallLatency getToolCallLatencies(int index)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.ToolCallLatency |
|
getToolCallLatenciesBuilder(int index)
public EvaluationResult.ToolCallLatency.Builder getToolCallLatenciesBuilder(int index)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.ToolCallLatency.Builder |
|
getToolCallLatenciesBuilderList()
public List<EvaluationResult.ToolCallLatency.Builder> getToolCallLatenciesBuilderList()Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getToolCallLatenciesCount()
public int getToolCallLatenciesCount()Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getToolCallLatenciesList()
public List<EvaluationResult.ToolCallLatency> getToolCallLatenciesList()Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<ToolCallLatency> |
|
getToolCallLatenciesOrBuilder(int index)
public EvaluationResult.ToolCallLatencyOrBuilder getToolCallLatenciesOrBuilder(int index)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.ToolCallLatencyOrBuilder |
|
getToolCallLatenciesOrBuilderList()
public List<? extends EvaluationResult.ToolCallLatencyOrBuilder> getToolCallLatenciesOrBuilderList()Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatencyOrBuilder> |
|
getToolInvocationScore() (deprecated)
public float getToolInvocationScore()Deprecated. google.cloud.ces.v1beta.EvaluationResult.GoldenResult.TurnReplayResult.tool_invocation_score is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=593
Output only. Deprecated. Use OverallToolInvocationResult instead.
float tool_invocation_score = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
float |
The toolInvocationScore. |
getToolOrderedInvocationScore()
public float getToolOrderedInvocationScore()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.
optional float tool_ordered_invocation_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
float |
The toolOrderedInvocationScore. |
getTurnLatency()
public Duration getTurnLatency()Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The turnLatency. |
getTurnLatencyBuilder()
public Duration.Builder getTurnLatencyBuilder()Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTurnLatencyOrBuilder()
public DurationOrBuilder getTurnLatencyOrBuilder()Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasErrorInfo()
public boolean hasErrorInfo()Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorInfo field is set. |
hasHallucinationResult()
public boolean hasHallucinationResult()Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hallucinationResult field is set. |
hasOverallToolInvocationResult()
public boolean hasOverallToolInvocationResult()Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the overallToolInvocationResult field is set. |
hasSemanticSimilarityResult()
public boolean hasSemanticSimilarityResult()Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the semanticSimilarityResult field is set. |
hasToolOrderedInvocationScore()
public boolean hasToolOrderedInvocationScore()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.
optional float tool_ordered_invocation_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolOrderedInvocationScore field is set. |
hasTurnLatency()
public boolean hasTurnLatency()Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the turnLatency field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorInfo(EvaluationErrorInfo value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeErrorInfo(EvaluationErrorInfo value)Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationErrorInfo |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
mergeFrom(EvaluationResult.GoldenResult.TurnReplayResult other)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeFrom(EvaluationResult.GoldenResult.TurnReplayResult other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationResult.GoldenResult.TurnReplayResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
mergeHallucinationResult(EvaluationResult.HallucinationResult value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeHallucinationResult(EvaluationResult.HallucinationResult value)Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.HallucinationResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
mergeOverallToolInvocationResult(EvaluationResult.OverallToolInvocationResult value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeOverallToolInvocationResult(EvaluationResult.OverallToolInvocationResult value)Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.OverallToolInvocationResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
mergeSemanticSimilarityResult(EvaluationResult.SemanticSimilarityResult value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeSemanticSimilarityResult(EvaluationResult.SemanticSimilarityResult value)Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.SemanticSimilarityResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
mergeTurnLatency(Duration value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder mergeTurnLatency(Duration value)Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
removeExpectationOutcome(int index)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder removeExpectationOutcome(int index)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
removeSpanLatencies(int index)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder removeSpanLatencies(int index)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
removeToolCallLatencies(int index)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder removeToolCallLatencies(int index)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setConversation(String value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setConversation(String value)Output only. The conversation that was generated for this turn.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe conversation to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
setConversationBytes(ByteString value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setConversationBytes(ByteString value)Output only. The conversation that was generated for this turn.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for conversation to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
setErrorInfo(EvaluationErrorInfo value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setErrorInfo(EvaluationErrorInfo value)Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationErrorInfo |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setErrorInfo(EvaluationErrorInfo.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setErrorInfo(EvaluationErrorInfo.Builder builderForValue)Output only. Information about the error that occurred during this turn.
.google.cloud.ces.v1beta.EvaluationErrorInfo error_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationErrorInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome value)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EvaluationResult.GoldenExpectationOutcome |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setExpectationOutcome(int index, EvaluationResult.GoldenExpectationOutcome.Builder builderForValue)Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.GoldenExpectationOutcome expectation_outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EvaluationResult.GoldenExpectationOutcome.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setHallucinationResult(EvaluationResult.HallucinationResult value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setHallucinationResult(EvaluationResult.HallucinationResult value)Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.HallucinationResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setHallucinationResult(EvaluationResult.HallucinationResult.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setHallucinationResult(EvaluationResult.HallucinationResult.Builder builderForValue)Output only. The result of the hallucination check.
.google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationResult.HallucinationResult.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setOverallToolInvocationResult(EvaluationResult.OverallToolInvocationResult value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setOverallToolInvocationResult(EvaluationResult.OverallToolInvocationResult value)Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.OverallToolInvocationResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setOverallToolInvocationResult(EvaluationResult.OverallToolInvocationResult.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setOverallToolInvocationResult(EvaluationResult.OverallToolInvocationResult.Builder builderForValue)Output only. The result of the overall tool invocation check.
.google.cloud.ces.v1beta.EvaluationResult.OverallToolInvocationResult overall_tool_invocation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationResult.OverallToolInvocationResult.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setSemanticSimilarityResult(EvaluationResult.SemanticSimilarityResult value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setSemanticSimilarityResult(EvaluationResult.SemanticSimilarityResult value)Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationResult.SemanticSimilarityResult |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setSemanticSimilarityResult(EvaluationResult.SemanticSimilarityResult.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setSemanticSimilarityResult(EvaluationResult.SemanticSimilarityResult.Builder builderForValue)Output only. The result of the semantic similarity check.
.google.cloud.ces.v1beta.EvaluationResult.SemanticSimilarityResult semantic_similarity_result = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationResult.SemanticSimilarityResult.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setSpanLatencies(int index, EvaluationResult.SpanLatency value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setSpanLatencies(int index, EvaluationResult.SpanLatency value)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EvaluationResult.SpanLatency |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setSpanLatencies(int index, EvaluationResult.SpanLatency.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setSpanLatencies(int index, EvaluationResult.SpanLatency.Builder builderForValue)Output only. The latency of spans in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EvaluationResult.SpanLatency.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setToolCallLatencies(int index, EvaluationResult.ToolCallLatency value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setToolCallLatencies(int index, EvaluationResult.ToolCallLatency value)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EvaluationResult.ToolCallLatency |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setToolCallLatencies(int index, EvaluationResult.ToolCallLatency.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setToolCallLatencies(int index, EvaluationResult.ToolCallLatency.Builder builderForValue)Output only. The latency of each tool call in the turn.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EvaluationResult.ToolCallLatency.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setToolInvocationScore(float value) (deprecated)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setToolInvocationScore(float value)Deprecated. google.cloud.ces.v1beta.EvaluationResult.GoldenResult.TurnReplayResult.tool_invocation_score is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=593
Output only. Deprecated. Use OverallToolInvocationResult instead.
float tool_invocation_score = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe toolInvocationScore to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
setToolOrderedInvocationScore(float value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setToolOrderedInvocationScore(float value)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.
optional float tool_ordered_invocation_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe toolOrderedInvocationScore to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
This builder for chaining. |
setTurnLatency(Duration value)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setTurnLatency(Duration value)Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|
setTurnLatency(Duration.Builder builderForValue)
public EvaluationResult.GoldenResult.TurnReplayResult.Builder setTurnLatency(Duration.Builder builderForValue)Output only. Duration of the turn.
.google.protobuf.Duration turn_latency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.GoldenResult.TurnReplayResult.Builder |
|