ApplyGuardrailsResult

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

Bases: object

The result of applying guardrails to the input content.

Methods:

__init__(**kwargs)

Initializes a new ApplyGuardrailsResult object with values from keyword arguments.

Attributes:

guardrail_version

Gets the guardrail_version of this ApplyGuardrailsResult.

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
property guardrail_version

Gets the guardrail_version of this ApplyGuardrailsResult.

Returns

The guardrail_version of this ApplyGuardrailsResult.

Return type

oci.generative_ai_inference.models.GuardrailVersionResponse

property results

[Required] Gets the results of this ApplyGuardrailsResult.

Returns

The results of this ApplyGuardrailsResult.

Return type

oci.generative_ai_inference.models.GuardrailsResults