Skip to content

Commit

Permalink
Merge branch 'develop' v0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
rstrahan committed Oct 10, 2023
2 parents 79665af + cc14956 commit 92543b6
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 22 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.8.8] - 2023-10-10
### Added
- Agent Assist bot can now generate a draft email from agent to caller, summarizing call and next steps

### Fixed
- Fix #102 - Agent Assist bot widget stopped working - display is blank.
- Pull latest Qnabot Plugins submodule to get [Bedrock embeddings function whitespace fix](https://github.com/aws-samples/qnabot-on-aws-plugin-samples/blob/develop/CHANGELOG.md#fixed)


## [0.8.7] - 2023-10-03
### Added
- Generative transcript summarization and LLM powered Agent Assist are now enabled by default using Amazon Bedrock.
Expand Down Expand Up @@ -312,7 +321,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release

[Unreleased]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.6...develop
[Unreleased]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.8...develop
[0.8.8]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.6...v0.8.7
[0.8.7]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.7...v0.8.6
[0.8.6]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.6...v0.8.5
[0.8.5]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.5...v0.8.4
[0.8.4]: https://github.com/aws-samples/amazon-transcribe-live-call-analytics/compare/v0.8.4...v0.8.3
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.7
0.8.8
7 changes: 4 additions & 3 deletions lca-agentassist-setup-stack/qna-aa-demo.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{"qid":"SlotType.CARDTYPE","descr":"Capture credit card type","resolutionStrategyRestrict":true,"slotTypeValues":[{"samplevalue":"reward-cards","synonyms":"rewards"},{"samplevalue":"purchase-cards","synonyms":"purchase"}],"type":"slottype","_id":"SlotType.CARDTYPE"}
{"qid":"AADEMO.CardTypeAndName","a":"Suggested response: Perfect! Hi {{getSlot 'firstname' '?'}}! How can i help you with your {{getSlot 'cardtype' '?'}} card?","enableQidIntent":true,"slots":[{"slotRequired":true,"slotValueCached":true,"slotName":"cardtype","slotType":"SlotType.CARDTYPE","slotPrompt":"Ask: Is this a rewards card, or a purchase card?","slotSampleUtterances":"It's a {cardtype} card"},{"slotRequired":true,"slotValueCached":true,"slotName":"firstname","slotType":"AMAZON.FirstName","slotPrompt":"Ask caller to state their first name only, for verification purposes. It should be ‘Bob’ per callerId lookup."}],"type":"qna","q":["I’m calling about my {cardtype} card.","Hi. My name is {firstname}. I’m calling about my card.","Hi. My name is {firstname}. I’m calling about my {cardtype} card.","Hi. My name is {firstname}."]}
{"qid":"CustomNoMatches","a":"{{Settings.EMPTYMESSAGE}}","alt":{"markdown":"{{Settings.EMPTYMESSAGE}}"},"type":"qna","q":["no_hits"]}
{"qid":"AA.SummarizeCall","a":"Call summary lambda hook failed","type":"qna","q":["Summarize current call"],"l":"<LCASummarizeCallFunctionName>","args":["<br><br>Human:<br>{transcript}<br><br>Summarize the above transcript in no more than 5 sentences, using gender neutral pronouns. Were the caller's needs met during the call?<br><br>Assistant: Here is a summary in 5 sentences:"],"r":{"buttons":[{"text":"Summarize Current Call","value":"QID::AA.SummarizeCall"},{"text":"Identify Current Topic","value":"QID::AA.CurrentTopic"}],"title": "Buttons"}}
{"qid":"AA.CurrentTopic","a":"Call summary lambda hook failed","type":"qna","q":["Identify current topic"],"l":"<LCASummarizeCallFunctionName>","args":["<br><br>Human:<br>{transcript}<br><br>Summarize the most recent issue or topic discussed in this call.<br><br>Assistant: The most recent topic or issue is:"], "r":{"buttons":[{"text":"Summarize Current Call","value":"QID::AA.SummarizeCall"},{"text":"Identify Current Topic","value":"QID::AA.CurrentTopic"}],"title": "Buttons"}}
{"qid":"AA.StartMessage","a":"*LCA Agent Assistant is ready. Ask knowledge base questions or request a summary of the current call.*","alt":{"markdown": "*LCA Agent Assistant is ready. Ask knowledge base questions or request a summary of the current call.*"},"r":{"buttons":[{"text":"Summarize Current Call","value":"QID::AA.SummarizeCall"},{"text":"Identify Current Topic","value":"QID::AA.CurrentTopic"}],"title": "Buttons"},"type":"qna","q":["Start Agent Assist"]}
{"qid":"AA.SummarizeCall","a":"Call summary lambda hook failed","type":"qna","q":["Summarize current call"],"l":"<LCASummarizeCallFunctionName>","args":["<br><br>Human:<br>{transcript}<br><br>Summarize the above transcript in no more than 5 sentences, using gender neutral pronouns. Were the caller's needs met during the call?<br><br>Assistant: Here is a summary in 5 sentences:"],"r":{"buttons":[{"text":"Summarize Current Call","value":"QID::AA.SummarizeCall"},{"text":"Identify Current Topic","value":"QID::AA.CurrentTopic"},{"text":"Generate Email","value":"QID::AA.GenerateEmail"}],"title": "Buttons"}}
{"qid":"AA.CurrentTopic","a":"Call summary lambda hook failed","type":"qna","q":["Identify current topic"],"l":"<LCASummarizeCallFunctionName>","args":["<br><br>Human:<br>{transcript}<br><br>Summarize the most recent issue or topic discussed in this call.<br><br>Assistant: The most recent topic or issue is:"], "r":{"buttons":[{"text":"Summarize Current Call","value":"QID::AA.SummarizeCall"},{"text":"Identify Current Topic","value":"QID::AA.CurrentTopic"},{"text":"Generate Email","value":"QID::AA.GenerateEmail"}],"title": "Buttons"}}
{"qid":"AA.GenerateEmail","a":"Call summary lambda hook failed","type":"qna","q":["Write followup email"],"l":"<LCASummarizeCallFunctionName>","args":["<br><br>Human:<br>{transcript}<br><br>Write a follow-up email from the agent to the caller. The email should include a greeting, a summary of the reasons why the caller called, a summary of actions taken during the call, a summary of any outstanding issues, and a summary of action items and next steps, if any. Write the email in the first person.<br><br>Assistant:"]}
{"qid":"AA.StartMessage","a":"*LCA Agent Assistant is ready. Ask knowledge base questions or request a summary of the current call.*","alt":{"markdown": "*LCA Agent Assistant is ready. Ask knowledge base questions or request a summary of the current call.*"},"r":{"buttons":[{"text":"Summarize Current Call","value":"QID::AA.SummarizeCall"},{"text":"Identify Current Topic","value":"QID::AA.CurrentTopic"},{"text":"Generate Email","value":"QID::AA.GenerateEmail"}],"title": "Buttons"},"type":"qna","q":["Start Agent Assist"]}
2 changes: 1 addition & 1 deletion lca-ai-stack/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.7
0.8.8
2 changes: 1 addition & 1 deletion lca-ai-stack/deployment/lca-ai-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Parameters:
BootstrapVersion:
Type: String
Default: 0.8.7
Default: 0.8.8
Description: >
Artifacts version (semver). Used to point to a specific release in the S3
bootstrap bucket
Expand Down
8 changes: 4 additions & 4 deletions lca-ai-stack/samconfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ use_container = true
# shared account
[shared.global.parameters]
s3_bucket = "lca-artifacts-253873381732-us-east-1"
s3_prefix = "artifacts/lca/0.8.7"
s3_prefix = "artifacts/lca/0.8.8"

[shared.deploy.parameters]
stack_name = "LiveCallAnalytics"
s3_bucket = "lca-artifacts-253873381732-us-east-1"
s3_prefix = "artifacts/lca/0.8.7"
s3_prefix = "artifacts/lca/0.8.8"
region = "us-east-1"
fail_on_empty_changeset = false
confirm_changeset = true
capabilities = "CAPABILITY_IAM CAPABILITY_AUTO_EXPAND"
parameter_overrides = [
"BootstrapBucketBaseName=lca-artifacts-253873381732",
"BootstrapS3Prefix=artifacts/lca",
"BootstrapVersion=0.8.7",
"BootstrapVersion=0.8.8",
"S3BucketName=shared-ai-for-chime-vc-audio",
"IsContentRedactionEnabled=true",
"IsSentimentAnalysisEnabled=true",
Expand All @@ -32,4 +32,4 @@ parameter_overrides = [

[shared.package.parameters]
s3_bucket = "lca-artifacts-253873381732-us-east-1"
s3_prefix = "artifacts/lca/0.8.7"
s3_prefix = "artifacts/lca/0.8.8"
12 changes: 6 additions & 6 deletions lca-ai-stack/source/ui/download-lexwebui.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/master/dist/lex-web-ui-loader.css --output public/lex-web-ui-loader.css
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/master/dist/lex-web-ui-loader.min.css --output public/lex-web-ui-loader.min.css
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/master/dist/lex-web-ui-loader.min.js --output public/lex-web-ui-loader.min.js
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/master/dist/lex-web-ui.min.css --output public/lex-web-ui.min.css
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/master/dist/lex-web-ui.min.js --output public/lex-web-ui.min.js
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/master/dist/wav-worker.min.js --output public/wav-worker.min.js
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/v0.19.9/dist/lex-web-ui-loader.css --output public/lex-web-ui-loader.css
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/v0.19.9/dist/lex-web-ui-loader.min.css --output public/lex-web-ui-loader.min.css
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/v0.19.9/dist/lex-web-ui-loader.min.js --output public/lex-web-ui-loader.min.js
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/v0.19.9/dist/lex-web-ui.min.css --output public/lex-web-ui.min.css
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/v0.19.9/dist/lex-web-ui.min.js --output public/lex-web-ui.min.js
curl https://raw.githubusercontent.com/aws-samples/aws-lex-web-ui/v0.19.9/dist/wav-worker.min.js --output public/wav-worker.min.js

4 changes: 2 additions & 2 deletions lca-ai-stack/source/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lca-ai-stack/source/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lca-ui",
"version": "0.8.7",
"version": "0.8.8",
"private": true,
"dependencies": {
"@aws-amplify/ui-components": "^1.9.6",
Expand Down
2 changes: 1 addition & 1 deletion lca-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31

Description: Amazon Transcribe Live Call Analytics with Agent Assist - LCA (v0.8.7) (SO9072)
Description: Amazon Transcribe Live Call Analytics with Agent Assist - LCA (v0.8.8) (SO9072)

Parameters:
CallAudioSource:
Expand Down

0 comments on commit 92543b6

Please sign in to comment.