ApplyGuardrailsResult

class oci.generative_ai_inference.models.ApplyGuardrailsResult(**kwargs)

Bases: object

The result of applying guardrails to the input text.

Methods

__init__(**kwargs) Initializes a new ApplyGuardrailsResult object with values from keyword arguments.

Attributes

results [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.
results

[Required] Gets the results of this ApplyGuardrailsResult.

Returns:The results of this ApplyGuardrailsResult.
Return type:oci.generative_ai_inference.models.GuardrailsResults