Semantic Filter Pattern


The Semantic Filter Pattern


Your AI’s Privacy and Relevance Guardian

Data domain:

< Input >
Anonymize the data by removing all personally identifiable information and other details that could lead to re-identification.


–Below example executed in ChatGPT Plus —

Sales domain:

< Input : customer complaint list>
Filter out personal details from customer complaints, focusing only on resolving the core issue.

Finance domain:

< Input : Transaction Details>
Remove account numbers and sensitive financial information before sharing transaction summaries.

Healthcare domain:

“Input: “Patient Jane Doe, diagnosed with Type 2 diabetes, is experiencing high blood sugar levels and requires insulin adjustments.”

Filtering Rules:
-Remove any mention of the specific medical condition (diabetes).
-Remove the patient’s name.
-Replace “insulin” with “medication.”

Disclaimer!

LLM like ChatGPT, Gemini can provide incorrect and inaccurate outputs. Always double check the output before you use it.

Have a question?

If you have any other queries, feel free to drop a comment.

Learn More !

Experiment directly with ChatGPT and Google Gemini.
Want to learn more about effective prompts to get the best out of GenAI and LLMs?


Discover more from Debabrata Pruseth

Subscribe to get the latest posts sent to your email.

What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top