static GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.builder() |
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.Builder.inputStrength(String inputStrength) |
The strength of the content filter to apply to prompts.
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.Builder.inputStrength(GuardrailFilterStrength inputStrength) |
The strength of the content filter to apply to prompts.
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.Builder.outputStrength(String outputStrength) |
The strength of the content filter to apply to model responses.
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.Builder.outputStrength(GuardrailFilterStrength outputStrength) |
The strength of the content filter to apply to model responses.
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.toBuilder() |
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.Builder.type(String type) |
The harmful category that the content filter is applied to.
|
GuardrailContentFilterConfig.Builder |
GuardrailContentFilterConfig.Builder.type(GuardrailContentFilterType type) |
The harmful category that the content filter is applied to.
|