Test Pages & Examples
Comprehensive demo for VoiceSDK v2 with multi-codec support. Test voice recording, playback, and WebSocket communication. Includes configuration options for different audio formats and sample rates.
Simple voice SDK test page. Quick test for basic voice functionality and WebSocket connection.
Test the TTPChatWidget with unified voice and text chat interface. Includes microphone permission handling, voice call functionality, and text messaging. Perfect for testing the complete widget experience.
Demonstrates registering and using client-side tools with the TTP Chat Widget. Learn how to create custom tools that the agent can call, such as navigation, form filling, or page interactions.
Interactive customization tool for the TTP Chat Widget. Click on any element to customize colors, sizes, text, and icons. See all available designs and get instant code output for your configuration.
Development version using unminified agent-widget.dev.js with source maps enabled. Perfect for debugging and testing new features. Same customization tool but with full source code visibility in browser DevTools.
Test the TTPEcommerceWidget β a composition wrapper around TTPChatWidget that adds product display, cart management, and partner integration. Simulate show_products and cart_updated messages without a live voice call.
Test the pharmacy flavor β medication search, prescription management, and medication cards with Rx/OTC badges. Simulate show_items and prescription_updated messages without a live voice call.
Test the restaurant flavor β menu search, order management, menu item cards with allergen/dietary tags, and photo gallery. Simulate show_items, order_updated, and show_media messages without a live voice call.
Test the tours flavor β tour search, booking management, tour cards with activity tags, and photo gallery. Simulate show_items, cart_updated, and show_media messages without a live voice call.