Skip to content

Commit a5257a8

Browse files
authored
Merge pull request #139 from aws-samples/fixes/tca-testing
Fixes/040rcTesting
2 parents 0b5e571 + c2b531a commit a5257a8

File tree

8 files changed

+39
-17
lines changed

8 files changed

+39
-17
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.0] - 2022-11-27
8+
### Added
9+
- Supports ingestion of post-call output transcripts from Transcribe Real-time Call Analytics.
10+
- Supports integration with Live Call Analytics and Agent Assist (LCA) v0.6.0 or later. See [LCA Integration](./README.md#live-call-analytics-and-agent-assist-companion-solution)
11+
12+
713
## [0.3.4] - 2022-11-9
814
### Added
915
- Additional processing for Genesys CTR telephony files. See [Integration with Telephony CTR Files](./README.md#integration-with-telephony-ctr-files)
@@ -90,7 +96,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9096
### Added
9197
- Initial release
9298

93-
[Unreleased]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/compare/v0.3.4...develop
99+
[Unreleased]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/compare/v0.4.0...develop
100+
[0.4.0]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.4
94101
[0.3.4]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.4
95102
[0.3.3]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.3
96103
[0.3.2]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.2

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ Your contact center connects your business to your community, enabling customers
88

99
This sample solution, Post Call Analytics (PCA), does most of the heavy lifting associated with providing an end-to-end solution that can process call recordings from your existing contact center. PCA provides actionable insights to spot emerging trends, identify agent coaching opportunities, and assess the general sentiment of calls.
1010

11-
If you already have Amazon Transcribe transcripts generated from the Streaming Call Analytics feature then those output transcripts can de delivered to PCA so that they can be aggregated and analyzed in exactly the same way as any audio files that you process from telephony system. You can use PCA with audio files, with transcript files, or with both.
11+
If you already have Amazon Transcribe transcripts generated from the Streaming Call Analytics feature then those output transcripts can de delivered to PCA so that they can be aggregated and analyzed in exactly the same way as any audio files that you process from telephony system. You can use PCA with audio files, with transcript files, or with both.
12+
13+
*(New!) The latest version (v0.6.0) of our companion Live Call Analytics and Agent Assist (LCA) supports Amazon Transcribe Real-time Call Analytics and provides easy integration with PCA. See [Live Call Analytics and Agent Assist: Companion Solution](#live-call-analytics-and-agent-assist-companion-solution) section below.*
1214

1315
PCA currently supports the following features:
1416

1517
* **Source Input Data**
1618
* Audio files can be delivered to audio ingestion location in Amazon S3, which is defined in AWS Systems Manager Parameter store in the bucket defined in `InputBucketName` and folder `InputBucketRawAudio`.
17-
* Transcript files from Transcribe's Streaming Analytics APIs can be delivered to the transcript ingest location in Amazon S3, which is defined in AWS Systems Manager Parameter store in the bucket defined in `InputBucketName` and folder `InputBucketTranscribeResults`
19+
* Transcript files from Transcribe's Streaming Analytics APIs can be delivered to the transcript ingest location in Amazon S3, which is defined in AWS Systems Manager Parameter store in the bucket defined in `InputBucketName` and folder `InputBucketOrigTranscripts`
1820

1921

2022
* **Transcription** *(audio files only)*
@@ -209,6 +211,10 @@ As before, your new password must have a length of at least 8 characters, and co
209211

210212
You’re now logged in to the transcript search Finder application. The sample audio files are indexed already, and ready for search.
211213

214+
## Live Call Analytics and Agent Assist: Companion solution
215+
216+
Our companion solution, Live Call Analytics and Agent Assist (LCA), offers real-time transcription and analytics capabilities by using the Amazon Transcribe real-time APIs. Unlike PCA, which transcribes and analyzes recorded audio after the call has ended, LCA transcribes and analyzes your calls as they are happening and provides real-time updates to supervisors and agents.  The new Amazon Transcribe Real-time Call Analytics service provides post-call analytics output from your streaming sessions just a few minutes after the call has ended. LCA (v 0.6.0 or later) can now send this post-call analytics data to PCA to provide analytics visualizations for completed calls without needing to transcribe the audio a second time. Configure LCA (v0.6.0 or later) to integrate with PCA (v0.4.0 or later) and use the two solutions together to get the best of both worlds.. See [Live call analytics and agent assist for your contact center with Amazon language AI services](https://www.amazon.com/live-call-analytics) for more information.
217+
212218
## Learn more
213219

214220
Check out the AWS blog post: [Post call analytics for your contact center with Amazon language AI services](https://www.amazon.com/post-call-analytics)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.4
1+
0.4.0

pca-main-nokendra.template

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: "2010-09-09"
22

3-
Description: Amazon Transcribe Post Call Analytics - PCA (v0.3.4) (uksb-1sn29lk73)
3+
Description: Amazon Transcribe Post Call Analytics - PCA (v0.4.0) (uksb-1sn29lk73)
44

55
Parameters:
66

@@ -74,7 +74,7 @@ Parameters:
7474
InputBucketAudioPlayback:
7575
Type: String
7676
Default: playbackAudio
77-
Description: Folder that holds the audio files to playback in the browser when original audio cannot be used
77+
Description: Folder that holds the audio files to playback in the browser.
7878

7979
InputBucketFailedTranscriptions:
8080
Type: String
@@ -609,6 +609,10 @@ Outputs:
609609
InputBucketTranscriptPrefix:
610610
Description: S3 Bucket prefix/folder for uploading input transcripts
611611
Value: !Ref InputBucketOrigTranscripts
612+
613+
InputBucketPlaybackAudioPrefix:
614+
Description: S3 Bucket prefix/folder for audio used for playboack from browser
615+
Value: !Ref InputBucketAudioPlayback
612616

613617
OutputBucket:
614618
Description: S3 Bucket where Transcribe output files are delivered

pca-main.template

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: "2010-09-09"
22

3-
Description: Amazon Transcribe Post Call Analytics - PCA (v0.3.4) (uksb-1sn29lk73)
3+
Description: Amazon Transcribe Post Call Analytics - PCA (v0.4.0) (uksb-1sn29lk73)
44

55
Parameters:
66

@@ -74,7 +74,7 @@ Parameters:
7474
InputBucketAudioPlayback:
7575
Type: String
7676
Default: playbackAudio
77-
Description: Folder that holds the audio files to playback in the browser when original audio cannot be used
77+
Description: Folder that holds the audio files to playback in the browser
7878

7979
InputBucketFailedTranscriptions:
8080
Type: String
@@ -755,6 +755,10 @@ Outputs:
755755
InputBucketTranscriptPrefix:
756756
Description: S3 Bucket prefix/folder for uploading input transcripts
757757
Value: !Ref InputBucketOrigTranscripts
758+
759+
InputBucketPlaybackAudioPrefix:
760+
Description: S3 Bucket prefix/folder for audio used for playboack from browser
761+
Value: !Ref InputBucketAudioPlayback
758762

759763
OutputBucket:
760764
Description: S3 Bucket where Transcribe output files are delivered

pca-server/cfn/lib/trigger.template

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ Resources:
116116
Variables:
117117
StackName: !Ref AWS::StackName
118118

119-
ConfigureBucketAudioFile:
119+
ConfigureBucket:
120120
Type: "AWS::CloudFormation::CustomResource"
121+
DependsOn:
122+
- FileDropTriggerPermission
121123
Properties:
122124
ServiceToken: !GetAtt ConfigureBucketFunction.Arn
123125
BucketName: !Ref InputBucketName
@@ -127,7 +129,8 @@ Resources:
127129
ConfigureBucketTranscriptFile:
128130
Type: "AWS::CloudFormation::CustomResource"
129131
DependsOn:
130-
- ConfigureBucketAudioFile
132+
- FileDropTriggerPermission
133+
- ConfigureBucket
131134
Properties:
132135
ServiceToken: !GetAtt ConfigureBucketFunction.Arn
133136
BucketName: !Ref InputBucketName

publish-nokendra.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ popd
8282

8383
echo "Packaging Cfn artifacts"
8484
aws cloudformation package --template-file pca-main-nokendra.template --output-template-file build/packaged.template --s3-bucket ${BUCKET} --s3-prefix ${PREFIX_AND_VERSION} --region ${region}|| exit 1
85+
aws s3 cp build/packaged.template "s3://${BUCKET}/${PREFIX}/pca-main.yaml" || exit 1
8586

8687
if $PUBLIC; then
8788
echo "Setting public read ACLs on published artifacts"
@@ -92,17 +93,14 @@ if $PUBLIC; then
9293
done
9394
fi
9495

95-
aws s3 cp build/packaged.template "s3://${BUCKET}/${PREFIX}/pca-main.yaml" || exit 1
96-
9796
echo "Validating Cfn artifacts"
9897
template="https://s3.${region}.amazonaws.com/${BUCKET}/${PREFIX}/pca-main.yaml"
9998
aws cloudformation validate-template --template-url $template > /dev/null || exit 1
10099

101-
102100
echo "Outputs"
103101
echo Template URL: $template
104-
echo CF Launch URL: https://${region}.console.aws.amazon.com/cloudformation/home?region=${region}#/stacks/create/review?templateURL=${template}\&stackName=PostCallAnalytics
105-
echo CLI Deploy: aws cloudformation deploy --template-file `pwd`/build/packaged.template --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --stack-name PostCallAnalytics --parameter-overrides AdminEmail=johndoe@example.com
102+
echo CF Launch URL: https://${region}.console.aws.amazon.com/cloudformation/home?region=${region}#/stacks/create/review?templateURL=${template}\&stackName=PCA
103+
echo CLI Deploy: aws cloudformation deploy --template-file `pwd`/build/packaged.template --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --stack-name PCA --parameter-overrides AdminEmail=johndoe@example.com
106104

107105
echo Done
108106
exit 0

publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ aws cloudformation validate-template --template-url $template > /dev/null || exi
113113

114114
echo "Outputs"
115115
echo Template URL: $template
116-
echo CF Launch URL: https://${region}.console.aws.amazon.com/cloudformation/home?region=${region}#/stacks/create/review?templateURL=${template}\&stackName=PostCallAnalytics
117-
echo CLI Deploy: aws cloudformation deploy --template-file `pwd`/build/packaged.template --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --stack-name PostCallAnalytics --parameter-overrides AdminEmail=johndoe@example.com
116+
echo CF Launch URL: https://${region}.console.aws.amazon.com/cloudformation/home?region=${region}#/stacks/create/review?templateURL=${template}\&stackName=PCA
117+
echo CLI Deploy: aws cloudformation deploy --template-file `pwd`/build/packaged.template --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --stack-name PCA --parameter-overrides AdminEmail=johndoe@example.com
118118

119119
echo Done
120120
exit 0

0 commit comments

Comments
 (0)