aws pii support

This commit is contained in:
Dave Horton
2023-12-01 10:32:19 -05:00
parent c4dcb051be
commit 8022f9d16c
3 changed files with 10 additions and 9 deletions

View File

@@ -517,7 +517,8 @@ module.exports = (logger) => {
...(awsOptions.region && {AWS_REGION: awsOptions.region}),
...(awsOptions.securityToken && {AWS_SECURITY_TOKEN: awsOptions.securityToken}),
...(awsOptions.languageModelName && {AWS_LANGUAGE_MODEL_NAME: awsOptions.languageModelName}),
...(awsOptions.piiEntityTypes && {AWS_PII_ENTITY_TYPES: awsOptions.piiEntityTypes}),
...(awsOptions.piiEntityTypes?.length && {AWS_PII_ENTITY_TYPES: awsOptions.piiEntityTypes.join(',')}),
...(awsOptions.piiIdentifyEntities && {AWS_PII_IDENTIFY_ENTITIES: true}),
};
}
else if ('microsoft' === vendor) {

14
package-lock.json generated
View File

@@ -18,7 +18,7 @@
"@jambonz/speech-utils": "^0.0.30",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.48",
"@jambonz/verb-specifications": "^0.0.49",
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/exporter-jaeger": "^1.18.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.45.1",
@@ -4347,9 +4347,9 @@
}
},
"node_modules/@jambonz/verb-specifications": {
"version": "0.0.48",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.48.tgz",
"integrity": "sha512-qOr39CQ3uVIA9Ocdp6BIhSyVTvL5Tvby0pfLUz4WYZhyWLQaQgl7JIOHzyWTg4kulJah9DFZtnCekVcTQYjQqg==",
"version": "0.0.49",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.49.tgz",
"integrity": "sha512-Xu4vf1uajlNSkP8dFZOVfRq2cL2ruMxkB5i8q9FISTL4NEk9Gh7cmyDtTlmwu9rIWzIoGQ/bXBVz7ya6X0AziA==",
"dependencies": {
"debug": "^4.3.4",
"pino": "^8.8.0"
@@ -15478,9 +15478,9 @@
}
},
"@jambonz/verb-specifications": {
"version": "0.0.48",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.48.tgz",
"integrity": "sha512-qOr39CQ3uVIA9Ocdp6BIhSyVTvL5Tvby0pfLUz4WYZhyWLQaQgl7JIOHzyWTg4kulJah9DFZtnCekVcTQYjQqg==",
"version": "0.0.49",
"resolved": "https://registry.npmjs.org/@jambonz/verb-specifications/-/verb-specifications-0.0.49.tgz",
"integrity": "sha512-Xu4vf1uajlNSkP8dFZOVfRq2cL2ruMxkB5i8q9FISTL4NEk9Gh7cmyDtTlmwu9rIWzIoGQ/bXBVz7ya6X0AziA==",
"requires": {
"debug": "^4.3.4",
"pino": "^8.8.0"

View File

@@ -34,7 +34,7 @@
"@jambonz/speech-utils": "^0.0.30",
"@jambonz/stats-collector": "^0.1.9",
"@jambonz/time-series": "^0.2.8",
"@jambonz/verb-specifications": "^0.0.48",
"@jambonz/verb-specifications": "^0.0.49",
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/exporter-jaeger": "^1.18.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.45.1",