Last Updated on : 2025-11-25 09:24:37download
AI Assistant UI BizBundle provides capabilities related to AI assistant voice recognition, content generation, and command execution.
Version requirement: v6.0.0 or later.
Add the components of this UI BizBundle to the Podfile and run the command pod update.
source 'https://github.com/tuya/tuya-pod-specs.git'
source "https://github.com/TuyaInc/TuyaPublicSpecs.git"
source 'https://github.com/CocoaPods/Specs.git'
target 'your_target_name' do
# Depends on the AI Assistant UI BizBundle
pod "ThingSmartAIAssistantBizBundle"
# Depends on the Panel BizBundle
pod 'ThingSmartPanelBizBundle'
end
To use the voice recognition feature, you need to set NSMicrophoneUsageDescription in info.plist.
<key>NSMicrophoneUsageDescription</key>
<string>Chat with AI</string>
Generate an AI assistant miniapp. For more information on how to create an agent, see AI Agent Dev Platform.
Open the AI assistant miniapp.
import ThingModuleManager
func gotoAIAssistant() {
let link: String = "your ai assistant miniapp url"
let impl = ThingSmartBizCore.sharedInstance().service(of: ThingModuleRouteBlueprint.self)
let _ = (impl as AnyObject).openRoute(link, withParams: nil)
}
thingAppKey has been completed in the thing_custom_config.json file. For details, you can refer to Integrate with Framework.

Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback