You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/01/14 09:22:40 UTC

(camel-jbang-examples) branch main updated: Update pii-redaction.camel.yaml

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-jbang-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 269678c  Update pii-redaction.camel.yaml
269678c is described below

commit 269678c1d9c7028a7fef99d2f6587fa2e9bc211c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 14 10:22:35 2026 +0100

    Update pii-redaction.camel.yaml
---
 openai/pii-redaction/pii-redaction.camel.yaml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/openai/pii-redaction/pii-redaction.camel.yaml b/openai/pii-redaction/pii-redaction.camel.yaml
index ad4dbe3..d2b64a7 100644
--- a/openai/pii-redaction/pii-redaction.camel.yaml
+++ b/openai/pii-redaction/pii-redaction.camel.yaml
@@ -7,10 +7,7 @@
             parameters:
               temperature: 0.15
               jsonSchema: "resource:classpath:pii.schema.json"
-              systemMessage: >
-                You are a strict data privacy compliance assistant. 
-                Your goal is to analyze the user input, redact all PII, 
-                and return the results in the specified JSON format.
+              systemMessage: "You are a strict data privacy compliance assistant. Your goal is to analyze the user input, redact all PII, and return the results in the specified JSON format. RULES: 1. ONLY redact specific identifiers, 2. DO NOT redact generic titles, roles, or common nouns unless they are part of a proper noun. 3. Preserve the grammatical structure of the sentence."
 
 - route:
     from:
@@ -22,4 +19,4 @@
             uri: direct
             parameters:
               name: pii-redaction
-        - to: "stream:out"
\ No newline at end of file
+        - to: "stream:out"