Interface ClarifyTextConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClarifyTextConfig.Builder,
,ClarifyTextConfig> SdkBuilder<ClarifyTextConfig.Builder,
,ClarifyTextConfig> SdkPojo
- Enclosing class:
ClarifyTextConfig
public static interface ClarifyTextConfig.Builder
extends SdkPojo, CopyableBuilder<ClarifyTextConfig.Builder,ClarifyTextConfig>
-
Method Summary
Modifier and TypeMethodDescriptiongranularity
(String granularity) The unit of granularity for the analysis of text features.granularity
(ClarifyTextGranularity granularity) The unit of granularity for the analysis of text features.language
(ClarifyTextLanguage language) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
language
-
language
-
granularity
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.- Parameters:
granularity
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
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.- Parameters:
granularity
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-