Last Updated on : 2025-04-23 03:24:11download
AI Agent UI BizBundle is used to integrate the AI assistant miniapp. You can configure your own AI agent on the Tuya Developer Platform and navigate to the generated miniapp to try out customized services.
Integrate Smart Life App SDK for Android into your project with Android Studio and add the framework of the UI BizBundle to your project. For more information, see Integrate with Framework.
Add the following dependency to the file build.gradle
of the module:
dependencies {
api enforcedPlatform("com.thingclips.smart:thingsmart-BizBundlesBom:${biz_bom_version}")
api "com.thingclips.smart:thingsmart-bizbundle-ai_agent"
api "com.thingclips.smart:thingsmart:${sdk_version}}"
}
Voice conversations in the AI assistant require microphone permission. To try out voice input functionality, you must add microphone permission declarations in the app.
Add the following permission in AndroidManifest.xml
of your app project:
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
Configure your AI agent on the AI Agent Dev Platform, and bind it with the app that has integrated the UI BizBundle. For more information about how to create and configure the agent, see AI Agent Dev Platform. After creation, navigate to the miniapp generated by the platform to try out the AI assistant features.
If you want to navigate to the Tuya miniapp on the native app, you can integrate the MiniApp SDK.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback