Embed your own intelligent voice assistant into your existing application or device.
android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.just-ai.aimybox:core:$aimyboxVersion")
}
Use the latest version
implementation("com.just-ai.aimybox:google-platform-speechkit:$aimyboxVersion")
Create a new project in Aimybox console, enable some voice skills and copy your project's API key.
Instantiate Aimybox in your Application class like that
val unitId = UUID.randomUUID().toString()
val textToSpeech = GooglePlatformTextToSpeech(context)
val speechToText = GooglePlatformSpeechToText(context)
val dialogApi = AimyboxDialogApi("your Aimybox project API key", unitId)
val aimybox = Aimybox(Config.create(speechToText, textToSpeech, dialogApi))
Now you can start talking with your voice assistant using startRecognition()
method of Aimybox.
Please refer to the demo voice assistant to see how to use Aimybox library in your project. There are much more features described in our Android SDK documentation.
There is a full Aimybox documentation available here