GuardrailVersionConfig¶
-
class
oci.generative_ai_inference.models.GuardrailVersionConfig(**kwargs)¶ Bases:
objectThe version of the guardrail to use. If not specified, the default version will be used.
Methods
__init__(**kwargs)Initializes a new GuardrailVersionConfig object with values from keyword arguments. Attributes
guardrail_version[Required] Gets the guardrail_version of this GuardrailVersionConfig. -
__init__(**kwargs)¶ Initializes a new GuardrailVersionConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: guardrail_version (str) – The value to assign to the guardrail_version property of this GuardrailVersionConfig.
-
guardrail_version¶ [Required] Gets the guardrail_version of this GuardrailVersionConfig. The version string, e.g., “1.0.0”. When a PATCH version is not specified, the latest available PATCH within the specified MAJOR and MINOR version will be used.
Returns: The guardrail_version of this GuardrailVersionConfig. Return type: str
-