Struct aws_sdk_sagemaker::types::builders::ClarifyTextConfigBuilder
source · #[non_exhaustive]pub struct ClarifyTextConfigBuilder { /* private fields */ }
Expand description
A builder for ClarifyTextConfig
.
Implementations§
source§impl ClarifyTextConfigBuilder
impl ClarifyTextConfigBuilder
sourcepub fn language(self, input: ClarifyTextLanguage) -> Self
pub fn language(self, input: ClarifyTextLanguage) -> Self
sourcepub fn set_language(self, input: Option<ClarifyTextLanguage>) -> Self
pub fn set_language(self, input: Option<ClarifyTextLanguage>) -> Self
sourcepub fn granularity(self, input: ClarifyTextGranularity) -> Self
pub fn granularity(self, input: ClarifyTextGranularity) -> Self
The unit of granularity for the analysis of text features. For example, if the unit is 'token'
, then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
sourcepub fn set_granularity(self, input: Option<ClarifyTextGranularity>) -> Self
pub fn set_granularity(self, input: Option<ClarifyTextGranularity>) -> Self
The unit of granularity for the analysis of text features. For example, if the unit is 'token'
, then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
sourcepub fn build(self) -> ClarifyTextConfig
pub fn build(self) -> ClarifyTextConfig
Consumes the builder and constructs a ClarifyTextConfig
.
Trait Implementations§
source§impl Clone for ClarifyTextConfigBuilder
impl Clone for ClarifyTextConfigBuilder
source§fn clone(&self) -> ClarifyTextConfigBuilder
fn clone(&self) -> ClarifyTextConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClarifyTextConfigBuilder
impl Debug for ClarifyTextConfigBuilder
source§impl Default for ClarifyTextConfigBuilder
impl Default for ClarifyTextConfigBuilder
source§fn default() -> ClarifyTextConfigBuilder
fn default() -> ClarifyTextConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ClarifyTextConfigBuilder> for ClarifyTextConfigBuilder
impl PartialEq<ClarifyTextConfigBuilder> for ClarifyTextConfigBuilder
source§fn eq(&self, other: &ClarifyTextConfigBuilder) -> bool
fn eq(&self, other: &ClarifyTextConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.