GuardrailConfig

class oci.generative_ai_agent.models.GuardrailConfig(**kwargs)

Bases: object

The configuration details about whether to apply the guardrail checks to input and output.

Methods:

__init__(**kwargs)

Initializes a new GuardrailConfig object with values from keyword arguments.

Attributes:

content_moderation_config

Gets the content_moderation_config of this GuardrailConfig.

personally_identifiable_information_config

Gets the personally_identifiable_information_config of this GuardrailConfig.

prompt_injection_config

Gets the prompt_injection_config of this GuardrailConfig.

__init__(**kwargs)

Initializes a new GuardrailConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
property content_moderation_config

Gets the content_moderation_config of this GuardrailConfig.

Returns

The content_moderation_config of this GuardrailConfig.

Return type

oci.generative_ai_agent.models.ContentModerationGuardrailConfig

property personally_identifiable_information_config

Gets the personally_identifiable_information_config of this GuardrailConfig.

Returns

The personally_identifiable_information_config of this GuardrailConfig.

Return type

oci.generative_ai_agent.models.PersonallyIdentifiableInformationGuardrailConfig

property prompt_injection_config

Gets the prompt_injection_config of this GuardrailConfig.

Returns

The prompt_injection_config of this GuardrailConfig.

Return type

oci.generative_ai_agent.models.PromptInjectionGuardrailConfig