ApplyGuardrailsResult¶
- class oci.generative_ai_inference.models.ApplyGuardrailsResult(**kwargs)¶
Bases:
objectThe result of applying guardrails to the input content.
Methods:
__init__(**kwargs)Initializes a new ApplyGuardrailsResult object with values from keyword arguments.
Attributes:
Gets the guardrail_version of this ApplyGuardrailsResult.
[Required] Gets the results of this ApplyGuardrailsResult.
- __init__(**kwargs)¶
Initializes a new ApplyGuardrailsResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
results (oci.generative_ai_inference.models.GuardrailsResults) – The value to assign to the results property of this ApplyGuardrailsResult.
guardrail_version (oci.generative_ai_inference.models.GuardrailVersionResponse) – The value to assign to the guardrail_version property of this ApplyGuardrailsResult.
- property guardrail_version¶
Gets the guardrail_version of this ApplyGuardrailsResult.
- Returns
The guardrail_version of this ApplyGuardrailsResult.
- Return type
- property results¶
[Required] Gets the results of this ApplyGuardrailsResult.
- Returns
The results of this ApplyGuardrailsResult.
- Return type