File size: 663 Bytes
60ba966
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
models:
  - type: self_check_input
    engine: openai
    model: gpt-3.5-turbo-instruct
    parameters:
      temperature: 0

  - type: self_check_output
    engine: openai
    model: gpt-3.5-turbo-instruct
    parameters:
      temperature: 0

rails:
  config:
    sensitive_data_detection:
      output:
        entities:
          - PERSON
          - EMAIL_ADDRESS
          - PHONE_NUMBER
          - PASSWORD
          - ACCOUNT_NUMBER
          - DATE_TIME
          - US_SSN
          - US_BANK_NUMBER
          - LOCATION

  input:
    flows:
      - self check input

  output:
    flows:
      - self check output
      - mask sensitive data on output