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 Details

    • language

      ClarifyTextConfig.Builder language(String language)

      Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.

      For a mix of multiple languages, use code 'xx'.

      Parameters:
      language - Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.

      For a mix of multiple languages, use code 'xx'.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • language

      Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.

      For a mix of multiple languages, use code 'xx'.

      Parameters:
      language - Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.

      For a mix of multiple languages, use code 'xx'.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • granularity

      ClarifyTextConfig.Builder granularity(String 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: