diff --git a/CHANGELOG.md b/CHANGELOG.md index d1a37f0e..8096e40d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. @@ -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 diff --git a/VERSION b/VERSION index 1e9b46b2..6201b5f7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.7 +0.8.8 diff --git a/lca-agentassist-setup-stack/qna-aa-demo.jsonl b/lca-agentassist-setup-stack/qna-aa-demo.jsonl index d930c2e5..5fbaaf57 100644 --- a/lca-agentassist-setup-stack/qna-aa-demo.jsonl +++ b/lca-agentassist-setup-stack/qna-aa-demo.jsonl @@ -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":"","args":["

Human:
{transcript}

Summarize the above transcript in no more than 5 sentences, using gender neutral pronouns. Were the caller's needs met during the call?

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":"","args":["

Human:
{transcript}

Summarize the most recent issue or topic discussed in this call.

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":"","args":["

Human:
{transcript}

Summarize the above transcript in no more than 5 sentences, using gender neutral pronouns. Were the caller's needs met during the call?

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":"","args":["

Human:
{transcript}

Summarize the most recent issue or topic discussed in this call.

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":"","args":["

Human:
{transcript}

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.

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"]} diff --git a/lca-ai-stack/VERSION b/lca-ai-stack/VERSION index 1e9b46b2..6201b5f7 100644 --- a/lca-ai-stack/VERSION +++ b/lca-ai-stack/VERSION @@ -1 +1 @@ -0.8.7 +0.8.8 diff --git a/lca-ai-stack/deployment/lca-ai-stack.yaml b/lca-ai-stack/deployment/lca-ai-stack.yaml index 3ee45f7a..7a77659a 100644 --- a/lca-ai-stack/deployment/lca-ai-stack.yaml +++ b/lca-ai-stack/deployment/lca-ai-stack.yaml @@ -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 diff --git a/lca-ai-stack/samconfig.toml b/lca-ai-stack/samconfig.toml index dfff8442..e63ed978 100644 --- a/lca-ai-stack/samconfig.toml +++ b/lca-ai-stack/samconfig.toml @@ -8,12 +8,12 @@ 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 @@ -21,7 +21,7 @@ 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", @@ -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" diff --git a/lca-ai-stack/source/ui/download-lexwebui.sh b/lca-ai-stack/source/ui/download-lexwebui.sh index bcd7f22c..2f3387ec 100755 --- a/lca-ai-stack/source/ui/download-lexwebui.sh +++ b/lca-ai-stack/source/ui/download-lexwebui.sh @@ -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 diff --git a/lca-ai-stack/source/ui/package-lock.json b/lca-ai-stack/source/ui/package-lock.json index 77132132..24de1971 100644 --- a/lca-ai-stack/source/ui/package-lock.json +++ b/lca-ai-stack/source/ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "lca-ui", - "version": "0.8.7", + "version": "0.8.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lca-ui", - "version": "0.8.7", + "version": "0.8.8", "dependencies": { "@aws-amplify/ui-components": "^1.9.6", "@aws-amplify/ui-react": "^1.2.26", diff --git a/lca-ai-stack/source/ui/package.json b/lca-ai-stack/source/ui/package.json index 82d6a346..46249696 100644 --- a/lca-ai-stack/source/ui/package.json +++ b/lca-ai-stack/source/ui/package.json @@ -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", diff --git a/lca-main.yaml b/lca-main.yaml index c159c8db..0823994a 100644 --- a/lca-main.yaml +++ b/lca-main.yaml @@ -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: diff --git a/submodule-aws-qnabot-plugins b/submodule-aws-qnabot-plugins index 09c86283..486ae3df 160000 --- a/submodule-aws-qnabot-plugins +++ b/submodule-aws-qnabot-plugins @@ -1 +1 @@ -Subproject commit 09c862836bdc4cadafc3541c028a1ac43d3998ea +Subproject commit 486ae3df915a8c3689cf6ff2bc816697e7066162