Skip to content

/AWS1/CL_BDRGUARDRAILUSAGE

The details on the use of the guardrail.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_topicpolicyunits TYPE /AWS1/BDRGUARDRAILTPCPLYUNIT00 /AWS1/BDRGUARDRAILTPCPLYUNIT00

The topic policy units processed by the guardrail.

iv_contentpolicyunits TYPE /AWS1/BDRGUARDRAILCONTPLYUNI00 /AWS1/BDRGUARDRAILCONTPLYUNI00

The content policy units processed by the guardrail.

iv_wordpolicyunits TYPE /AWS1/BDRGUARDRAILWORDPLYUNI00 /AWS1/BDRGUARDRAILWORDPLYUNI00

The word policy units processed by the guardrail.

iv_sensitiveinfmtionplyunits TYPE /AWS1/BDRGUARDRAILSENSITIVEI01 /AWS1/BDRGUARDRAILSENSITIVEI01

The sensitive information policy units processed by the guardrail.

iv_sensitiveinfmtionplyfre00 TYPE /AWS1/BDRGUARDRAILSENSITIVEI02 /AWS1/BDRGUARDRAILSENSITIVEI02

The sensitive information policy free units processed by the guardrail.

iv_ctxualgroundingplyunits TYPE /AWS1/BDRGUARDRAILCTXUALGROU00 /AWS1/BDRGUARDRAILCTXUALGROU00

The contextual grounding policy units processed by the guardrail.

Optional arguments:

iv_contentpolicyimageunits TYPE /AWS1/BDRGUARDRAILCONTPLYIMA00 /AWS1/BDRGUARDRAILCONTPLYIMA00

The content policy image units processed by the guardrail.

iv_automatedrsningplyunits TYPE /AWS1/BDRGUARDRAILAUTOMATEDR00 /AWS1/BDRGUARDRAILAUTOMATEDR00

The number of text units processed by the automated reasoning policy.

iv_automatedreasoningpol TYPE /AWS1/BDRGUARDRAILAUTOMATEDR01 /AWS1/BDRGUARDRAILAUTOMATEDR01

The number of automated reasoning policies that were processed during the guardrail evaluation.


Queryable Attributes

topicPolicyUnits

The topic policy units processed by the guardrail.

Accessible with the following methods

Method Description
GET_TOPICPOLICYUNITS() Getter for TOPICPOLICYUNITS, with configurable default
ASK_TOPICPOLICYUNITS() Getter for TOPICPOLICYUNITS w/ exceptions if field has no va
HAS_TOPICPOLICYUNITS() Determine if TOPICPOLICYUNITS has a value

contentPolicyUnits

The content policy units processed by the guardrail.

Accessible with the following methods

Method Description
GET_CONTENTPOLICYUNITS() Getter for CONTENTPOLICYUNITS, with configurable default
ASK_CONTENTPOLICYUNITS() Getter for CONTENTPOLICYUNITS w/ exceptions if field has no
HAS_CONTENTPOLICYUNITS() Determine if CONTENTPOLICYUNITS has a value

wordPolicyUnits

The word policy units processed by the guardrail.

Accessible with the following methods

Method Description
GET_WORDPOLICYUNITS() Getter for WORDPOLICYUNITS, with configurable default
ASK_WORDPOLICYUNITS() Getter for WORDPOLICYUNITS w/ exceptions if field has no val
HAS_WORDPOLICYUNITS() Determine if WORDPOLICYUNITS has a value

sensitiveInformationPolicyUnits

The sensitive information policy units processed by the guardrail.

Accessible with the following methods

Method Description
GET_SENSITIVEINFMTIONPLYUN00() Getter for SENSITIVEINFORMATIONPLYUNITS, with configurable d
ASK_SENSITIVEINFMTIONPLYUN00() Getter for SENSITIVEINFORMATIONPLYUNITS w/ exceptions if fie
HAS_SENSITIVEINFMTIONPLYUN00() Determine if SENSITIVEINFORMATIONPLYUNITS has a value

sensitiveInformationPolicyFreeUnits

The sensitive information policy free units processed by the guardrail.

Accessible with the following methods

Method Description
GET_SENSITIVEINFMTIONPLYFR00() Getter for SENSITIVEINFMTIONPLYFREEUN00, with configurable d
ASK_SENSITIVEINFMTIONPLYFR00() Getter for SENSITIVEINFMTIONPLYFREEUN00 w/ exceptions if fie
HAS_SENSITIVEINFMTIONPLYFR00() Determine if SENSITIVEINFMTIONPLYFREEUN00 has a value

contextualGroundingPolicyUnits

The contextual grounding policy units processed by the guardrail.

Accessible with the following methods

Method Description
GET_CTXUALGROUNDINGPLYUNITS() Getter for CTXUALGROUNDINGPOLICYUNITS, with configurable def
ASK_CTXUALGROUNDINGPLYUNITS() Getter for CTXUALGROUNDINGPOLICYUNITS w/ exceptions if field
HAS_CTXUALGROUNDINGPLYUNITS() Determine if CTXUALGROUNDINGPOLICYUNITS has a value

contentPolicyImageUnits

The content policy image units processed by the guardrail.

Accessible with the following methods

Method Description
GET_CONTENTPOLICYIMAGEUNITS() Getter for CONTENTPOLICYIMAGEUNITS, with configurable defaul
ASK_CONTENTPOLICYIMAGEUNITS() Getter for CONTENTPOLICYIMAGEUNITS w/ exceptions if field ha
HAS_CONTENTPOLICYIMAGEUNITS() Determine if CONTENTPOLICYIMAGEUNITS has a value

automatedReasoningPolicyUnits

The number of text units processed by the automated reasoning policy.

Accessible with the following methods

Method Description
GET_AUTOMATEDRSNINGPLYUNITS() Getter for AUTOMATEDREASONINGPLYUNITS, with configurable def
ASK_AUTOMATEDRSNINGPLYUNITS() Getter for AUTOMATEDREASONINGPLYUNITS w/ exceptions if field
HAS_AUTOMATEDRSNINGPLYUNITS() Determine if AUTOMATEDREASONINGPLYUNITS has a value

automatedReasoningPolicies

The number of automated reasoning policies that were processed during the guardrail evaluation.

Accessible with the following methods

Method Description
GET_AUTOMATEDREASONINGPOL() Getter for AUTOMATEDREASONINGPOLICIES, with configurable def
ASK_AUTOMATEDREASONINGPOL() Getter for AUTOMATEDREASONINGPOLICIES w/ exceptions if field
HAS_AUTOMATEDREASONINGPOL() Determine if AUTOMATEDREASONINGPOLICIES has a value