Тёмный

I built a fullstack PaLM AI app in just 2 minutes 

Beyond Fireship
Подписаться 389 тыс.
Просмотров 175 тыс.
50% 1

Learn how to use Google's new PaLM 2 AI model with Firebase and SvelteKit. In this tutorial, we build and deploy a fullstack LLM-powered application in just 2 minutes.
Firebase Updates firebase.blog/posts/2023/05/w...
Google I/O breakdown • 10 crazy announcements...
Terraform in 100 Seconds • Terraform in 100 Seconds
#webdevelopment #ai #tutorial

Опубликовано:

 

11 май 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 193   
@HiImKyle
@HiImKyle Год назад
Firebase is great, I just wish there were open source self hostable options that don't require a subscription in order to use it for more than one project...
@javierflores09
@javierflores09 Год назад
Are you being sarcastic or do you not know about supabase
@matejbaco2475
@matejbaco2475 Год назад
There are many. Appwrite, Supabase, NHost, just to name a few... If your main focus on on ability to self-host, Appwrite has made that the simples of all the backends I have seen so far.
@ko-Daegu
@ko-Daegu Год назад
@@matejbaco2475 it’s to self host what web apps like front end only Or can I deploy my flask app as well
@msal
@msal Год назад
AppWrite bro... There's also Kuzzle and Parse, and PocketBase I guess?
@astroorbis
@astroorbis Год назад
Pocketbase is good!
@tender.branson
@tender.branson Год назад
Let's appreciate that Jeff spent 1 extra second to fix misspelled "mim" into "mom".
@YuriG03042
@YuriG03042 Год назад
timeloss on the speedrun, but he recovered and brought home the W either way
@TimeLordRaps
@TimeLordRaps Год назад
So palm be making its own tutorials on how to integrate itself into more applications. I respect it.
@MaulikParmar210
@MaulikParmar210 Год назад
At increased overall costs* Funny nobody mentions that.
@arpyan
@arpyan Год назад
This is the first video I have to slow down the playback speed. This demo was awesome. Thanks!
@jejidyanjackson2868
@jejidyanjackson2868 11 месяцев назад
i was struggling here, Thank you so much 😢 I'm very happy
@iliasalaur
@iliasalaur Год назад
Google definitely wants to put us, developers, on its Firebase needle. This is scaringly addictive,
@ieatthighs
@ieatthighs Год назад
its*
@mattwyd2161
@mattwyd2161 Год назад
@@ieatthighs nobody asked
@ieatthighs
@ieatthighs Год назад
@@mattwyd2161 do i look like i care
@dykoyaa3937
@dykoyaa3937 Год назад
@@ieatthighs someone is mad...
@ieatthighs
@ieatthighs Год назад
@@dykoyaa3937 very mad
@cc.510
@cc.510 Год назад
Pog this is incredible, LLMs are evolving so fast, it's hard to keep up
@tethron.
@tethron. Год назад
I like your style keep rockN
@me-me8ge
@me-me8ge Год назад
I will build this app in two minutes the same way as I learned programming with that 1h youtube video!
@vladfishistaken
@vladfishistaken Год назад
Thanks for the good content
@cannahacker9637
@cannahacker9637 Год назад
The ability for small business to create apps that help increase efficiency is outstanding
@HarmonRAB-hp4nk
@HarmonRAB-hp4nk 3 месяца назад
riiight... being a pc tech of 35 years I've seen this done many times...Linux is so muc more powerfull then windows or mac... so anyway, ai will never exist simplyy because we programmed it, humans are flawed, expecting to make something that thinks for itself..... its called a baby.. and they screw up all the time... so woul ya really trust a newborn child to do.. say..... math?
@codesoon9668
@codesoon9668 Год назад
Great Video, IDK If youcan build a Chrome extension of whatever but that is the aim.
@newgamesaga
@newgamesaga Год назад
Main thing people need to notice is what firebase is charging for those so called plugins.
@beyondfireship
@beyondfireship Год назад
The plugins themselves are just prepackaged solutions. In this case, you pay for the 1 cloud function + PaLM usage, which is $0.0005 per 1000 characters currently.
@krishgarg2806
@krishgarg2806 Год назад
@@beyondfireship thing is its not about how much, its about between adding your credit card or not
@dabbopabblo
@dabbopabblo Год назад
@@krishgarg2806 What are you implying that Firebase is going to make unauthorized payments with your card? That's ridiculous.
@diadetediotedio6918
@diadetediotedio6918 Год назад
@@beyondfireship Wait, 0.0005 per 1k? That's interesting, way better than ChatGPT with his 0.002 per 1k
@electron6825
@electron6825 Год назад
​@@su77ungrhow does that compare to gpt4?
@JamesBoullion
@JamesBoullion Год назад
How...how do you keep up on everything? You have kids! HOW! I am convinced you either have clones or an advanced AI working for you.
@XDarkGreyX
@XDarkGreyX Год назад
He has what we lack. Imbalance much
@newgamesaga
@newgamesaga Год назад
With so many subscribers now. He may have a team which does research for the videos and he just plays the final audit part.
@rico993
@rico993 Год назад
I mean this is literally his full-time job. You could keep up on everything too if you spent hours every single day researching and prototyping instead of working a normal 9-5
@YuriG03042
@YuriG03042 Год назад
he might just be coding for such a long time that he became a master at learning, applying and creating, so documentation that would take us an hour to understand and process, he is able to skim through for the important parts in just a few minutes
@diegolikescode
@diegolikescode Год назад
Loved the Bukowski, my dear Jeff
@deddyxyz
@deddyxyz Год назад
Python is already supported in Cloud Functions for a long time.. it’s just 2nd gen functions that now have new support for it
@thedelanyo
@thedelanyo Год назад
About the deployment, I guess Sveltekit have community firebase adapter.
@heckyes
@heckyes Год назад
Amazing how little development it takes to do a lot of development.
@1dosstx
@1dosstx 10 месяцев назад
I see you can add a custom context prompt, but how do you also add example responses to the extension (so it doesn't hallucinate)? Otherwise it's nearly impossible to actually use this extension in production.
@victordan-jumbo6340
@victordan-jumbo6340 Год назад
Pleaes Jeff can you do another video reviewing more on this Firebase Server Side queries. Being waiting for this feature for years.
@beefykenny
@beefykenny Год назад
yeh, this video made me subscribe.
@nuvotion-live
@nuvotion-live Год назад
Closed source proprietary surveillance, oh joy
@user-rg1jp2us4o
@user-rg1jp2us4o Год назад
It's official, google would rather add literally anything other than basic search to firebase.
@ezrapierce1233
@ezrapierce1233 Год назад
This. Flutter has it and yet for some reason one of their main services doesn't.
@AaronSaundersCI
@AaronSaundersCI Год назад
there is a plugin for that :-)
@BensProgrammingLab
@BensProgrammingLab Год назад
Hey, great video!! I love your content!! I just was wondering if it is also possible and sensible to use firebase in a server file or even as a api route.
@beyondfireship
@beyondfireship Год назад
Yes, the Firebase SDK works in both web and Node environments. Most common use case is fetching public data for SSR. Keep in mind, the server won't know the user auth state unless you explicitly setup session cookies.
@hakuna_matata_hakuna
@hakuna_matata_hakuna Год назад
Firebase reminding everyone they're still the frontend developers best friend
@Kevin-jc1fx
@Kevin-jc1fx Год назад
This looks more like trading freedom for convenience.
@hakuna_matata_hakuna
@hakuna_matata_hakuna Год назад
@@Kevin-jc1fx I'd rather them over vercel, they have a more complete + more affordable solution
@subhranshudas8862
@subhranshudas8862 Год назад
Firebase is back baby!
@xntumrfo9ivrnwf
@xntumrfo9ivrnwf Год назад
Bro I just spent like 40 minutes trying to figure out why the PaLM summarization was ERROR'ing out the whole time, only to see this sentence on the extensions hub page: "Please ensure that you have already signed up for the waitlist and have been approved before installing the extension." Awesome video but wish I knew that ahead of time :(
@ankan-dev
@ankan-dev Год назад
Bro did you get the invite?
@xntumrfo9ivrnwf
@xntumrfo9ivrnwf Год назад
@@ankan-dev Nope... very sad
@ankan-dev
@ankan-dev Год назад
Is there any other summarizer ai api?
@olegk32
@olegk32 Год назад
Same here :D
@marcduck111
@marcduck111 Год назад
This looks awesome but I'm still waiting to hear back about my waitlist application 😭
@Medre
@Medre Год назад
Damn, I was fast to click this time. Blazingly fast one might say
@harudot
@harudot Год назад
I think it will take 2 hours for me since I am new to firebase but it’s still fast😊
@nathancall9716
@nathancall9716 Год назад
Are you going to cover the new Firebase Cloud Functions Python integration more in-depth?
@JonathanLaliberte1
@JonathanLaliberte1 Год назад
Terence McKenna quote ❤
@iriel492ki
@iriel492ki Год назад
Firebase is the goat. Makes Vercel look like a child's toy.
@BGOPC
@BGOPC Год назад
Nice
@kasvith
@kasvith Год назад
Only thing i miss is wildcard domain support in firebase auth
@srirampant3135
@srirampant3135 Год назад
Are there any open source models like chatgpt or something similar?
@berlin_tech_academy
@berlin_tech_academy Год назад
I cant stop laughing how this PaLM model summarized "hi mom" into 3-lines "Hi Mom! I'm doing well. I'm excited to start my new job next week. I'm also looking forward to seeing you and Dad this weekend"
@brianevans4
@brianevans4 Год назад
Are you sure that python cloud functions runtime is new? Im sure I used it a few years ago. Google cloud functions written in python. What's new about that?
@beyondfireship
@beyondfireship Год назад
It's not new to GCP, but is new to Firebase. The main benefit is that you can easily use triggers for Firestore, Storage, pub/sub, etc.
@bryantrujillo7894
@bryantrujillo7894 Год назад
Make a video on Warp Terminal!!!
@musiclabouratory8828
@musiclabouratory8828 Год назад
References to Charles Bukowski, Terence McKenna, these tutorials are not only about programming.
@PeppiePeppa
@PeppiePeppa Год назад
I get an error saying: Error calling PaLM API for document 'api_messages/3': 7 PERMISSION_DENIED: Generative Language API has not been used in project xxxx before or it is disabled. And then I try to find the Generative Language API on console cloud but it isnt there?
@Assoehosselaar
@Assoehosselaar Год назад
You need beta access for the palm 2 api
@leightonmanning8638
@leightonmanning8638 Год назад
love this but tried to follow and got blocked as palm api isn't available outside the US. :(
@SharunKumar
@SharunKumar Год назад
What's the restriction on text input size 🤔
@pavelhalko5727
@pavelhalko5727 Год назад
my same question. Can I use text from a 100 page PDF?
@nick.h7566
@nick.h7566 Год назад
Jeff === Based
@erayagdogan3389
@erayagdogan3389 Год назад
There are a lot of open source text summarizers in python. I would have prefer writing my own backend on that.
@as-qh1qq
@as-qh1qq Год назад
I always chuckle when I hear "infinitely scalable"
@theunnamed89
@theunnamed89 Год назад
What do you have on your learning platform that do not exist here on RU-vid?
@JB-fh1bb
@JB-fh1bb Год назад
🤯
@HaseebHeaven
@HaseebHeaven Год назад
Where we can try this for ?
@j.hanleysmith8333
@j.hanleysmith8333 Год назад
I've had a python runtime in cloud functions for months
@torchris1
@torchris1 Год назад
Darn! I thought you were going to build an app in PalmOS! 😓
@baptiste6436
@baptiste6436 Год назад
Firebase is cool but it's such a pain to visualize the data and run queries on it
@0xngmi
@0xngmi Год назад
trying to install the extension give me the spin of death. seems like it's not really working right now
@vatanak8146
@vatanak8146 Год назад
How does Palm2 compare to Gpt 3.5?
@gmoney9332
@gmoney9332 Год назад
👍
@NuclearInsanity
@NuclearInsanity Год назад
Can you post the sourcecode? Getting lots of errors and can't figure out where I'm going wrong :(
@grenishrai611
@grenishrai611 Год назад
Can you do PaLM api chatbot?
@jonas8708
@jonas8708 Год назад
Does anyone know if the PaLM API is GDPR compliant? The main reason I can't use OpenAI for work is that their servers are all in the US and they retain all API requests for 30 days. I can't find any information from Google on data retention, storage or location though :/
@vaakdemandante8772
@vaakdemandante8772 Год назад
If it's Google it's safe to bet the data may be stored on or at least "travels" through the US territory.
@ra2enjoyer708
@ra2enjoyer708 Год назад
Nothing AI-related is GDPR-compliant lol. I guess it's really the time for US to declare war on EU and England in order to bring the promised closed-source AI-powered (but also with no concept of privacy or even auth scopes) paradise closer to the complete realization.
@majid_alsaidi
@majid_alsaidi Год назад
I'm sure this video is without any edits.
@shep9194
@shep9194 Год назад
Anyone know pricing for this? Ive been looking but i cant find even a hint of what its supposed to cost.
@beyondfireship
@beyondfireship Год назад
cloud.google.com/vertex-ai/pricing#generative_ai_models
@shep9194
@shep9194 Год назад
@@beyondfireshipty! Couldnt find that for the life of me. One thing im seeing is that they measured cost in “characters”, specifically $0.0005 per 1000 characters. Anyone know if that stacks up to be cheaper than openAI? I cant tell if a character is the same as a token.
@jacob.invertase
@jacob.invertase Год назад
@@shep9194 As far as i understand, a character is not the same thing as a token, necessarily. The prompt will be split up into tokens which can be characters, words, subwords, or other segments of the prompt.
@bananesalee7086
@bananesalee7086 Год назад
I had to read it to understand that you were saying "vonage" and not "bondage" lol
@lawfultune
@lawfultune Год назад
Hello!
@freqtion
@freqtion Год назад
w svelte
@MusicalGeniusBar
@MusicalGeniusBar Год назад
It feels like my hair is on fire
@YewLeeFilms
@YewLeeFilms Год назад
Can you do Nextjs version?
@foofoighter
@foofoighter Год назад
This ticket is clearly an eight!
@darkhost6
@darkhost6 Год назад
1:14 who is mim🤔
@EdwinManual
@EdwinManual Год назад
Gotta nerf Fireship now.
@jackjackdev
@jackjackdev Год назад
Holy shista
@murch5054
@murch5054 Год назад
omg you are amazing. You make stuff appear much simlpler that it really is. I know.. it s.. but you brew it witch such easy that i know.. i can do it.. but its much harder than it looks
@murch5054
@murch5054 Год назад
i was drunk when i wrote the above
@murch5054
@murch5054 Год назад
I must really enjoy it.. because i consume highly tech content when im drunk
@sebastienwouters336
@sebastienwouters336 Год назад
Would be nice to add subtitles in your videos
@YuriG03042
@YuriG03042 Год назад
adds more effort into editing when it's really not needed. Fireship videos are meant to be fast, you can optionally slow down the video manually and/or use the video transcription feature yourself
@RohanKumar-vx5sb
@RohanKumar-vx5sb Год назад
i take two minute to just login…
@omomer3506
@omomer3506 Год назад
Wait so i shouldn't use firebase firestore in load function
@beyondfireship
@beyondfireship Год назад
Depends if you want to fetch on the server or client. In this example, I did it client side to take advantage of realtime features.
@omomer3506
@omomer3506 Год назад
@Beyond Fireship yeah but the server sdk is different and i found it not to be quite documented as the client sdk,
@Booyamakashi
@Booyamakashi Год назад
This took two minutes the same way as going to the moon took couple of minutes. ;)
@Flrere
@Flrere Год назад
Based Fireship class consciousness????
@TommyAMV
@TommyAMV Год назад
This actually scared me af to be honest Like, how, what the hell
@BackUp-cz6zn
@BackUp-cz6zn Год назад
every time i try to do something with firebase i google fireship (the thing i want to do). every single time.
@zanzaraloggan3713
@zanzaraloggan3713 Год назад
I love your political views
@thatsalot3577
@thatsalot3577 Год назад
Bruh you should've made this in 100 seconds
@knoraziel
@knoraziel Год назад
Is this guy a legion? How is so productive?
@devmesh5340
@devmesh5340 Год назад
Firebase can now host Next! Vercel: Are you challenging me?
@henriquealmeida348
@henriquealmeida348 Год назад
Firebase console is still a pain in the arse
@djcardwell
@djcardwell Год назад
There's almost no need to build apps now because people can just accomplish the exact same thing from the prompt.
@0xtz_
@0xtz_ Год назад
First 🎉
@charbelboughazale3994
@charbelboughazale3994 Год назад
it would take me 2 minutes to just download the dependencies.
@bookworm_7
@bookworm_7 Год назад
I am a secret cat who refuses to recycle news, byebye
@lucasestevaodeoliveira7190
@lucasestevaodeoliveira7190 Год назад
dude is speedruning code
@antontimeboy6094
@antontimeboy6094 Год назад
Great video, great content, as always! My critique on this is very specific, and kinda minor.. but dear to me: It really isn't necessary to claim to have build this app in 2 minutes. It's not even a lie of course, and not many people would believe you did. It's not "deceiving", in that sense. But it's just... "diluting" the truth? Like, you _show_ us how to build the app, with jump cuts in between, but it didn't _take_ you only 2 minutes. Like, that's just simply not what "I built a fullstack app in just 2 minutes" means? Idk, I think this is just a weird thing to start with, and if we start with pointlessly using claims in a way that are obviously not even _intended_ the way that they sound, it's a slippery slope..
@asdf8asdf8asdf8asdf
@asdf8asdf8asdf8asdf Год назад
I was even more pissed off bc I watch the video 2x acceleration and Jeff did everything in under a minute, which I think is a total ripoff. 💥
@nollix
@nollix Год назад
What are you even trying to say?
@thisguy9279
@thisguy9279 Год назад
The reason why I don't use this: money
@Kevin-jc1fx
@Kevin-jc1fx Год назад
Maybe if you customer has a small user base or is willing to pay, then the time it saves you is worth it?
@lightninginmyhands4878
@lightninginmyhands4878 Год назад
And it’s BLAZINGLY FAST
@christophermoore6110
@christophermoore6110 Год назад
Imagine understanding anything that is happening. Can’t relate
@ben9583_
@ben9583_ Год назад
This is false. You didn't include the npm install time, which would have more than doubled the entire duration of this project. Unsubscribed and banned.
@MPING_STORIES
@MPING_STORIES 4 месяца назад
Ya bro npm i is tacks 5min to finish in my crap laptop😂
@wentallout
@wentallout Год назад
I hope you make more SvelteKit-related tutorials. I hate React with a passion and any new React tutorial videos that pop up only pissed me off.
@richardfeynman-sd3rg
@richardfeynman-sd3rg Год назад
undefined, lmao
@davidliddle6477
@davidliddle6477 Год назад
I agree, you do need experience and not just a CS degree. Tell that to a chronic homeless man who can’t get a job because the media ruined his life. I’ll wait for your enlightened answer……………………
@dsaha1656
@dsaha1656 Год назад
What the f**k!!!! i am feeling dizzy now 😵‍💫
@anishgoenka8238
@anishgoenka8238 Год назад
Is your voice AI Generated
@gameboyv1790
@gameboyv1790 Год назад
huh
@agcodes
@agcodes Год назад
can it make cat videos ?
@jsward17
@jsward17 Год назад
Is this an ad? I think you gotta be clear about that. I’ve heard real pros hate firebase, like it’s not really used beyond hobby sized projects.
@ra2enjoyer708
@ra2enjoyer708 Год назад
Well yeah, all these cloud solutions infinitely scale your credit card along with infinite scaling of your infra. At certain point it's way more effective to do things slower but cheaper, which is obviously not what the *aaS providers want you to do.
Далее
Learn React Hooks: useMemo - Simply Explained!
13:41
Просмотров 75 тыс.
Китайка и Пчелка 4 серия😂😆
00:19
PROOF JavaScript is a Multi-Threaded language
8:21
Просмотров 260 тыс.
I tried 8 different Postgres ORMs
9:46
Просмотров 381 тыс.
How I deploy serverless containers for free
6:33
Просмотров 384 тыс.
I built an image search engine
6:44
Просмотров 283 тыс.
Never install locally
5:45
Просмотров 1,6 млн
This UI component library is mind-blowing
8:23
Просмотров 557 тыс.
I built an Apple Vision Pro app... visionOS tutorial
9:19
The ultimate guide to web performance
6:43
Просмотров 398 тыс.