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