Package com.sap.ai.sdk.orchestration

# Interface ContentFilter

All Known Implementing Classes:
  `AzureContentFilter`, `LlamaGuardFilter`

public interface ContentFilter
Interface representing convenience wrappers of serializable content filter that defines thresholds for different content categories.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `InputFilterConfig`
  `createInputFilterConfig()`
  A method that produces the serializable equivalent `InputFilterConfig` object from data encapsulated in the `ContentFilter` object.
  `OutputFilterConfig`
  `createOutputFilterConfig()`
  A method that produces the serializable equivalent `OutputFilterConfig` object from data encapsulated in the `ContentFilter` object.

- ## Method Details

  - ### createInputFilterConfig

    @Beta @Nonnull InputFilterConfig createInputFilterConfig()
    A method that produces the serializable equivalent `InputFilterConfig` object from data encapsulated in the `ContentFilter` object.
    Returns:
      the corresponding `InputFilterConfig` object.

  - ### createOutputFilterConfig

    @Beta @Nonnull OutputFilterConfig createOutputFilterConfig()
    A method that produces the serializable equivalent `OutputFilterConfig` object from data encapsulated in the `ContentFilter` object.
    Returns:
      the corresponding `OutputFilterConfig` object.