LogRedaction

org.llm4s.core.safety.LogRedaction
object LogRedaction

Delegate to org.llm4s.util.Redaction for all redaction functionality.

This object is preserved for backward compatibility. New code should use org.llm4s.util.Redaction directly.

Attributes

Deprecated
[Since version 0.2.0] Use org.llm4s.util.Redaction instead
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def redact(input: String, placeholder: String): String
def redactForLogging(input: String, maxLength: Int, placeholder: String): String
def safe(value: Any): String

Concrete fields

val RedactionPlaceholder: String