How to Build a Multilingual AI Voice Assistant in FlutterFlow (OpenAI Text-To-Speech App Tutorial)

  Рет қаралды 18,767

FlutterFlow

FlutterFlow

Күн бұрын

In this video we walk through how to build a multilingual AI voice assistant app in under 35 minutes with FlutterFlow.
Cloneable Project Link
app.flutterflow.io/project/sp...
Open API/Swagger File
github.com/openai/openai-open...
OpenAI Documentation
platform.openai.com/docs/intr...
Timestamps:
0:00 - Introduction
0:13 - Demo
0:52 - Creating FlutterFlow Project
2:37 - Setting Up Theme Settings
3:32 - Designing App Page
5:34 - Recording Buttons
8:44 - Waveform
11:14 - Widget Animations
12:55 - Reviewing Cloneable Project
12:09 - Voice-To-Text Custom Actions
16:27 - Chat Completion API Call
19:40 - Stop Recording Actions
20:18 - Adding Multiple Languages
22:34 - Text-To-Voice Custom Action
27:35 - Adding Remaining Actions
28:47 - Timer Widget
31:37 - Final Demo of Working App
Ready to try FlutterFlow for yourself? Start building your app today with a free trial 👉 www.flutterflow.com
Follow us on Twitter 👉 / flutterflow
--------------
FlutterFlow is a low-code builder for native apps, bringing design and development into one tool. With drag-and-drop functionality, you can build pixel-perfect UIs and easily connect your app to live data via Firebase or APIs. Plus, you can add advanced features like push notifications, payments, animations, and more. Whether you build your own custom widgets or write custom code, FlutterFlow makes it easy to bring your app ideas to life.

Пікірлер: 86
@humandesign.commons
@humandesign.commons 7 ай бұрын
Amazing. I was waiting for this Flutterflow tutorial since Whisper came out 😄 Thank you!!
@jae.kingsley
@jae.kingsley 6 ай бұрын
great tutorial, love the pacing of this! please do more
@KAI-el4ld
@KAI-el4ld 4 ай бұрын
Amazing work thank you !!
@younessaznag470
@younessaznag470 7 ай бұрын
well done ff i was waiting for this video for a long time, now i will go the paid version , good work flutterflow team
@armankarambakhsh4456
@armankarambakhsh4456 7 ай бұрын
Can't I run it as test for myself for free?
@younessaznag470
@younessaznag470 6 ай бұрын
@@armankarambakhsh4456 what is the poblem that you had
@jamiepattersoncta
@jamiepattersoncta 6 ай бұрын
This is fire, thank you. People could create generational wealth with this skillset
@mohanpremathilake915
@mohanpremathilake915 3 ай бұрын
Yes! Indeed
@shabatidjani1354
@shabatidjani1354 6 ай бұрын
nice one when would the image to text own be done ?
@musumo1908
@musumo1908 7 ай бұрын
Cool project will this work with the GPT4 new super API…the preview one? Assume the chat completions code needs changing?? Thx
@MeriMAAkiRasoyi
@MeriMAAkiRasoyi 7 ай бұрын
Great tutorial 👍
@atsileitumeleng
@atsileitumeleng 7 ай бұрын
Tell me you made that audio up, haha... hilarious.
@Samuel_Nicole
@Samuel_Nicole 3 ай бұрын
Hey @FlutterFlow in the action flow editor there is the: "start and stop audio recording" actions why did you use a custom action instead of these built in actions?
@humandesign.commons
@humandesign.commons 7 ай бұрын
Finally!!
@nguyenquangngoc3993
@nguyenquangngoc3993 6 ай бұрын
Is it safe to add the API key as app state if I want to publish to the web?
@alltimetech8809
@alltimetech8809 7 ай бұрын
Can you to do a video about the bluetooth ( ble )connection using a esp32 ? I think that in the tutorial have a mistake , because i did step by step , but it never work😢
@raparaparapaDum
@raparaparapaDum 6 сағат бұрын
min 13:15 everyone gangsta till you NEED CUSTOM CODE
@scottwallace9498
@scottwallace9498 Ай бұрын
I would Like to see a video using Assistants and OCR
@nathanburley9122
@nathanburley9122 3 ай бұрын
This is brilliant! I'm a complete noob at all this so I have a bunch of Questions if anyone can help please? 1) I assume I'd be able to deploy this app (or one very much like it) to mobile if I were on the Standard plan via APK? 2) This pubspec dependancy seems to eliminate the need for using Whisper or Google's S2T API - is there a list of other great dependencies 3) Why does the Standard plan only have the same number of API endpoints as the free plan?! I see that you can make API calls with custom actions but I can't quite figure them out, does anyone have any good guidance on this?
@punishedproduct
@punishedproduct 3 ай бұрын
@flutterflow how do we do this for other ai llms? Like huggingface llama etc? It would be cool to see other llms used in the app space with ff integration.
@tutkinrannan2184
@tutkinrannan2184 4 ай бұрын
I get the following error: Refused to load media from 'data:audio/mp3;base64,' because it violates the following Content Security Policy directive: "media-src *". Note that '*' matches only URLs with network schemes ('http', 'https', 'ws', 'wss'), or URLs whose scheme matches `self`'s scheme. The scheme 'data:' must be added explicitly. Is there any fix for that
@abdulbaset2886
@abdulbaset2886 6 ай бұрын
wow
@DeLeizard
@DeLeizard 3 ай бұрын
Hi, could you help to explain why SpeechToText throws an error "msg: not-allowed" on FlutterFlow Test mode but can run normally on Run mode?
@vavo1997
@vavo1997 7 ай бұрын
Informative video, but does the app only work on the web platform?
@FlutterFlow
@FlutterFlow 7 ай бұрын
In this tutorial, yes. The custom action used to play the audio back utilizes web-specific features. This could be easily adjusted, however, by using a package on pub.dev!
@armandoortiz3613
@armandoortiz3613 6 ай бұрын
@@FlutterFlow Excellent Tutorial as always! Appreciate all the great content. Can you elaborate on your response about how we can easily adjust the audio playback so the custom function will work on iOS and Android deployments? I see the "//Play the audio audioElement.play();" in the function lines but am not sure what to replace them with and which changes to make. Like what can we use from pub.dev and how would we best insert that into the custom function. I am new to Dart and Flutterflow but these tutorials are a lifesaver. Thanks!
@AdrianMcMillian
@AdrianMcMillian 6 ай бұрын
Following this thread, as I also would like to get this working via iOS and Android.
@m3gatoile855
@m3gatoile855 6 ай бұрын
Me too
@Nolaready
@Nolaready 3 ай бұрын
@@armandoortiz3613hey Armando, did you ever get a fix to this problem?
@n1Metrics
@n1Metrics 4 ай бұрын
Just a heads up that this no longer runs due to issues with speech_to_text
@Julian-pg9dx
@Julian-pg9dx 4 ай бұрын
Thanks, I was wondering why it wouldn't work.
@MalikaYunus
@MalikaYunus 3 ай бұрын
How do you fix it?
@KAI-el4ld
@KAI-el4ld 4 ай бұрын
Just one quick question, how can I add a function to stop the text to speech ?
@melvinjongen1697
@melvinjongen1697 7 ай бұрын
How can we connect this to a google agenda so it can make appointments and send a notification to a client
@GrecoFPV
@GrecoFPV 7 ай бұрын
N8n or make automations
@yuryarta4832
@yuryarta4832 6 ай бұрын
I can not deploy my app with your action functions to app store, I'm getting this message: "the app status of version has changed to invalid binary". What should I do?
@Worganizer
@Worganizer 5 ай бұрын
Can some provide link or explain, how to make it for app version, not just web version
@marip0sa25
@marip0sa25 4 ай бұрын
I get error 401 failure when I tested it can you help me pls
@MarkSpeaker
@MarkSpeaker 7 ай бұрын
Is there a reason you used a custom package to transcribe the audio instead of the OpenAI transcription service? Could you update this to use that instead? thx
@FlutterFlow
@FlutterFlow 7 ай бұрын
The custom package is free with minimal latency (doesn't require an API call), hence the use in this video. The whisper API could be used simply by adding an API call to the project and passing in a saved recording of the user's audio message.
@PrimeURL.VIP_
@PrimeURL.VIP_ 7 ай бұрын
Where these retuned audios get stored? In app, if so how storage manages? What if I want to store it in database?
@FlutterFlow
@FlutterFlow 7 ай бұрын
The API returns these are direct MP3s, so you'd need to write an additional custom function or adjust the one used in the video to upload the bytes to Firebase (or another storage bucket) in order to use them later!
@PrimeURL.VIP_
@PrimeURL.VIP_ 7 ай бұрын
@@FlutterFlow got it
@AdhamFaisal875
@AdhamFaisal875 3 ай бұрын
please hot to note and play and download this audio? how to add options maleVoice and famleVoice
@shabatidjani1354
@shabatidjani1354 6 ай бұрын
hey @ff i have been trying to clone the app but no way what is the problem please ?
@taha-fd6cr
@taha-fd6cr 7 ай бұрын
must we have chatgpt 4 ApiKey ?
@Julian-pg9dx
@Julian-pg9dx 4 ай бұрын
Can you do an updated version since this one doesn't work anymore?
@melvinjongen1697
@melvinjongen1697 7 ай бұрын
@FlutterFlow it doesnt response to my question it just says something random how can i fix this ?
@billybetts5514
@billybetts5514 6 ай бұрын
I get the same behavior. it's as if the transcribed audio is not being passed to the api via the [prompt] parameter. when running in test mode in browser I see the below errors: Any help is appreciated. ✌😎 dart_sdk.js:50705 registerExtension() from dart:developer is only supported in build/run/test environments where the developer event method hooks have been set by package:dwds v11.1.0 or higher. dart_sdk.js:29145 Starting text recording dart_sdk.js:29145 Error!: SpeechRecognitionError msg: not-allowed, permanent: false dart_sdk.js:29145 Stopping text recording...
@jejidyanjackson2868
@jejidyanjackson2868 7 ай бұрын
so many custom actions, i gonna generate that with AI, Or i gonna first call Buildship and run all the functions i want
@CodeWonders_
@CodeWonders_ 5 ай бұрын
Do this using gemini api
@MatthewFusco-wx9pq
@MatthewFusco-wx9pq 3 ай бұрын
Does anyone have a fix for the issue of it not working anymore?
@monstarfirst
@monstarfirst 3 ай бұрын
I use android stoudio in my flutter project can you tell me the name of this program?
@ilya_old
@ilya_old 6 ай бұрын
Has anyone successfully compiled this feature to ISO and Android? Because I'm struggling with dart.html.
@internetisbeautifull
@internetisbeautifull 6 ай бұрын
Same here , please reply if u have somehow solve the problem.
@AdrianMcMillian
@AdrianMcMillian 6 ай бұрын
Following this thread, as I also would like to get this working via iOS and Android.
@ilya_old
@ilya_old 6 ай бұрын
​@@internetisbeautifull I've asked the developer to rewrite the code without dart.html. When we test it on a MacBook (virtual device), everything is okay. But when I compile it for the App Store, I can't hear the answers. We haven't solved this issue yet.
@ilya_old
@ilya_old 6 ай бұрын
@@AdrianMcMillian I've asked the developer to rewrite the code without dart.html. When we test it on a MacBook (virtual device), everything is okay. But when I compile it for the App Store, I can't hear the answers. We haven't solved this issue yet.
@Nolaready
@Nolaready 3 ай бұрын
So ChatGPT replaced the dart:html and uses “Just_audio” and a pub dependency version 0.9.36. But I can’t for the life of me figure out how to link it together.
@angwaykiam2421
@angwaykiam2421 17 күн бұрын
is there any way for it to work on the app itself without publishing it ?
@danvanrider5923
@danvanrider5923 6 ай бұрын
I found a major different between using my iphone and my laptop. Majority of the time it doesn't work from the browser on my iphone but it does on my laptop. Has anyone else experienced this issue? Also, has anyone taken this project and used an AI assistant with passing an assistant ID.
@AdrianMcMillian
@AdrianMcMillian 6 ай бұрын
I also noticed issues when attempting to run on iPhone (via browser). The response message playback seems to be delayed.
@jamesballantyne9214
@jamesballantyne9214 Ай бұрын
if someone can get a working template of this they will make millions. I have so many use cases but haven't been able to get mic working on mobile apps.
@nfxberlin3695
@nfxberlin3695 29 күн бұрын
i faced that error while testing the API . how to solve it ASAP please { "error": { "message": "The model `gpt-4-1106-preview` does not exist or you do not have access to it.", "type": "invalid_request_error", "param": null, "code": "model_not_found" } }
@Juan-Ballesteros
@Juan-Ballesteros 2 ай бұрын
Won't work for iOS (neither WebApp in iPhone) :( . The Voice-to-text fails so bad. What can I do?
@nellyanderson8623
@nellyanderson8623 7 ай бұрын
can anyone please educate me why three is no FLutterFlow tutoria on the web to show how to connect a flutterflow app to a web admin backend so that an admin can atleast perform basic CRUD to populate the app we have built in flutter flow ?.. In a real life application, Most app will need a backend to see users orders, upload products etc
@FlutterFlow
@FlutterFlow 7 ай бұрын
Try duplicating your FlutterFlow project to create a web-only application. This will allow you to connect the project to the same backend (Firebase, Supabase, etc) but deploy the app on a unique URL that is different than the main app you've published. This would allow you to have two interfaces that connect to the same backend database but could be hosted at app.[your-link].com and admin.[your-link].com.
@nellyanderson8623
@nellyanderson8623 7 ай бұрын
@@FlutterFlow Thank you for this response. This means i can equally make a web admin panel with futterflow and publish it for web to talk to the same Firebase db as my app to populate/perform CRUD on my app
@lawrence1679
@lawrence1679 7 ай бұрын
@@FlutterFlowI have asked this question several times also, Im not sure why every one who makes a Flutter flow tutorial only focus on the App client side and do not show how to connect it to a backend..You need to show this in one of your videos pls.,. If we can not have an admin panel to populate the app, then do we go into firebase everytime to change things manually ?
@FlutterFlow
@FlutterFlow 7 ай бұрын
@@lawrence1679 our team covers these types of videos on the livestream. There are a couple of solid videos on this to get you started: kzbin.info/www/bejne/sISrfGZ9rqijrNk kzbin.info/www/bejne/m5SblKJ8rtCljaM
@JimmyCampbell6
@JimmyCampbell6 Ай бұрын
does this work if you were to export to mobile given fetchSpeechAndPlay is using dart.html?
@szymon2030
@szymon2030 Ай бұрын
@FlutterFlow we have problem with "fetchSpeechAndPlay".
@tomcuong9588
@tomcuong9588 7 ай бұрын
I tried to test the API call and it gave me a 404 (failure). The message said that I don't have access to GPT 4. Is this mean that I have to subscribe to Chat GPT Plus? Are there any other way?
@taha-fd6cr
@taha-fd6cr 7 ай бұрын
Same problem, I am only using chatgpt 3.5 turbo s apikey
@cryptoairdroppp
@cryptoairdroppp 7 ай бұрын
change the model@@taha-fd6cr
@hamadayahia2152
@hamadayahia2152 7 ай бұрын
Yes, I got that error. The workaround is: API Call -> body -> replace line 8 with: "model": "gpt-3.5-turbo-0301",
@younessaznag470
@younessaznag470 6 ай бұрын
that is the right answer bro chat gpt 3.5
@akshatgupta4408
@akshatgupta4408 2 ай бұрын
i am getting an error model not found? please help
@carlanlyortiz8471
@carlanlyortiz8471 7 ай бұрын
Do you need to be a premium ChatGPT user for this?
@FlutterFlow
@FlutterFlow 7 ай бұрын
You'll need to add billing information to OpenAI in order to obtain an API key. This project does NOT require the premium version of ChatGPT.
@RajeevSharma-ii7fx
@RajeevSharma-ii7fx 2 ай бұрын
Watched the first 6 minutes. Is this a Text-To-Speech tutorial or a Speech-To-Text tutorial? Asking as i saw you put an input microphone in the container....
@firmankrisnadi7248
@firmankrisnadi7248 Ай бұрын
Can I build this application with free account because I'm newbie
@ricardoavellan6962
@ricardoavellan6962 7 ай бұрын
algun tutorial en español :/
@jamiepattersoncta
@jamiepattersoncta 6 ай бұрын
I'm getting this error when publishing: "Target of URI doesn't exist: '/backend/backend.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist." for each of the custom code sections
@adilet3278
@adilet3278 6 ай бұрын
you copied everything from code, including imports, but in fact you shoudl copy only where is written with comments. Or just delete this import of backend
Open AI Function Calling | Explanation & Demo
19:41
FlutterFlow
Рет қаралды 13 М.
How to bring sweets anywhere 😋🍰🍫
00:32
TooTool
Рет қаралды 50 МЛН
PINK STEERING STEERING CAR
00:31
Levsob
Рет қаралды 21 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 99 МЛН
Creating Mobile Apps with Flowise and Flutterflow | Part 1
7:02
How to Set Up @Supabase Authentication in FlutterFlow
16:05
FlutterFlow
Рет қаралды 32 М.
How to Use Open AI's GPT-4o in FlutterFlow - Part 1
9:31
FlutterFlow
Рет қаралды 11 М.
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 225 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 1,7 МЛН
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 6 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 6 МЛН