ClarifyTextConfig
¶
Source code in docs_src/capo_sagemaker/types/clarify_text_config.py
granularity
instance-attribute
¶
granularity: NotRequired[ClarifyTextGranularity]
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.
language
instance-attribute
¶
language: NotRequired[ClarifyTextLanguage]