![]() |
VOOZH | about |
dotnet add package AICentral.Logging.PIIStripping --version 0.21.0
NuGet\Install-Package AICentral.Logging.PIIStripping -Version 0.21.0
<PackageReference Include="AICentral.Logging.PIIStripping" Version="0.21.0" />
<PackageVersion Include="AICentral.Logging.PIIStripping" Version="0.21.0" />Directory.Packages.props
<PackageReference Include="AICentral.Logging.PIIStripping" />Project file
paket add AICentral.Logging.PIIStripping --version 0.21.0
#r "nuget: AICentral.Logging.PIIStripping, 0.21.0"
#:package AICentral.Logging.PIIStripping@0.21.0
#addin nuget:?package=AICentral.Logging.PIIStripping&version=0.21.0Install as a Cake Addin
#tool nuget:?package=AICentral.Logging.PIIStripping&version=0.21.0Install as a Cake Tool
An Asynchronous logger for use with (AICentral)[www.github.com/microsoft/aicentral]. This logger leverages the Azure Text Analytics API to strip prompts and responses of PII data.
dotnet add package AICentral.Logging.PIIStripping
builder.Services.AddAICentral(
builder.Configuration,
additionalComponentAssemblies:
[
typeof(PIIStrippingLogger).Assembly,
]);
{
"AICentral": {
"GenericSteps": [
{
"Type": "PIIStrippingLogger",
"Name": "pii-stripping-logger",
"Properties": {
"UseManagedIdentities": "true|false",
"UserAssignedManagedIdentityId": "<id-or-blank>",
"StorageQueueConnectionString": "<storage-connection-string>",
"QueueName": "queue-to-write-to",
"TextAnalyticsEndpoint": "<text-analytics-uri>",
"TextAnalyticsKey": "<text-analytics-key-if-if-not-using-managed-identities>",
"CosmosDatabase": "cosmos-database-to-log-to",
"CosmosContainer": "container-to-log-to",
"CosmosConnectionString": "<cosmos-connection-string-if-not-using-managed-identities>",
"StorageUri": "<uri-to-storage-if-using-managed-identities>",
"PIIStrippingDisabled": false
}
}
]
}
}
This logger is a wrapper around the AICentral logger that uses the Text Analytics API to strip PII data from the prompts and responses before logging them to Cosmos. Log statements are initially written to an Azure Queue, and then read from the queue by a separate background service, that uses the Text Analytics API to strip PII data. The stripped log statements are then written to Cosmos.
The Container needs to have a partition key specified by '/id'.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.21.0 | 247 | 12/9/2024 |
| 0.21.0-pullrequest0152-0005 | 201 | 12/9/2024 |
| 0.21.0-pullrequest0152-0004 | 188 | 12/9/2024 |
| 0.20.6 | 235 | 11/1/2024 |
| 0.20.6-pullrequest0150-0003 | 194 | 11/1/2024 |
| 0.20.5 | 224 | 9/30/2024 |
| 0.20.5-pullrequest0148-0004 | 223 | 9/30/2024 |
| 0.20.5-pullrequest0148-0002 | 178 | 9/30/2024 |
| 0.20.4 | 210 | 9/13/2024 |
| 0.20.4-pullrequest0147-0002 | 194 | 9/13/2024 |
| 0.20.3 | 239 | 9/5/2024 |
| 0.20.3-pullrequest0146-0005 | 213 | 9/5/2024 |
| 0.20.3-pullrequest0146-0004 | 181 | 9/5/2024 |
| 0.20.1 | 255 | 8/22/2024 |
| 0.20.1-pullrequest0144-0002 | 178 | 8/19/2024 |
| 0.20.0 | 235 | 8/17/2024 |
| 0.20.0-pullrequest0143-0013 | 177 | 8/17/2024 |
| 0.20.0-pullrequest0143-0012 | 224 | 8/17/2024 |
| 0.20.0-pullrequest0143-0011 | 170 | 8/17/2024 |
| 0.20.0-pullrequest0143-0010 | 195 | 8/17/2024 |