public static interface AgentTurnResult.Builder extends SdkPojo, CopyableBuilder<AgentTurnResult.Builder,AgentTurnResult>
| Modifier and Type | Method and Description |
|---|---|
AgentTurnResult.Builder |
actualAgentPrompt(String actualAgentPrompt)
The actual agent prompt for the agent turn in a test set execution.
|
AgentTurnResult.Builder |
actualElicitedSlot(String actualElicitedSlot)
The actual elicited slot for the agent turn in a test set execution.
|
AgentTurnResult.Builder |
actualIntent(String actualIntent)
The actual intent for the agent turn in a test set execution.
|
default AgentTurnResult.Builder |
errorDetails(Consumer<ExecutionErrorDetails.Builder> errorDetails)
Sets the value of the ErrorDetails property for this object.
|
AgentTurnResult.Builder |
errorDetails(ExecutionErrorDetails errorDetails)
Sets the value of the ErrorDetails property for this object.
|
AgentTurnResult.Builder |
expectedAgentPrompt(String expectedAgentPrompt)
The expected agent prompt for the agent turn in a test set execution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAgentTurnResult.Builder expectedAgentPrompt(String expectedAgentPrompt)
The expected agent prompt for the agent turn in a test set execution.
expectedAgentPrompt - The expected agent prompt for the agent turn in a test set execution.AgentTurnResult.Builder actualAgentPrompt(String actualAgentPrompt)
The actual agent prompt for the agent turn in a test set execution.
actualAgentPrompt - The actual agent prompt for the agent turn in a test set execution.AgentTurnResult.Builder errorDetails(ExecutionErrorDetails errorDetails)
errorDetails - The new value for the ErrorDetails property for this object.default AgentTurnResult.Builder errorDetails(Consumer<ExecutionErrorDetails.Builder> errorDetails)
ExecutionErrorDetails.Builder avoiding
the need to create one manually via ExecutionErrorDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to errorDetails(ExecutionErrorDetails).
errorDetails - a consumer that will call methods on ExecutionErrorDetails.BuildererrorDetails(ExecutionErrorDetails)AgentTurnResult.Builder actualElicitedSlot(String actualElicitedSlot)
The actual elicited slot for the agent turn in a test set execution.
actualElicitedSlot - The actual elicited slot for the agent turn in a test set execution.AgentTurnResult.Builder actualIntent(String actualIntent)
The actual intent for the agent turn in a test set execution.
actualIntent - The actual intent for the agent turn in a test set execution.Copyright © 2023. All rights reserved.