I built a fullstack PaLM AI app in just 2 minutes

Поділитися
Вставка
  • Опубліковано 11 тра 2023
  • 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

КОМЕНТАРІ • 192

  • @tender.branson
    @tender.branson Рік тому +67

    Let's appreciate that Jeff spent 1 extra second to fix misspelled "mim" into "mom".

    • @YuriG03042
      @YuriG03042 Рік тому +7

      timeloss on the speedrun, but he recovered and brought home the W either way

  • @HiImKyle
    @HiImKyle Рік тому +232

    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 Рік тому +70

      Are you being sarcastic or do you not know about supabase

    • @matejbaco2475
      @matejbaco2475 Рік тому +17

      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 Рік тому +5

      AppWrite bro...
      There's also Kuzzle and Parse, and PocketBase I guess?

    • @astroorbis
      @astroorbis Рік тому +8

      Pocketbase is good!

  • @TimeLordRaps
    @TimeLordRaps Рік тому +39

    So palm be making its own tutorials on how to integrate itself into more applications. I respect it.

    • @MaulikParmar210
      @MaulikParmar210 Рік тому +1

      At increased overall costs*
      Funny nobody mentions that.

  • @iliasalaur
    @iliasalaur Рік тому +131

    Google definitely wants to put us, developers, on its Firebase needle. This is scaringly addictive,

  • @arpyan
    @arpyan Рік тому +1

    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

  • @cannahacker9637
    @cannahacker9637 Рік тому +8

    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?

  • @tethron.
    @tethron. Рік тому

    I like your style keep rockN

  • @cc.510
    @cc.510 Рік тому +13

    Pog this is incredible, LLMs are evolving so fast, it's hard to keep up

  • @me-me8ge
    @me-me8ge Рік тому +37

    I will build this app in two minutes the same way as I learned programming with that 1h youtube video!

  • @newgamesaga
    @newgamesaga Рік тому +225

    Main thing people need to notice is what firebase is charging for those so called plugins.

    • @beyondfireship
      @beyondfireship  Рік тому +130

      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 Рік тому +44

      @@beyondfireship thing is its not about how much, its about between adding your credit card or not

    • @dabbopabblo
      @dabbopabblo Рік тому +23

      @@krishgarg2806 What are you implying that Firebase is going to make unauthorized payments with your card? That's ridiculous.

    • @diadetediotedio6918
      @diadetediotedio6918 Рік тому +31

      @@beyondfireship
      Wait, 0.0005 per 1k?
      That's interesting, way better than ChatGPT with his 0.002 per 1k

    • @electron6825
      @electron6825 Рік тому +6

      ​@@su77ungrhow does that compare to gpt4?

  • @JamesBoullion
    @JamesBoullion Рік тому +56

    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 Рік тому +3

      He has what we lack. Imbalance much

    • @newgamesaga
      @newgamesaga Рік тому +10

      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 Рік тому +9

      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 Рік тому +1

      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

  • @vladfishistaken
    @vladfishistaken Рік тому +3

    Thanks for the good content

  • @codesoon9668
    @codesoon9668 Рік тому

    Great Video, IDK If youcan build a Chrome extension of whatever but that is the aim.

  • @diegolikescode
    @diegolikescode Рік тому

    Loved the Bukowski, my dear Jeff

  • @heckyes
    @heckyes Рік тому +7

    Amazing how little development it takes to do a lot of development.

  • @thedelanyo
    @thedelanyo Рік тому +1

    About the deployment, I guess Sveltekit have community firebase adapter.

  • @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

  • @nuvotion-live
    @nuvotion-live Рік тому +3

    Closed source proprietary surveillance, oh joy

  • @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.

  • @subhranshudas8862
    @subhranshudas8862 Рік тому

    Firebase is back baby!

  • @BensProgrammingLab
    @BensProgrammingLab Рік тому +6

    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  Рік тому +5

      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.

  • @user-rg1jp2us4o
    @user-rg1jp2us4o Рік тому +9

    It's official, google would rather add literally anything other than basic search to firebase.

    • @ezrapierce1233
      @ezrapierce1233 Рік тому +1

      This. Flutter has it and yet for some reason one of their main services doesn't.

    • @AaronSaundersCI
      @AaronSaundersCI Рік тому +1

      there is a plugin for that :-)

  • @hakuna_matata_hakuna
    @hakuna_matata_hakuna Рік тому +16

    Firebase reminding everyone they're still the frontend developers best friend

    • @Kevin-jc1fx
      @Kevin-jc1fx Рік тому +4

      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

  • @nathancall9716
    @nathancall9716 Рік тому +2

    Are you going to cover the new Firebase Cloud Functions Python integration more in-depth?

  • @beefykenny
    @beefykenny Рік тому

    yeh,
    this video made me subscribe.

  • @JonathanLaliberte1
    @JonathanLaliberte1 Рік тому

    Terence McKenna quote ❤

  • @iriel492ki
    @iriel492ki Рік тому +2

    Firebase is the goat. Makes Vercel look like a child's toy.

  • @marcduck111
    @marcduck111 Рік тому

    This looks awesome but I'm still waiting to hear back about my waitlist application 😭

  • @Medre
    @Medre Рік тому +3

    Damn, I was fast to click this time. Blazingly fast one might say

  • @BGOPC
    @BGOPC Рік тому

    Nice

  • @kasvith
    @kasvith Рік тому +1

    Only thing i miss is wildcard domain support in firebase auth

  • @as-qh1qq
    @as-qh1qq Рік тому +7

    I always chuckle when I hear "infinitely scalable"

  • @musiclabouratory8828
    @musiclabouratory8828 Рік тому

    References to Charles Bukowski, Terence McKenna, these tutorials are not only about programming.

  • @harudot
    @harudot Рік тому +4

    I think it will take 2 hours for me since I am new to firebase but it’s still fast😊

  • @xntumrfo9ivrnwf
    @xntumrfo9ivrnwf Рік тому +4

    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 Рік тому +1

      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 Рік тому +1

      Same here :D

  • @JB-fh1bb
    @JB-fh1bb Рік тому

    🤯

  • @brianevans4
    @brianevans4 Рік тому +2

    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  Рік тому +4

      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!!!

  • @gmoney9332
    @gmoney9332 Рік тому

    👍

  • @srirampant3135
    @srirampant3135 Рік тому +2

    Are there any open source models like chatgpt or something similar?

  • @baptiste6436
    @baptiste6436 Рік тому +4

    Firebase is cool but it's such a pain to visualize the data and run queries on it

  • @torchris1
    @torchris1 Рік тому +1

    Darn! I thought you were going to build an app in PalmOS! 😓

  • @SharunKumar
    @SharunKumar Рік тому +2

    What's the restriction on text input size 🤔

    • @pavelhalko5727
      @pavelhalko5727 Рік тому

      my same question. Can I use text from a 100 page PDF?

  • @PeppiePeppa
    @PeppiePeppa Рік тому +1

    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?

  • @erayagdogan3389
    @erayagdogan3389 Рік тому

    There are a lot of open source text summarizers in python. I would have prefer writing my own backend on that.

  • @nick.h7566
    @nick.h7566 Рік тому +1

    Jeff === Based

  • @leightonmanning8638
    @leightonmanning8638 Рік тому

    love this but tried to follow and got blocked as palm api isn't available outside the US. :(

  • @HaseebHeaven
    @HaseebHeaven Рік тому

    Where we can try this for ?

  • @j.hanleysmith8333
    @j.hanleysmith8333 Рік тому

    I've had a python runtime in cloud functions for months

  • @0xngmi
    @0xngmi Рік тому

    trying to install the extension give me the spin of death. seems like it's not really working right now

  • @NuclearInsanity
    @NuclearInsanity Рік тому

    Can you post the sourcecode? Getting lots of errors and can't figure out where I'm going wrong :(

  • @berlin_tech_academy
    @berlin_tech_academy Рік тому +4

    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"

  • @theunnamed89
    @theunnamed89 Рік тому

    What do you have on your learning platform that do not exist here on UA-cam?

  • @vatanak8146
    @vatanak8146 Рік тому

    How does Palm2 compare to Gpt 3.5?

  • @majid_alsaidi
    @majid_alsaidi Рік тому

    I'm sure this video is without any edits.

  • @jackjackdev
    @jackjackdev Рік тому

    Holy shista

  • @jonas8708
    @jonas8708 Рік тому +6

    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 Рік тому +5

      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.

  • @0xtz_
    @0xtz_ Рік тому +1

    First 🎉

  • @grenishrai611
    @grenishrai611 Рік тому

    Can you do PaLM api chatbot?

  • @MusicalGeniusBar
    @MusicalGeniusBar Рік тому

    It feels like my hair is on fire

  • @bananesalee7086
    @bananesalee7086 Рік тому

    I had to read it to understand that you were saying "vonage" and not "bondage" lol

  • @lawfultune
    @lawfultune Рік тому

    Hello!

  • @YewLeeFilms
    @YewLeeFilms Рік тому

    Can you do Nextjs version?

  • @sebastienwouters336
    @sebastienwouters336 Рік тому +1

    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

  • @foofoighter
    @foofoighter Рік тому

    This ticket is clearly an eight!

  • @EdwinManual
    @EdwinManual Рік тому +1

    Gotta nerf Fireship now.

  • @darkhost6
    @darkhost6 Рік тому +1

    1:14 who is mim🤔

  • @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  Рік тому +3

      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.

  • @RohanKumar-vx5sb
    @RohanKumar-vx5sb Рік тому +3

    i take two minute to just login…

  • @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

  • @Booyamakashi
    @Booyamakashi Рік тому +1

    This took two minutes the same way as going to the moon took couple of minutes. ;)

  • @omomer3506
    @omomer3506 Рік тому

    Wait so i shouldn't use firebase firestore in load function

    • @beyondfireship
      @beyondfireship  Рік тому +1

      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,

  • @Flrere
    @Flrere Рік тому

    Based Fireship class consciousness????

  • @devmesh5340
    @devmesh5340 Рік тому +3

    Firebase can now host Next!
    Vercel: Are you challenging me?

  • @BackUp-cz6zn
    @BackUp-cz6zn Рік тому +1

    every time i try to do something with firebase i google fireship (the thing i want to do). every single time.

  • @djcardwell
    @djcardwell Рік тому

    There's almost no need to build apps now because people can just accomplish the exact same thing from the prompt.

  • @knoraziel
    @knoraziel Рік тому

    Is this guy a legion? How is so productive?

  • @TommyAMV
    @TommyAMV Рік тому

    This actually scared me af to be honest
    Like, how, what the hell

  • @lightninginmyhands4878
    @lightninginmyhands4878 Рік тому +1

    And it’s BLAZINGLY FAST

  • @thatsalot3577
    @thatsalot3577 Рік тому

    Bruh you should've made this in 100 seconds

  • @zanzaraloggan3713
    @zanzaraloggan3713 Рік тому +2

    I love your political views

  • @wentallout
    @wentallout Рік тому +1

    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.

  • @henriquealmeida348
    @henriquealmeida348 Рік тому

    Firebase console is still a pain in the arse

  • @bookworm_7
    @bookworm_7 Рік тому

    I am a secret cat who refuses to recycle news, byebye

  • @charbelboughazale3994
    @charbelboughazale3994 Рік тому +1

    it would take me 2 minutes to just download the dependencies.

  • @richardfeynman-sd3rg
    @richardfeynman-sd3rg Рік тому

    undefined, lmao

  • @ben9583_
    @ben9583_ Рік тому +7

    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 5 місяців тому +1

      Ya bro npm i is tacks 5min to finish in my crap laptop😂

  • @lucasestevaodeoliveira7190
    @lucasestevaodeoliveira7190 Рік тому

    dude is speedruning code

  • @anishgoenka8238
    @anishgoenka8238 Рік тому

    Is your voice AI Generated

  • @dsaha1656
    @dsaha1656 Рік тому

    What the f**k!!!! i am feeling dizzy now 😵‍💫

  • @antontimeboy6094
    @antontimeboy6094 Рік тому +5

    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 Рік тому +3

      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 Рік тому +1

      Maybe if you customer has a small user base or is willing to pay, then the time it saves you is worth it?

  • @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……………………

  • @agcodes
    @agcodes Рік тому

    can it make cat videos ?

  • @christophermoore6110
    @christophermoore6110 Рік тому +2

    Imagine understanding anything that is happening. Can’t relate

  • @gameboyv1790
    @gameboyv1790 Рік тому

    huh

  • @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.

  • @housem9799
    @housem9799 Рік тому

    Please don't ever change the hello world