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: StringThe 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 ==.impl StructuralPartialEq for AgentTurnResult
Auto Trait Implementations§
impl Freeze for AgentTurnResult
impl RefUnwindSafe for AgentTurnResult
impl Send for AgentTurnResult
impl Sync for AgentTurnResult
impl Unpin for AgentTurnResult
impl UnwindSafe for AgentTurnResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more