Package | Description |
---|---|
com.oracle.bmc.generativeaiagent.model |
Modifier and Type | Method and Description |
---|---|
static GuardrailMode |
GuardrailMode.create(String key) |
GuardrailMode |
PromptInjectionGuardrailConfig.getInputGuardrailMode()
An input guardrail mode for prompt injection.
|
GuardrailMode |
PersonallyIdentifiableInformationGuardrailConfig.getInputGuardrailMode()
An input guardrail mode for personally identifiable information.
|
GuardrailMode |
ContentModerationGuardrailConfig.getInputGuardrailMode()
An input guardrail mode for content moderation.
|
GuardrailMode |
PersonallyIdentifiableInformationGuardrailConfig.getOutputGuardrailMode()
An output guardrail mode for personally identifiable information.
|
GuardrailMode |
ContentModerationGuardrailConfig.getOutputGuardrailMode()
An output guardrail mode for content moderation.
|
static GuardrailMode |
GuardrailMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GuardrailMode[] |
GuardrailMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
PromptInjectionGuardrailConfig.Builder |
PromptInjectionGuardrailConfig.Builder.inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for prompt injection.
|
PersonallyIdentifiableInformationGuardrailConfig.Builder |
PersonallyIdentifiableInformationGuardrailConfig.Builder.inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for personally identifiable information.
|
ContentModerationGuardrailConfig.Builder |
ContentModerationGuardrailConfig.Builder.inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for content moderation.
|
PersonallyIdentifiableInformationGuardrailConfig.Builder |
PersonallyIdentifiableInformationGuardrailConfig.Builder.outputGuardrailMode(GuardrailMode outputGuardrailMode)
An output guardrail mode for personally identifiable information.
|
ContentModerationGuardrailConfig.Builder |
ContentModerationGuardrailConfig.Builder.outputGuardrailMode(GuardrailMode outputGuardrailMode)
An output guardrail mode for content moderation.
|
Constructor and Description |
---|
ContentModerationGuardrailConfig(GuardrailMode inputGuardrailMode,
GuardrailMode outputGuardrailMode)
Deprecated.
|
PersonallyIdentifiableInformationGuardrailConfig(GuardrailMode inputGuardrailMode,
GuardrailMode outputGuardrailMode)
Deprecated.
|
PromptInjectionGuardrailConfig(GuardrailMode inputGuardrailMode)
Deprecated.
|
Copyright © 2016–2025. All rights reserved.