次の方法で共有


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

Remarks

The value is false by default, meaning that telemetry will include metadata such as token counts but not raw inputs and outputs such as message content, function call arguments, and function call results.

Applies to