GuardrailConfigs¶
-
class
oci.generative_ai_inference.models.
GuardrailConfigs
(**kwargs)¶ Bases:
object
Additional configuration for each guardrail.
Methods
__init__
(**kwargs)Initializes a new GuardrailConfigs object with values from keyword arguments. Attributes
content_moderation_config
Gets the content_moderation_config of this GuardrailConfigs. personally_identifiable_information_config
Gets the personally_identifiable_information_config of this GuardrailConfigs. prompt_injection_config
Gets the prompt_injection_config of this GuardrailConfigs. -
__init__
(**kwargs)¶ Initializes a new GuardrailConfigs object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - content_moderation_config (oci.generative_ai_inference.models.ContentModerationConfiguration) – The value to assign to the content_moderation_config property of this GuardrailConfigs.
- personally_identifiable_information_config (oci.generative_ai_inference.models.PersonallyIdentifiableInformationConfiguration) – The value to assign to the personally_identifiable_information_config property of this GuardrailConfigs.
- prompt_injection_config (oci.generative_ai_inference.models.PromptInjectionConfiguration) – The value to assign to the prompt_injection_config property of this GuardrailConfigs.
-
content_moderation_config
¶ Gets the content_moderation_config of this GuardrailConfigs.
Returns: The content_moderation_config of this GuardrailConfigs. Return type: oci.generative_ai_inference.models.ContentModerationConfiguration
-
personally_identifiable_information_config
¶ Gets the personally_identifiable_information_config of this GuardrailConfigs.
Returns: The personally_identifiable_information_config of this GuardrailConfigs. Return type: oci.generative_ai_inference.models.PersonallyIdentifiableInformationConfiguration
-
prompt_injection_config
¶ Gets the prompt_injection_config of this GuardrailConfigs.
Returns: The prompt_injection_config of this GuardrailConfigs. Return type: oci.generative_ai_inference.models.PromptInjectionConfiguration
-