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 <[email protected]>
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"

Reply via email to