LLM OS with gpt-4o

Sdílet
Vložit
  • čas přidán 12. 05. 2024
  • Lets build the `LLM OS` inspired by the great Andrej Karpathy using the new GPT-4o model.
    Can LLMs be the CPU of a new operating system and solve problems using:
    💻 software 1.0 tools
    🌎 internet browsing
    📕 knowledge retrieval
    🤖 communication with other LLMs
    Code: git.new/llm-os
    ⭐️ Phidata: git.new/phidata
    Questions on Discord: phidata.link/discord

Komentáře • 61

  • @gaborsaniti
    @gaborsaniti Před 18 dny +15

    woah just finished the "older" video and BAM a new one is already avaiable and already updated!
    You are a great dev, thanks for making it avaiable for everyone and for the simplicity which you use to describe difficult things!

  • @Alxndros01
    @Alxndros01 Před 10 dny

    I'm very skeptical of all things around AI lately, but this is a really cool implementation/conceptualization of what a powerful LLM can do. I want to build one of these locally and see if I can make it an 'expert' at something niche and traditionally 'difficult' for a computer to do.

  • @dekba7410
    @dekba7410 Před 17 dny +5

    I love that you have dived in and produced a practical demo. Thanks for that and for releasing the code. Longer term I wonder if using traditional OS concepts might be limiting and if a more human centric model has benefits? Eg, a minimal design that grows with the user, uses self-evaluation and develops it's own assistants and tools specific to that user's needs?

  • @musiitwaedmond1426
    @musiitwaedmond1426 Před 17 dny +6

    This is really great @phidata! Great resource for my project, am building a system much like this with a twist of the ACE (Autonomous cognitive Entities) framework and can use any open source models (Groq is super cool and super fast).
    Thank you for open sourcing your work.

  • @denisspataro7379
    @denisspataro7379 Před 16 dny +1

    Amazing job, thank you so much for sharing it!

  • @user-gj3kz7cm3x
    @user-gj3kz7cm3x Před 17 dny +4

    Security. Reliability. Performance. So many concerns.

    • @phidata
      @phidata  Před 12 dny

      fun fun fun :) i think its good to experiment and then add those on top :)

  • @redthunder6183
    @redthunder6183 Před 2 dny

    I was able to get something similar running reliably using llama 3 8b quantized to 4 bits.
    Not quite as advanced, it doesn’t have any task delegation, but I don’t see a need for it so I doubt I’ll add it.
    But I’m really happy I was able to get it to run on such a relatively “weak” model that can run locally

  • @liamlarsen9286
    @liamlarsen9286 Před 17 dny +1

    God Bless you and your work so far . very cool

    • @phidata
      @phidata  Před 17 dny

      @liamlarsen9286 🙏🙏thank you for the blessing 🙏🙏

  • @free_thinker4958
    @free_thinker4958 Před 17 dny +1

    You're the man 👏

  • @SamiSabirIdrissi
    @SamiSabirIdrissi Před 17 dny +1

    Bro, how you put this together so fast ahahahah. You get leaked news early! Awesome video, I can’t wait to try after work

  • @75M
    @75M Před 17 dny +1

    Great video, what kind of pointer do you use? the red line that disappears

  • @TheFocusedCoder
    @TheFocusedCoder Před 18 dny +3

    you are on top of it !

    • @phidata
      @phidata  Před 18 dny

      thank you, at your service :)

  • @MrStevemur
    @MrStevemur Před 17 dny +1

    Thank you. I'd love to see the text of the research report it wrote for you.

  • @smiss4934
    @smiss4934 Před 17 dny

    the father of LLM OS! awesome

  • @pruff3
    @pruff3 Před 17 dny +1

    Instantly subscribed, thanks

  • @RodrigoP.Coelho
    @RodrigoP.Coelho Před 10 dny

    This is amazing! Is a LLAMA-3 with Groq version in your roadmap? I'm going to attempt to convert it, but don´t know if I'm as skilled...

  • @vasvalstan
    @vasvalstan Před 17 dny +1

    is there a way to connect this to my vscode ? I'm trying to connect gpt4o to my project that I'm working on(it's an e2e playwright/ts automation framework for a nextjs project) kind of like a copilot, but I feel copilot doesn't give sometimes the best suggestions

  • @avencadigital3527
    @avencadigital3527 Před 18 dny +1

    Awesome

  • @stanleylu3625
    @stanleylu3625 Před 6 dny

    Since this can see shell, can it also write or create files? Create or edit system settings if I chose to do so?

  • @ShailenSobhee
    @ShailenSobhee Před 14 dny +1

    Technically, LLM OS would work with a local Llama-3 model right? Since you do not need the "omni" multi-modal input.

    • @phidata
      @phidata  Před 12 dny +1

      technically yes, but local models probably are not yet good enough to pull this off. maybe i do a video testing local models with this

  • @TheRealUsername
    @TheRealUsername Před 17 dny +3

    I think GPT-4o which is a multimodal model has been trained on millions of CZcams videos, it will be the same for GPT-5, just think of it, to scale up a model you train it on more data with more parameters, since the maximum of relevant tokens available online cannot exceed 50 trillion, the biggest source of quality data is CZcams with over 4 billions of videos, I think it's why GPT-4o is so good at agent capabilities.

    • @liamlarsen9286
      @liamlarsen9286 Před 17 dny

      you must take into account, that the data has to be increasingly well prompted as you grow. because of how large the multiparamter models are, their data must become increasingly complex sets of training / test data to actually see an increase in reasoning performance. Right now we are experiencing a plateau, as we can see even the 400 billion paramter model waiting on by meta has been training for months, which means our constraint limit is complex data and compute (GPUs). For models to become better at reasoning tasks, they have to complete reasoning tasks in a dataset, which may be significantly more complex than just watching youtube. They possibly created lots and lots of training data Even USING GPT4 ! So we can see the models become more efficient - but not grow (model collapse)

    • @Nakatoa0taku
      @Nakatoa0taku Před 16 dny

      The quantity is impressive isn't it?
      The quality of the data is subpar nonsense and insanity.
      Quality over quantity of course
      Shakes head in disbelief you people are bloody idiots innit?

    • @Nakatoa0taku
      @Nakatoa0taku Před 16 dny

      ​@@liamlarsen9286compute ain't the problem dude.
      Just laughable meritless mediocre meaningless mumbojumbo nothing more.
      Why is it you people don't grasp any of what is going on?

    • @liamlarsen9286
      @liamlarsen9286 Před 15 dny +1

      @@Nakatoa0taku did chatgpt help you write that

  • @jarad4621
    @jarad4621 Před 17 dny +1

    Fantastic but please tell me me when it searches does it read the pages as well, scrape them maube with other cheaper llms team members or firecrawl which can scrape structured data to vector, does it read pages or only search results

    • @phidata
      @phidata  Před 17 dny +1

      we can program it to work however you like :) currently it reads the page if non-javascript but we have a firecrawl integration so can use that aswell

    • @jarad4621
      @jarad4621 Před 12 dny

      @@phidata awesome thanks and could technically add other scrapers or integrations as well if needed?

  • @MikeTheBard
    @MikeTheBard Před 17 dny +2

    The links in the description don't seem to work at the moment. Great video and coding, however!

    • @phidata
      @phidata  Před 17 dny +1

      sorry, i tried to put em but not sure why its not working. everything should be under the phidata repo: git.new/phidata

  • @caseyhoward8261
    @caseyhoward8261 Před 16 dny +1

    How do you recommend I add vision capabilities?
    Im hoping to use this as the backend of an Android app that can take plant images and diagnose their health and living conditions.
    Thank you in advance! ❤️

    • @phidata
      @phidata  Před 12 dny

      the assistant.run() functions accepts images, checkout github.com/phidatahq/phidata/blob/main/cookbook/assistants/vision.py#L7-L15 for an example

  • @williamwong8424
    @williamwong8424 Před 17 dny +2

    can you share with us how can we add bunch of files (pdf, txt, docx etc) then the agents/assistant can respond based on the knowledge base and respond accordingly. not neccesary for users to upload from the front end.

    • @phidata
      @phidata  Před 17 dny +1

      yup absolutely doable, will add a video to it. For now please check the docs here: docs.phidata.com/knowledge/introduction

  • @aspmotta
    @aspmotta Před 17 dny +2

    How big can the data base be? Can I add multiple doc files?

    • @jarad4621
      @jarad4621 Před 17 dny +2

      Yes please confirm this

    • @phidata
      @phidata  Před 17 dny

      @@jarad4621 you can add as much as you like, its a postgres database so the limits havent yet been found 😂

    • @phidata
      @phidata  Před 17 dny

      you can add many, many doc files. i've personally built this with 50-70 gb of data and it does fine (ofcourse need a HNSW index + retrieval fine tuning)😂

  • @shadeall
    @shadeall Před 16 dny +1

    thank you for this valuable video, i've followed all the steps and it also launches the web ui, but gives me this error: NotFoundError: Error code: 404 - {'error': {'message': 'The model `gpt-4o` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

    • @shadeall
      @shadeall Před 16 dny

      API keys are connected and in use as well

  • @cpng7409
    @cpng7409 Před 11 dny

    Can use local open source model instead of gpt4o?i mean how to code if can

    • @BarathwajAnandan
      @BarathwajAnandan Před 11 dny

      The prompts might have to be tuned I believe. I’ve tried multiple good repos which doesnt work as expected if not for the same LLM it was built with.

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před 16 dny +1

    why do you say that it only works wit GPT-4o?

    • @phidata
      @phidata  Před 12 dny

      gpt-4o or gpt-4-turbo, other models aren't there yet. maybe i try with opus that should work probably

  • @six1free
    @six1free Před 17 dny

    is that standalone? if so, why is it buried in phidata?

    • @phidata
      @phidata  Před 17 dny +1

      its built using phidata :)

    • @six1free
      @six1free Před 17 dny

      @@phidata I just realized that's also your name lol
      I guess I'll have to download the whole thing then :D

  • @Jshicwhartz
    @Jshicwhartz Před 17 dny +1

    That is cool, but damn that code looks like a spaghetti spiral. I really wish people would format their code properly and get rid of test things.

    • @phidata
      @phidata  Před 12 dny

      sorry :(

    • @Jshicwhartz
      @Jshicwhartz Před 11 dny

      @@phidata No need to be sorry lol it's good stuff I like it! Just don't bait people into downloading code which will eat tokens if you decide to opensource it, otherwise! Keep it up, I'll sub and wait for your next video!

  • @Q_20
    @Q_20 Před 17 dny

    langchain?

  • @user-yu2wr5qf7g
    @user-yu2wr5qf7g Před 12 dny

    wow!