Configure the Oracle Cloud Infrastructure (OCI) Language AI Service

Complete the steps in the following procedure to configure the Oracle Cloud Infrastructure (OCI) Language AI service – so that PII will be detected.

To configure the OCI Language AI service

  • Modify the relevant user properties in the 'Service Request' Business Component (such as the Business Component field) as required.

    The following table describes the user properties to modify and their values.

    BC User Property Name BC User Property Value
    BatchDetectLanguagePiiEntities_Param_1 text:FIELD=Description
    BatchDetectLanguagePiiEntities_Param_2 output:FIELD=PII Flag
    BatchDetectLanguagePiiEntities_Param_3 mode:MASK

    [ Supported options:MASK, REPLACE & REMOVE]

    BatchDetectLanguagePiiEntities_Param_4 isUnmaskedFromEnd:true
    BatchDetectLanguagePiiEntities_Param_5 leaveCharactersUnmasked:3
    BatchDetectLanguagePiiEntities_Param_6 maskingCharacter:*
    BatchDetectLanguagePiiEntities_Param_7 modifyText:false
    BatchDetectLanguagePiiEntities_Param_8 domain:ALL (or PII/PHI)
    BatchDetectLanguagePiiEntities_Param_9 documentType: <CHANGE_ME> (value like EHR)
    BatchDetectLanguagePiiEntities_Param_10 speciality: <CHANGE_ME> (value like paediatrics)
    BatchDetectLanguagePiiEntities_Param_11 compartmentId: <CHANGE_ME>
  • For REPLACE masking option, additional Business User properties need to be added as follows:

    BC User Property Name BC User Property Value

    BatchDetectLanguagePiiEntities_Param_12

    replaceWith:#Not to be Disclosed

  • Other properties that need to be specified when configuring the OCI Language AI service for Text Classification are listed in the following table.

    BC User Property Name BC User Property Value
    BatchDetectLanguageTextClassification_Param_1 text:FIELD=Description (or any other Field name which has the text content to be classified - Field name should be taken from Applet →List →List Column Value)
    BatchDetectLanguageTextClassification_Param_2 endpointId:<CHANGE_ME> (OCID of the custom ML Language model trained on customer data)
    BatchDetectLanguageTextClassification_Param_3 compartmentId:<CHANGE_ME>
    BatchDetectLanguageTextClassification_Param_4 output:FIELD=Area,Sub-Area (or any other Field names where classified label to be populated)
    BatchDetectLanguageTextClassification_Param_5 modelDelimiter:/ (or any other Delimiter to be used to separate output Fields in the custom data during Model