Data masking

Replacing the personal or confidential values in a prompt with placeholders before it leaves for a model, and putting them back in the answer. Anonymisation, where the values are gone for good, and pseudonymisation, where they return, are the two forms; which fields count as sensitive is the application's question, not the module's.

Overview

SAP SHIPS

@sap-ai-sdk/orchestration carries the same masking module into a Node.js or CAP service, configured per call and per fallback configuration.

Not covered: At the call. What the SDK masks is what the orchestration service masks; the fields the application chooses to send are its own decision.

THE COMMUNITY ADDS

cap-llm-plugin does the anonymisation in SAP HANA before the prompt leaves the database, which is a different place to do the same job.

Artifacts3

3 of 3 artifacts
ArtifactSignals
CDS plugins1
cap-llm-pluginGenerative AI in CAP with fields anonymised through SAP HANA
Signals
Functional boundary
Packages1
@sap-ai-sdk/orchestrationOrchestration Service client for templating, grounding and masking
Signals
none
Services1
SAP AI CoreAI runtime on BTP with the Generative AI Hub
Signals
none

Content1

Group by
Piece, what it offers
Data Masking
SAP BTP AI Best Practices, SAP, DocThe reasoningA reference

Seen working1

ArtifactSignals
Samples1
SAP BTP AI Best Practice Demo - Data Masking - CAPCAP samples generating email through SAP AI Core with anonymization
Functional boundary

Details

Coverage
statecore and community, CAP
assessed
relationshipunassessed
also inBTP/BAIP
For your agent