Struct aws_sdk_lexmodelsv2::types::AgentTurnResult
source · #[non_exhaustive]pub struct AgentTurnResult {
pub expected_agent_prompt: String,
pub actual_agent_prompt: Option<String>,
pub error_details: Option<ExecutionErrorDetails>,
pub actual_elicited_slot: Option<String>,
pub actual_intent: Option<String>,
}
Expand description
The information about the agent turn in a test set execution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.expected_agent_prompt: String
The expected agent prompt for the agent turn in a test set execution.
actual_agent_prompt: Option<String>
The actual agent prompt for the agent turn in a test set execution.
error_details: Option<ExecutionErrorDetails>
Details about an error in an execution of a test set.
actual_elicited_slot: Option<String>
The actual elicited slot for the agent turn in a test set execution.
actual_intent: Option<String>
The actual intent for the agent turn in a test set execution.
Implementations§
source§impl AgentTurnResult
impl AgentTurnResult
sourcepub fn expected_agent_prompt(&self) -> &str
pub fn expected_agent_prompt(&self) -> &str
The expected agent prompt for the agent turn in a test set execution.
sourcepub fn actual_agent_prompt(&self) -> Option<&str>
pub fn actual_agent_prompt(&self) -> Option<&str>
The actual agent prompt for the agent turn in a test set execution.
sourcepub fn error_details(&self) -> Option<&ExecutionErrorDetails>
pub fn error_details(&self) -> Option<&ExecutionErrorDetails>
Details about an error in an execution of a test set.
sourcepub fn actual_elicited_slot(&self) -> Option<&str>
pub fn actual_elicited_slot(&self) -> Option<&str>
The actual elicited slot for the agent turn in a test set execution.
sourcepub fn actual_intent(&self) -> Option<&str>
pub fn actual_intent(&self) -> Option<&str>
The actual intent for the agent turn in a test set execution.
source§impl AgentTurnResult
impl AgentTurnResult
sourcepub fn builder() -> AgentTurnResultBuilder
pub fn builder() -> AgentTurnResultBuilder
Creates a new builder-style object to manufacture AgentTurnResult
.
Trait Implementations§
source§impl Clone for AgentTurnResult
impl Clone for AgentTurnResult
source§fn clone(&self) -> AgentTurnResult
fn clone(&self) -> AgentTurnResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentTurnResult
impl Debug for AgentTurnResult
source§impl PartialEq for AgentTurnResult
impl PartialEq for AgentTurnResult
source§fn eq(&self, other: &AgentTurnResult) -> bool
fn eq(&self, other: &AgentTurnResult) -> bool
self
and other
values to be equal, and is used
by ==
.