Uses of Record Class
com.tnsai.quality.redaction.RedactionContext
Packages that use RedactionContext
-
Uses of RedactionContext in com.tnsai.quality.redaction
Methods in com.tnsai.quality.redaction that return RedactionContextModifier and TypeMethodDescriptionstatic RedactionContextRedactionContext.llmPrompt(com.tnsai.observability.events.EventContext eventContext) Convenience: context for anRedactionScope.LLM_PROMPTcall with default policy.static RedactionContextRedactionContext.llmResponse(com.tnsai.observability.events.EventContext eventContext) Convenience: context for anRedactionScope.LLM_RESPONSEcall with default policy.static RedactionContextRedactionContext.logAttr(com.tnsai.observability.events.EventContext eventContext) Convenience: context for aRedactionScope.LOG_ATTRcall with default policy.Methods in com.tnsai.quality.redaction with parameters of type RedactionContextModifier and TypeMethodDescriptionstatic RedactionAuditEventRedactionAuditEvent.from(List<RedactionFinding> findings, RedactionContext ctx) Build an audit event from the findings produced by a redactor call.TenantPolicyRedactor.resolve(RedactionContext ctx) Returns theRedactorchosen forctx.AuditingRedactor.scrubString(String input, RedactionContext ctx) CompositeRedactor.scrubString(String input, RedactionContext ctx) PatternRedactor.scrubString(String input, RedactionContext ctx) Redactor.scrubString(String input, RedactionContext ctx) Scrub sensitive patterns out ofinput, returning the redacted text + every match.TenantPolicyRedactor.scrubString(String input, RedactionContext ctx) default ObjectRedactor.scrubValue(Object input, RedactionContext ctx) Recursive scrub of a structured value — Map, List, or scalar.TenantPolicyRedactor.scrubValue(Object input, RedactionContext ctx)