I built a fullstack PaLM AI app in just 2 minutes

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • 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/...
    Google I/O breakdown • 10 crazy announcements...
    Terraform in 100 Seconds • Terraform in 100 Seconds
    #webdevelopment #ai #tutorial

Комментарии • 192

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

  • @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 8 месяцев назад +1

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

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

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

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

  • @iliasalaur
    @iliasalaur Год назад +131

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

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

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

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

  • @nuvotion-live
    @nuvotion-live Год назад +3

    Closed source proprietary surveillance, oh joy

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

  • @heckyes
    @heckyes Год назад +7

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

  • @RohanKumar-vx5sb
    @RohanKumar-vx5sb Год назад +3

    i take two minute to just login…

  • @harudot
    @harudot Год назад +4

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

  • @baptiste6436
    @baptiste6436 Год назад +4

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

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

  • @cannahacker9637
    @cannahacker9637 Год назад +8

    The ability for small business to create apps that help increase efficiency is outstanding

    • @HarmonRAB-hp4nk
      @HarmonRAB-hp4nk 7 месяцев назад

      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?

  • @Flackon
    @Flackon Год назад +2

    How can you expect people to hire you to do something that literally takes 2 minutes? No wonder AI is taking all your jobs

  • @nathancall9716
    @nathancall9716 Год назад +2

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

  • @cc.510
    @cc.510 Год назад +13

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

  • @srirampant3135
    @srirampant3135 Год назад +2

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

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

  • @christophermoore6110
    @christophermoore6110 Год назад +2

    Imagine understanding anything that is happening. Can’t relate

  • @iriel492ki
    @iriel492ki Год назад +2

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

  • @Medre
    @Medre Год назад +2

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

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

  • @musiclabouratory8828
    @musiclabouratory8828 Год назад

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

  • @Booyamakashi
    @Booyamakashi Год назад +1

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

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

  • @thedelanyo
    @thedelanyo Год назад +1

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

  • @c4tubo
    @c4tubo Год назад

    Nice clickbait with the "in just 2 minutes". This took way longer just to even think about the problem, much less the solution. Better to rename it a "speedrun" because that is what this is: the fastest that you can go from start to finish after you have already spent a lot of time figuring it out.

  • @charbelboughazale3994
    @charbelboughazale3994 Год назад +1

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

  • @kasvith
    @kasvith Год назад +1

    Only thing i miss is wildcard domain support in firebase auth

  • @leightonmanning8638
    @leightonmanning8638 Год назад

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

  • @darkhost6
    @darkhost6 Год назад +1

    1:14 who is mim🤔

  • @as-qh1qq
    @as-qh1qq Год назад +7

    I always chuckle when I hear "infinitely scalable"

  • @arpyan
    @arpyan Год назад +1

    This is the first video I have to slow down the playback speed. This demo was awesome. Thanks!

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

  • @torchris1
    @torchris1 Год назад +1

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

  • @0xngmi
    @0xngmi Год назад

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

  • @zanzaraloggan3713
    @zanzaraloggan3713 Год назад +2

    I love your political views

  • @vladfishistaken
    @vladfishistaken Год назад +3

    Thanks for the good content

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

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

  • @knoraziel
    @knoraziel Год назад

    Is this guy a legion? How is so productive?

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

  • @majid_alsaidi
    @majid_alsaidi Год назад

    I'm sure this video is without any edits.

  • @greendsnow
    @greendsnow Год назад

    Palm 2's answers are too toxic...

  • @YewLeeFilms
    @YewLeeFilms Год назад

    Can you do Nextjs version?

  • @EdwinManual
    @EdwinManual Год назад +1

    Gotta nerf Fireship now.

  • @MonirRouissi
    @MonirRouissi Год назад

    Man your are speeding up the video 🤣

  • @Xaoticex
    @Xaoticex Год назад

    Dude calm down this was way too fast

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

  • @djcardwell
    @djcardwell Год назад

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

  • @grenishrai611
    @grenishrai611 Год назад

    Can you do PaLM api chatbot?

  • @anishgoenka8238
    @anishgoenka8238 Год назад

    Is your voice AI Generated

  • @codesoon9668
    @codesoon9668 Год назад

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

  • @vixsonvx
    @vixsonvx Год назад

    Pleaes Jeff can you do another video reviewing more on this Firebase Server Side queries. Being waiting for this feature for years.

  • @NuclearInsanity
    @NuclearInsanity Год назад

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

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

  • @marcduck111
    @marcduck111 Год назад

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

  • @1dosstx
    @1dosstx Год назад

    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.

  • @jejidyanjackson2868
    @jejidyanjackson2868 Год назад

    i was struggling here, Thank you so much 😢 I'm very happy

  • @theunnamed89
    @theunnamed89 Год назад

    What do you have on your learning platform that do not exist here on RUclips?

  • @0xtz_
    @0xtz_ Год назад +1

    First 🎉

  • @dsaha1656
    @dsaha1656 Год назад

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

  • @j.hanleysmith8333
    @j.hanleysmith8333 Год назад

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

  • @thatsalot3577
    @thatsalot3577 Год назад

    Bruh you should've made this in 100 seconds

  • @erayagdogan3389
    @erayagdogan3389 Год назад

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

  • @TommyAMV
    @TommyAMV Год назад

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

  • @bananesalee7086
    @bananesalee7086 Год назад

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

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

  • @djcardwell
    @djcardwell Год назад

    voice sounds fake.

  • @vatanak8146
    @vatanak8146 Год назад

    How does Palm2 compare to Gpt 3.5?

  • @JonathanLaliberte1
    @JonathanLaliberte1 Год назад

    Terence McKenna quote ❤

  • @nick.h7566
    @nick.h7566 Год назад +1

    Jeff === Based

  • @diegolikescode
    @diegolikescode Год назад

    Loved the Bukowski, my dear Jeff

  • @richardfeynman-sd3rg
    @richardfeynman-sd3rg Год назад

    undefined, lmao

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

  • @birgirkarl
    @birgirkarl Год назад

    This is AI read...Not the real deal!!

  • @beefykenny
    @beefykenny Год назад

    yeh,
    this video made me subscribe.

  • @jackjackdev
    @jackjackdev Год назад

    Holy shista

  • @bookworm_7
    @bookworm_7 Год назад

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

  • @Flrere
    @Flrere Год назад

    Based Fireship class consciousness????

  • @Meta_Glasses
    @Meta_Glasses Год назад

    Make a video on Warp Terminal!!!

  • @foofoighter
    @foofoighter Год назад

    This ticket is clearly an eight!

  • @henriquealmeida348
    @henriquealmeida348 Год назад

    Firebase console is still a pain in the arse

  • @HaseebHeaven
    @HaseebHeaven Год назад

    Where we can try this for ?

  • @pelangos
    @pelangos Год назад

    I like your style keep rockN

  • @lucasestevaodeoliveira7190
    @lucasestevaodeoliveira7190 Год назад

    dude is speedruning code

  • @Linkplay9
    @Linkplay9 Год назад

    Using svelte is like cheating at productivity

  • @JB-fh1bb
    @JB-fh1bb Год назад

    🤯

  • @MusicalGeniusBar
    @MusicalGeniusBar Год назад

    It feels like my hair is on fire

  • @agcodes
    @agcodes Год назад

    can it make cat videos ?

  • @subhranshudas8862
    @subhranshudas8862 Год назад

    Firebase is back baby!

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

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

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

  • @BGOPC
    @BGOPC Год назад

    Nice

  • @lightninginmyhands4878
    @lightninginmyhands4878 Год назад +1

    And it’s BLAZINGLY FAST