public static class PromptInjectionGuardrailConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PromptInjectionGuardrailConfig |
build() |
PromptInjectionGuardrailConfig.Builder |
copy(PromptInjectionGuardrailConfig model) |
PromptInjectionGuardrailConfig.Builder |
inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for prompt injection.
|
public PromptInjectionGuardrailConfig.Builder inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for prompt injection.
inputGuardrailMode
- the value to setpublic PromptInjectionGuardrailConfig build()
public PromptInjectionGuardrailConfig.Builder copy(PromptInjectionGuardrailConfig model)
Copyright © 2016–2025. All rights reserved.