AI EXPRESS
  • AI
    Crippling AI cyberattacks are inevitable: 4 ways security pros can prepare

    Crippling AI cyberattacks are inevitable: 4 ways security pros can prepare

    AI

    How AI Is Being Used to Assess Risk

    Rain nabs $11M to build voice experiences for brands

    Rain nabs $11M to build voice experiences for brands

    AI Weekly: AI tools for hiring under scrutiny; Clearview AI settlement reaction

    AI Weekly: AI tools for hiring under scrutiny; Clearview AI settlement reaction

    Nuance partners with The Academy to launch The AI Collaborative

    Nuance partners with The Academy to launch The AI Collaborative

    How AI can improve services revenue and customer success

    How AI can improve services revenue and customer success

  • ML
    Moderate, classify, and process documents using Amazon Rekognition and Amazon Textract

    Moderate, classify, and process documents using Amazon Rekognition and Amazon Textract

    The Intel®3D Athlete Tracking (3DAT) scalable architecture deploys pose estimation models using Amazon Kinesis Data Streams and Amazon EKS

    The Intel®3D Athlete Tracking (3DAT) scalable architecture deploys pose estimation models using Amazon Kinesis Data Streams and Amazon EKS

    Intelligently search your Jira projects with Amazon Kendra Jira cloud connector

    Intelligently search your Jira projects with Amazon Kendra Jira cloud connector

    Enhance the caller experience with hints in Amazon Lex

    Enhance the caller experience with hints in Amazon Lex

    Image classification and object detection using Amazon Rekognition Custom Labels and Amazon SageMaker JumpStart

    Image classification and object detection using Amazon Rekognition Custom Labels and Amazon SageMaker JumpStart

    Run automatic model tuning with Amazon SageMaker JumpStart

    Run automatic model tuning with Amazon SageMaker JumpStart

    Achieve in-vehicle comfort using personalized machine learning and Amazon SageMaker

    Achieve in-vehicle comfort using personalized machine learning and Amazon SageMaker

    Example of subtitles toggled on within a web video player

    Create video subtitles with Amazon Transcribe using this no-code workflow

    Abstract diagram showing how AWS AI services come together.

    Content moderation design patterns with AWS managed AI services

  • NLP
    Researchers Propose A Graph-Based Machine Learning Method To Quantify The Spatial Homogeneity Of Subnetworks

    Researchers Propose A Graph-Based Machine Learning Method To Quantify The Spatial Homogeneity Of Subnetworks

    Westpac fund backs start-up that enables AI phone calls

    Westpac fund backs start-up that enables AI phone calls

    Biased data is anathema to society says the SAS CTO who has made it his mission to stamp bias out

    Biased data is anathema to society says the SAS CTO who has made it his mission to stamp bias out

    ELaPro, a LOINC-mapped core dataset for top laboratory procedures of eligibility screening for clinical trials | BMC Medical Research Methodology

    ELaPro, a LOINC-mapped core dataset for top laboratory procedures of eligibility screening for clinical trials | BMC Medical Research Methodology

    The problem with self-driving cars

    The problem with self-driving cars

    These 5 robotic startups are impacting healthcare sector with their innovation

    These 5 robotic startups are impacting healthcare sector with their innovation

    Raidix Era Western Digital

    What is a supercomputer? – Dataconomy

    Data Intelligence Solutions for Sales Market Overview 2022-2029| Key Players – Linkedln, Discoverorg, Zoomlnfo, Datanyze, Dun & Bradstreet

    Japan Cloud Natural Language Processing Market Size 2022 Analysis by 2029

    Generic business image for news article

    Asset servicing data services news

  • Vision
    Creator Karen X. Cheng Brings Keen AI for Design ‘In the NVIDIA Studio’

    Creator Karen X. Cheng Brings Keen AI for Design ‘In the NVIDIA Studio’

    GFN Thursday: ‘Evil Dead: The Game’ on GeForce NOW

    GFN Thursday: ‘Evil Dead: The Game’ on GeForce NOW

    pix2pix Generative Adversarial Networks

    pix2pix Generative Adversarial Networks

    AI-Generated Endangered Species Mix With Times Square’s Nightlife

    AI-Generated Endangered Species Mix With Times Square’s Nightlife

    Shopping Smart: AiFi Using AI to Spark a Retail Renaissance

    Shopping Smart: AiFi Using AI to Spark a Retail Renaissance

    Writing AlexNet from Scratch in PyTorch

    Writing AlexNet from Scratch in PyTorch

    Duos Technologies Uses AI-Powered System for Railcar Inspection

    Duos Technologies Uses AI-Powered System for Railcar Inspection

    Recycleye AI-Driven Systems Aim to Reduce Global Waste

    Recycleye AI-Driven Systems Aim to Reduce Global Waste

    NVIDIA Metropolis Edge AI-on-5G Platform Delivers IVA Over 5G

    NVIDIA Metropolis Edge AI-on-5G Platform Delivers IVA Over 5G

  • Robotics
    Eureka Robotics brings in $4.5M in pre-Series A funding

    Eureka Robotics brings in $4.5M in pre-Series A funding

    NASCAR crash test

    AB Dynamics’ robots at use crash testing NASCAR cars

    depainting a plane

    Advanced cable management lets robots depaint airplanes

    Dusty Robotics raises $45M Series B round

    Dusty Robotics raises $45M Series B round

    Flexxbotics brings in $2.9M in Series A funding

    Flexxbotics brings in $2.9M in Series A funding

    ABB's Mark Joppru joins MiR as VP of sales for the Americas

    ABB’s Mark Joppru joins MiR as VP of sales for the Americas

    Teraki, DriveU.auto partner for teleoperated delivery robots

    Teraki, DriveU.auto partner for teleoperated delivery robots

    Apex.AI receives strategic investment from Daimler Truck

    Apex.AI receives strategic investment from Daimler Truck

    Festo introduces pneumatic cobot arm

    Festo introduces pneumatic cobot arm

  • RPA
    Invoice Management Made Easy With Automation and RPA solution

    Automated Invoice Processing: An Ardent Need of Modern Day Businesses

    Conversational AI- Oomphing Up HR Digitization Factor| AutomationEdge

    Conversational AI- Oomphing Up HR Digitization Factor| AutomationEdge

    Know how to Implement Conversational AI

    Alarm Ringing! Top 10 Tips to go about Conversational Marketing

    UiPath RPA & Microsoft Cloud - Microsoft Inspire 2019

    UiPath RPA & Microsoft Cloud – Microsoft Inspire 2019

    UiPath 2019.7 Monthly Update | UiPath

    UiPath 2019.7 Monthly Update | UiPath

    Take The Wheel of Your Automation Strategy

    Take The Wheel of Your Automation Strategy

    Finding Your Unattended Robots Use Cases (Part 1)

    Finding Your Unattended Robots Use Cases (Part 1)

    EU Urges Public Sector to Use Artificial Intelligence To Improve Services

    EU Urges Public Sector to Use Artificial Intelligence To Improve Services

    2019 Gartner Peer Insights Customers' Choice for RPA

    2019 Gartner Peer Insights Customers’ Choice for RPA

  • Gaming
    You can now play Resident Evil 7 and Village in fully-immersive VR on PC

    You can now play Resident Evil 7 and Village in fully-immersive VR on PC

    UK Charts: Nintendo Switch Sports Is Number One For A Third Week

    UK Charts: Nintendo Switch Sports Is Number One For A Third Week

    Square Enix still recommends Balan Wonderworld "with confidence" despite recent lawsuit

    Square Enix still recommends Balan Wonderworld “with confidence” despite recent lawsuit

    This Elden Ring mod lets you hang out with your favourite NPCs

    This Elden Ring mod lets you hang out with your favourite NPCs

    Gears of War could be getting a Master Chief Collection-style collection

    Gears of War could be getting a Master Chief Collection-style collection

    Handheld Face-Off - Nintendo Switch OLED Model Vs Steam Deck

    Handheld Face-Off – Nintendo Switch OLED Model Vs Steam Deck

    Soulstice looks like it wants to be the next Devil May Cry, and gets an autumn release window

    Soulstice looks like it wants to be the next Devil May Cry, and gets an autumn release window

    Konami issues DMCA takedown of images claiming to be a Silent Hill reboot

    Konami issues DMCA takedown of images claiming to be a Silent Hill reboot

    The Callisto Protocol news coming next week

    The Callisto Protocol news coming next week

  • Investment
    Mammoscreen

    Therapixel Closes €15M Series B Financing

    GEOSAT

    Company EOS Data Analytics Partners With GEOSAT

    Solarr Raises $2M in Seed Funding

    Solarr Raises $2M in Seed Funding

    Yottaa

    Yottaa Receives Growth Investment from PSG

    satori

    Satori Raises $10M in Seed Funding

    klarpay

    Klarpay Raises CHF 3M in Funding

    Hedi Mardisoo and Kalle Palling

    Cachet Raises €5.5M in Funding

    venture capital

    Aquiline Closes Aquiline Technology Growth Fund II, At Over $365M

    devocean

    devOcean Raises $6M in Seed Funding

  • More
    • Data analytics
    • Apps
    • No Code
    • Cloud
    • Quantum Computing
    • Security
    • AR & VR
    • Esports
    • IOT
    • Smart Home
    • Smart City
    • Crypto Currency
    • Blockchain
    • Reviews
    • Video
No Result
View All Result
AI EXPRESS
No Result
View All Result
Home Machine Learning

Interpret caller input using grammar slot types in Amazon Lex

by
April 7, 2022
in Machine Learning
0
Use deep learning frameworks natively in Amazon SageMaker Processing
0
SHARES
4
VIEWS
Share on FacebookShare on Twitter

Customer support calls require buyer brokers to have the client’s account info to course of the caller’s request. For instance, to offer a standing on an insurance coverage declare, the assist agent wants coverage holder info such because the coverage ID and declare quantity. Such info is commonly collected within the interactive voice response (IVR) circulation in the beginning of a buyer assist name. IVR techniques have usually used grammars based mostly on the Speech Recognition Grammar Specification (SRGS) format to outline guidelines and parse caller info (coverage ID, declare quantity). Now you can use the identical grammars in Amazon Lex to gather info in a speech dialog. You can too present semantic interpretation guidelines utilizing ECMAScript tags inside the grammar information. The grammar assist in Amazon Lex offers granular management for accumulating and postprocessing consumer enter so you’ll be able to handle an efficient dialog.

On this put up, we evaluation the grammar assist in Amazon Lex and creator a pattern grammar to be used in an Amazon Join contact circulation.

Use grammars to gather info in a dialog

You possibly can creator the grammar as a slot kind in Amazon Lex. First, you present a algorithm within the SRGS format to interpret consumer enter. As an optionally available second step, you’ll be able to write an ECMA script that transforms the data collected within the dialog. Lastly, you retailer the grammar as an XML file in an Amazon Easy Storage Service (Amazon S3) bucket and reference the hyperlink in your bot definition. SRGS grammars are particularly designed for voice and DTMF modality. We use the next pattern conversations to mannequin our bot:

Dialog 1

IVR: Hiya! How can I enable you to in the present day?

Person: I wish to examine my account stability.

IVR: Certain. Which account ought to I pull up?

Person: Checking.

IVR: What’s the account quantity?

Person: 1111 2222 3333 4444

IVR: For verification functions, what’s your date of beginning?

Person: Jan 1st 2000.

IVR: Thanks. The stability in your checking account is $123 {dollars}.

Dialog 2

IVR: Hiya! How can I enable you to in the present day?

Person: I wish to examine my account stability.

IVR: Certain. Which account ought to I pull up?

Person: Financial savings.

IVR: What’s the account quantity?

Person: I wish to discuss to an agent.

IVR: Okay. Let me switch the decision. An agent ought to have the opportunity that will help you along with your request.

Within the pattern conversations, the IVR requests the account kind, account quantity, and date of beginning to course of the caller’s requests. On this put up, we evaluation find out how to use the grammars to gather the data and postprocess it with ECMA scripts. The grammars for account ID and date cowl a number of methods to offer the data. We additionally evaluation the grammar in case the caller can’t present the requested particulars (for instance, their financial savings account quantity) and as a substitute opts to talk with an agent.

See also  Graph-based recommendation system with Neptune ML: An illustration on social network link prediction challenges

Construct an Amazon Lex chatbot with grammars

We construct an Amazon Lex bot with intents to carry out frequent retail banking features similar to checking account stability, transferring funds, and ordering checks. The CheckAccountBalance intent collects particulars similar to account kind, account ID, and date of beginning, and offers the stability quantity. We use a grammar slot kind to gather the account ID and date of beginning. If the caller doesn’t know the data or asks for an agent, the decision is transferred to a human agent. Let’s evaluation the grammar for the account ID:

<grammar model="1.0" xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" tag-format="semantics/1.0" root="captureAccount"><!-- Header definition for US language and the basis rule "captureAccount" to begin with-->

	<rule id="captureAccount" scope="public">
		<tag> out=""</tag>
		<one-of>
			<merchandise><ruleref uri="#digit"/><tag>out += guidelines.digit.accountNumber</tag></merchandise><!--Name the subrule to seize 16 digits--> 
			<merchandise><ruleref uri="#agent"/><tag>out =guidelines.agent;</tag></merchandise><!--Exit level to route the caller to an agent--> 
		</one-of>
	</rule>

	<rule id="digit" scope="public"> <!-- Seize digits from 1 to 9 -->
		<tag>out.accountNumber=""</tag>
		<merchandise repeat="16"><!-- Repeat the rule precisely 16 occasions -->
			<one-of>
				<merchandise>1<tag>out.accountNumber+=1;</tag></merchandise>
				<merchandise>2<tag>out.accountNumber+=2;</tag></merchandise>
				<merchandise>3<tag>out.accountNumber+=3;</tag></merchandise>
				<merchandise>4<tag>out.accountNumber+=4;</tag></merchandise>
				<merchandise>5<tag>out.accountNumber+=5;</tag></merchandise>
				<merchandise>6<tag>out.accountNumber+=6;</tag></merchandise>
				<merchandise>7<tag>out.accountNumber+=7;</tag></merchandise>
				<merchandise>8<tag>out.accountNumber+=8;</tag></merchandise>
				<merchandise>9<tag>out.accountNumber+=9;</tag></merchandise>
				<merchandise>0<tag>out.accountNumber+=0;</tag></merchandise>
				<merchandise>oh<tag>out.accountNumber+=0</tag></merchandise>
				<merchandise>null<tag>out.accountNumber+=0;</tag></merchandise>
			</one-of>
		</merchandise>
	</rule>
	
	<rule id="agent" scope="public"><!-- Exit level to speak to an agent-->
		<merchandise>
			<merchandise repeat="0-1">i</merchandise>
			<merchandise repeat="0-1">wish to</merchandise>
			<one-of>
				<merchandise repeat="0-1">communicate</merchandise>
				<merchandise repeat="0-1">discuss</merchandise>
			</one-of>
			<one-of>
				<merchandise repeat="0-1">to an</merchandise>
				<merchandise repeat="0-1">with an</merchandise>
			</one-of>
			<one-of>
				<merchandise>agent<tag>out="agent"</tag></merchandise>
				<merchandise>worker<tag>out="agent"</tag></merchandise>
			</one-of>
		</merchandise>
    </rule>
</grammar>

The grammar has two guidelines to parse consumer enter. The primary rule interprets the digits offered by the caller. These digits are appended to the output by way of an ECMA script tag variable (out). The second rule manages the dialog if the caller desires to speak to an agent. On this case the out tag is populated with the phrase agent. After the foundations are parsed, the out tag carries the account quantity (out.AccountNumber) or the string agent. The downstream enterprise logic can now use the out tag deal with the decision.

Deploy the pattern Amazon Lex bot

To create the pattern bot and add the grammars, carry out the next steps. This creates an Amazon Lex bot referred to as BankingBot, and two grammar slot varieties (accountNumber, dateOfBirth).

  1. Obtain the Amazon Lex bot.
  2. On the Amazon Lex console, select Actions, then select Import.
  3. Select the file BankingBot.zip that you just downloaded, and select Import. Within the IAM Permissions part, for Runtime position, select Create a brand new position with primary Amazon Lex permissions.
  4. Select the bot BankingBot on the Amazon Lex console.
  5. Obtain the XML information for accountNumber and dateOfBirth. (Observe: In some browsers you’ll have to “Save the hyperlink” to obtain the XML information)
  6. On the Amazon S3 console, add the XML information.
  7. Navigate to the slot varieties on the Amazon Lex console, and click on on the accountNumber slot kind
  8. Within the slot kind grammar choose the S3 bucket with the XML file and supply the item key. Click on on Save slot kind.
  9. Navigate to the slot varieties on the Amazon Lex console, and click on on the dateOfBirth slot kind
  10. Within the slot kind grammar choose the S3 bucket with the XML file and supply the item key. Click on on Save slot kind.
  11. After the grammars are saved, select Construct.
  12. Obtain the supporting AWS Lambda and Navigate to the AWS Lambda console.
  13. On the create perform web page choose Creator from scratch. As primary info please present the next: perform identify BankingBotEnglish, and Runtime Python 3.8.
  14. Click on on Create perform. Within the Code supply part, open lambda_funciton.py and delete the present code. Obtain the code and open it in a textual content editor. Copy and paste the code into the empty lambda_funciton.py tab.
  15. Select deploy.
  16. Navigate to the Amazon Lex Console and choose BankingBot. Click on on Deployment after which Aliases adopted by TestBotAlias
  17. On the Aliases web page choose languages and navigate to English (US).
  18. For supply choose BankingBotEnglish, for Lambda model or alias choose $LATEST
  19. Navigate to the Amazon Join console, select Contact flows.
  20. Obtain the contact flow to combine with the Amazon Lex bot.
  21. Within the Amazon Lex part, choose your Amazon Lex bot and make it obtainable to be used within the Amazon Join contact flows.
  22. Choose the contact circulation to load it into the appliance.
  23. Ensure that the appropriate bot is configured within the “Get Buyer Enter” block. Add a cellphone quantity to the contact circulation.
  24. Select a queue within the “Set working queue” block.
  25. Take a look at the IVR circulation by calling in to the cellphone quantity.
  26. Take a look at the answer.
See also  Enable Amazon Kendra search for a scanned or image-based text document

Take a look at the answer

You possibly can name in to the Amazon Join cellphone quantity and work together with the bot. You can too take a look at the answer immediately on the Amazon Lex V2 console utilizing voice and DTMF.

Conclusion

Customized grammar slots present the power to gather various kinds of info in a dialog. You have got the pliability to seize transitions similar to handover to an agent. Moreover, you’ll be able to postprocess the data earlier than working the enterprise logic. You possibly can allow grammar slot varieties by way of the Amazon Lex V2 console or AWS SDK. The aptitude is on the market in all AWS Areas the place Amazon Lex operates within the English (Australia), English (UK), and English (US) locales.

To study extra, confer with Utilizing a customized grammar slot kind. You can too view the Amazon Lex documentation for SRGS or ECMAScript for extra info.


In regards to the Authors

Kai Loreck is knowledgeable companies Amazon Join guide. He works on designing and implementing scalable buyer expertise options. In his spare time, he could be discovered taking part in sports activities, snowboarding, or mountain climbing within the mountains.

Harshal Pimpalkhute is a Product Supervisor on the Amazon Lex staff. He spends his time attempting to get machines to interact (properly) with people.

Source link

Tags: AmazoncallerGrammarInputInterpretLexslotTypes
Previous Post

Natural Language Processing (NLP) Software Market Growth By 2022 -2029

Next Post

Majority Of Cardano (ADA) Holders In Loss As Price Slides To $1

Next Post
Cardano (ADA)

Majority Of Cardano (ADA) Holders In Loss As Price Slides To $1

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Newsletter

Popular Stories

  • A fan is making the Metroid 64 game that never was

    A fan is making the Metroid 64 game that never was

    0 shares
    Share 0 Tweet 0
  • Android 13 needs to steal a few of Apple’s features to show off at Google IO 2022

    0 shares
    Share 0 Tweet 0
  • Bubbles Raises $8.5M in Seed Funding

    0 shares
    Share 0 Tweet 0
  • Intel shows off new Arctic Sound M graphics chips for the datacenter

    0 shares
    Share 0 Tweet 0
  • Spotify Celebrates Star Wars Day With New Blend Playlists

    0 shares
    Share 0 Tweet 0

ML Jobs

View 115 ML Jobs at Tesla

View 165 ML Jobs at Nvidia

View 105 ML Jobs at Google

View 135 ML Jobs at Amamzon

View 131 ML Jobs at IBM

View 95 ML Jobs at Microsoft

View 205 ML Jobs at Meta

View 192 ML Jobs at Intel

Accounting and Finance Hub

Raised Seed, Series A, B, C Funding Round

Get a Free Insurance Quote

Try Our Accounting Service

AI EXPRESS

AI EXPRESS is a news site that covers the latest developments in Artificial Intelligence, Data Analytics, ML & DL, Algorithms, RPA, NLP, Robotics, Smart Homes & Cities, Cloud & Quantum Computing, AR & VR and Blockchains

Categories

  • AI
  • Ai videos
  • Apps
  • AR & VR
  • Blockchain
  • Cloud
  • Computer Vision
  • Crypto Currency
  • Data analytics
  • Esports
  • Gaming
  • Gaming Videos
  • Investment
  • IOT
  • Iot Videos
  • Low Code No Code
  • Machine Learning
  • NLP
  • Quantum Computing
  • Robotics
  • Robotics Videos
  • RPA
  • Security
  • Smart City
  • Smart Home

Quick Links

  • Reviews
  • Deals
  • Best
  • AI Jobs
  • AI Events
  • AI Directory
  • Industries

© 2021 Aiexpress.io - All rights reserved.

  • Contact
  • Privacy Policy
  • Terms & Conditions

No Result
View All Result
  • AI
  • ML
  • NLP
  • Vision
  • Robotics
  • RPA
  • Gaming
  • Investment
  • More
    • Data analytics
    • Apps
    • No Code
    • Cloud
    • Quantum Computing
    • Security
    • AR & VR
    • Esports
    • IOT
    • Smart Home
    • Smart City
    • Crypto Currency
    • Blockchain
    • Reviews
    • Video

© 2021 Aiexpress.io - All rights reserved.