AI-powered GRXML optimization and creation for NICE CXone contact centers
SpeechSmith AI is a powerful tool designed to help NICE CXone developers create, optimize, and test GRXML (Grammar XML) for speech recognition in IVR systems. Using advanced AI algorithms, SpeechSmith analyzes your IVR scripts and automatically generates optimized grammar files that improve recognition accuracy and call flow efficiency.
Whether you're building a new IVR system or improving an existing one, SpeechSmith AI simplifies the GRXML creation process and helps you implement best practices automatically.
Automatically analyze your IVR scripts and generate complete GRXML files with optimized grammar structures, saving hours of manual development time.
Extract key phrases from your IVR scripts and generate variations and alternatives that users might say, improving recognition accuracy and reducing call frustration.
For any phrase, receive AI-generated alternative phrasings that users might use, helping you build more comprehensive and robust grammars.
Test specific phrases against your GRXML to verify recognition accuracy and confidence levels, helping you identify and fix potential recognition problems.
Generated GRXML includes the proper tag-format attributes and result tags required for NICE CXone Studio compatibility, ensuring your grammars work seamlessly in your IVR environment.
Save and organize your SpeechSmith projects for easy access and reuse. Each project stores your script, phrases, and GRXML for later reference or iteration.
Follow these steps to start using SpeechSmith AI:
SpeechSmith AI uses external AI providers for text analysis. You'll need to configure at least one of the following:
Configure these keys in your Dashboard AI Settings.
Navigate to SpeechSmith AI from the Tools section or directly via https://cxtools.xyz/tools/speechsmith
Paste your IVR script in the input area. Your script should include the prompts and expected user responses.
System: Welcome to Customer Support. How can I help you today?
Possible User Responses:
- I need to check my account balance
- I want to make a payment
- I need to update my address
- I have a billing question
- I need technical support
Adjust your SpeechSmith settings to customize the GRXML generation:
Click the "Analyze Script" button to process your script and generate GRXML. SpeechSmith will:
After generation, you'll see:
Review the generated content and make any necessary adjustments.
For any phrase in your project, you can generate additional alternatives:
Example:
Original phrase: "I need to check my account balance"
Generated alternatives:
Test how well your GRXML recognizes specific phrases:
This feature helps you identify and fix potential recognition issues before deploying your IVR.
Save and manage your SpeechSmith projects for future reference or iteration:
Include as much context as possible in your IVR scripts. The more information SpeechSmith has, the better it can generate appropriate phrases and variations.
Example of a good script:
System: Welcome to ABC Bank. To help you faster, please briefly tell me what you're calling about today.
Possible Responses:
- Checking account balance
- Reporting a lost or stolen card
- Making a payment
- Transferring funds
- Speaking to a representative
- Technical support with mobile app
Use the testing tool with phrases that real customers might use, including:
If available, use actual customer utterances from your existing IVR data to test and refine your GRXML. This helps ensure your grammar matches real-world usage patterns.
Language and customer expectations evolve. Regularly review and update your GRXML to incorporate new phrases and patterns that may emerge over time.
If you encounter API key errors:
If GRXML generation fails:
If your GRXML isn't recognizing phrases well:
In our testing, both Claude and GPT-4 models perform excellently for GRXML generation. Claude models tend to generate more structured GRXML output, while GPT-4 may generate more creative phrase variations. For most use cases, we recommend using the Claude 3.5 Sonnet model for the best balance of performance and cost.
Yes, SpeechSmith supports multiple languages. When generating GRXML, select the appropriate language in the settings panel. The tool currently supports English, Spanish, French, German, Italian, Portuguese, and Japanese. Performance may vary by language depending on the AI model used.
SpeechSmith AI is included in the CX Tools Pro subscription. Additionally, you'll need your own API key for OpenAI or Anthropic. The API usage costs depend on the models you use and the volume of script processing. A typical GRXML generation for a medium-sized IVR script costs approximately $0.10-0.30 in API fees.
CX Tools does not store the content of your scripts or generated GRXML on our servers beyond the current session, unless you explicitly save it as a project. All processing is done using secure connections to the AI providers. If you have specific data security requirements, you should review the privacy policies of the AI provider you choose (OpenAI or Anthropic).
Yes, SpeechSmith can generate GRXML from text extracted from existing CXone scripts. Copy the relevant prompt text and expected responses from your script and paste them into SpeechSmith. For best results, format the input to clearly indicate what the system says versus what users might respond with.
Learn how to create and manage GRXML grammars manually using our dedicated editor.
Understand the principles of effective GRXML design and implementation.
Learn about our AI-powered IVR design tool that pairs perfectly with SpeechSmith.
Explore our comprehensive suite of tools for NICE CXone Studio development.