We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e7380 commit be51e11Copy full SHA for be51e11
firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/live/BidiViewModel.kt
@@ -60,8 +60,8 @@ class BidiViewModel(
60
init {
61
val liveGenerationConfig = liveGenerationConfig {
62
speechConfig = SpeechConfig(voice = Voice("CHARON"))
63
- responseModality = ResponseModality.AUDIO
64
// Change this to ContentModality.TEXT if you want text output.
+ responseModality = ResponseModality.AUDIO
65
}
66
@OptIn(PublicPreviewAPI::class)
67
val liveModel = FirebaseAI.getInstance(Firebase.app, sample.backend).liveModel(
0 commit comments