Compartilhar via


OpenTelemetryChatClient.EnableSensitiveData Property

Definition

Gets or sets a value indicating whether potentially sensitive information should be included in telemetry.

public:
 property bool EnableSensitiveData { bool get(); void set(bool value); };
public bool EnableSensitiveData { get; set; }
member this.EnableSensitiveData : bool with get, set
Public Property EnableSensitiveData As Boolean

Property Value

true if potentially sensitive information should be included in telemetry; false if telemetry shouldn't include raw inputs and outputs. The default value is false.

Remarks

By default, telemetry includes metadata, such as token counts, but not raw inputs and outputs, such as message content, function call arguments, and function call results.

Applies to