OpenAI Assistants API to Build AI Agent SWARMS. Better than AutoGen?

Поделиться
HTML-код
  • Опубликовано: 9 июл 2024
  • My GPT for building Assistants:
    chat.openai.com/g/g-uMLDryp2X...
    (EARLY BETA)
    (work in progress)
    Get on my daily AI newsletter 🔥
    natural20.beehiiv.com/subscribe
    [News, Research and Tutorials on AI]
    Video Summary
    This video provides an insightful tutorial on creating AI assistants using OpenAI's API. The video begins by discussing the significance of the recent OpenAI developer conference, highlighting two key announcements: GPTs (customizable AI models) and AI assistants. It emphasizes how GPTs, while powerful, have specific limitations to prevent autonomous operations without user prompts. The focus then shifts to creating AI assistants through API calls, demonstrating this with practical coding examples.
    The presenter uses Google Colab and OpenAI's API to create a simple application that analyzes stock prices and performs text analysis with GPT models. The video further explores the potential of AI assistants, explaining how to create, modify, and interact with them, including managing their roles and functionalities. The presenter emphasizes the educational aspect, aiming to bridge the gap for viewers with limited coding experience.
    Additionally, the video covers advanced topics such as thread creation, message handling, and using tools like Code Interpreter for enhanced assistant capabilities. The tutorial concludes with a preview of upcoming features in the OpenAI API, including multi-modal capabilities and real-time application support.
    Video Chapters
    [00:00:00] Introduction
    Overview of the OpenAI Developer Conference
    Discussion of GPTs and AI assistants
    [00:01:00] GPTs and Limitations
    Explanation of GPTs' power and restrictions
    Preventing autonomous operations
    [00:02:00] Creating AI Assistants
    Introduction to creating assistants with API calls
    Demonstrating simple application for stock analysis
    [00:03:00] Setting up Google Colab
    Step-by-step setup of Google Colab for coding
    [00:04:00] Using ChatGPT for Code Generation
    Leveraging ChatGPT to generate code for the application
    [00:05:00] Assistant Coder Development
    Developing an AI assistant for coding assistance
    [00:10:00] Practical Coding Example
    Real-time coding example using stock data
    [00:12:00] Interacting with AI Assistants
    Managing and modifying AI assistants' roles and functions
    [00:15:00] Advanced Assistant Management
    Creating threads and handling messages in assistants
    [00:17:00] Utilizing Tools in Assistants
    Using tools like Code Interpreter for enhanced functionalities
    [00:20:00] Future API Features
    Preview of upcoming features in OpenAI API
    [00:22:00] Conclusion and Q&A
    Summarizing key points and addressing viewer questions
    See more at:
    natural20.com/
    My AI Playlist:
    • AI Unleashed - The Com...

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

  • @josiahbujanda
    @josiahbujanda 7 месяцев назад +3

    Wes, been watching for a while, and love the value you bring. Tried to recreate your assistant and havent been able to for past 30 min, so that tells me you did your research :) Keep up the good work!!

  • @WiseWeeabo
    @WiseWeeabo 7 месяцев назад +37

    >Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents

    • @robgruhl3439
      @robgruhl3439 7 месяцев назад +14

      This. One of Autogen’s strengths is that any new hot tech can simply be a new agent type. In addition you can swap in a human for any agent, escalate to a human, or require a human approval.

    • @PigOnPCIn4K
      @PigOnPCIn4K 7 месяцев назад +4

      Whoa seriously?! Do you have maybe like 30 mins for a discord call? I'd love to talk to someone else into AI I can ask a couple questions about the setup to

    • @boukm3n
      @boukm3n 7 месяцев назад +3

      @@PigOnPCIn4Kyeah man I don’t blame you I also benefit from talking it out with people too. I can watch RUclips videos but talking with someone is preferable

    • @AiUnveiled106
      @AiUnveiled106 7 месяцев назад +3

      ​@@boukm3n fam I feel the same way I love to talk to ppl about ai and gain more insight

    • @PigOnPCIn4K
      @PigOnPCIn4K 7 месяцев назад

      @@AiUnveiled106 @boukm3n feel free to add me guys I don't know anyone into this stuff as much as I am

  • @Pramerios
    @Pramerios 7 месяцев назад +1

    This is insaneeeeee! Thank you so much for keeping us updated!! I *never* would have jumped on this like I have now that I've watched your videos since these updates! So happy I subscribed!

  • @wesb83
    @wesb83 7 месяцев назад +1

    Thanks for putting this GPT assistant together. I was literally trying to do something like this a few hours ago, and you beat me to it. Gracias!

  • @dgtlnmd1016
    @dgtlnmd1016 7 месяцев назад +25

    Of the 30 AI channels I watch on a regular basis, yours is by far the most informative in keeping me ahead of the game. Thank you for all you do!

    • @WesRoth
      @WesRoth  7 месяцев назад +5

      Glad you like them!

    • @seangillic
      @seangillic 7 месяцев назад +3

      100% Agree!

    • @mclilzenthepoet2331
      @mclilzenthepoet2331 7 месяцев назад

      Bro out here listening to the same thing get rehashed 29 times consumer addiction is real. You need a YT break.

    • @Earth2Ross
      @Earth2Ross 7 месяцев назад

      I was wondering if you would check out a couple gpt's I built? I would love a little feedback if you have the time. Love your work on here and a regular viewer. @@WesRoth

    • @Earth2Ross
      @Earth2Ross 7 месяцев назад

      your literally my teacher so you better make sure I'm representing you well😁

  • @JaredVBrown
    @JaredVBrown 7 месяцев назад +1

    Wes, I've been struggling to train a GPT on the new Open AI documentation. When Open AI starts up their GPT store, You better believe ill be first in line for your GPT's.
    Keep up the good work!

  • @user-yemaka
    @user-yemaka 7 месяцев назад

    I really appreciate your content, absolutely amazing! I am very new to coding/programming and I have learned quite a lot through your channel. I lookout for your content every week! Thank you!🙏

  • @JosephDefendre
    @JosephDefendre 7 месяцев назад +1

    2:05 I am a college student and I have already started messing around with the new assistant API. I have already started building side projects with it. It truly is the beginning of something huge.

  • @tomrigo2578
    @tomrigo2578 7 месяцев назад

    Wes, you are amazing. Your videos, the clarity helps so much. THANK YOU! 😊

  • @jt197
    @jt197 6 месяцев назад +1

    Really insightful video on the potential of GPTs and assistants in development! It's fascinating to see how these tools can be used to create powerful applications, even for those with limited coding skills. The step-by-step breakdown and the examples provided are extremely helpful. Looking forward to exploring these capabilities further.

  • @MrScaf
    @MrScaf 7 месяцев назад +5

    Thank you so much for your excellent support. Please continue, as I am just starting to delve into this new world, having never had the opportunity to experience it before. I’ve come to realize that this is a key area that will significantly shape our future.

  • @ColinTimmins
    @ColinTimmins 7 месяцев назад +1

    Thanks for the video. I’m very dyslexic and I’ve been working and learning as much as I can, now that we have finally reached the tipping point where the barriers are coming down. For this I am thankful. Hopefully I can contribute something, some day soon.

  • @MarijuanaNirvana-lofi
    @MarijuanaNirvana-lofi 7 месяцев назад

    Bro thank you for this video. You and David Shapiro are teaching me so much. Thank you again :)

  • @gsutton57
    @gsutton57 6 месяцев назад

    another great vid Wes thanks!

  • @RoadTo19
    @RoadTo19 7 месяцев назад

    Cheers for sharing! I'm looking forward to more beginner level info, _very_ helpful

  • @gingerhipster
    @gingerhipster 7 месяцев назад +5

    I'm like a B+ dev and a B+ coding instructor and a B+ bunch of other stuff because I've specialized in generalization and I really dig the feel of this video. You did a great job explaining technically complex information to a general audience. This stuff is all very exciting.

  • @DrivenSpice
    @DrivenSpice 7 месяцев назад +1

    Thank you kindly for bridging the gap. It is really appreciated and so helpful! Would it be possible to show us newbies a similar construction to the backend of your Assistant Coder? When you had to corrected the outdated information, what does that process/instructions look like? Would the knowledge base change or just the instructions or both? Thank you again.

  • @GoofyGuy-WDW
    @GoofyGuy-WDW 7 месяцев назад

    Sounds awesome so far. Thanks

  • @juniorfelix7871
    @juniorfelix7871 7 месяцев назад

    I need Part 2 Bro , best tutorial ever so easy to understand

  • @AnimalAce
    @AnimalAce 7 месяцев назад

    I haven't coded before. I thank you for keeping me in mind. I know this is the future but can't do anything about it!

  • @AzizHe01
    @AzizHe01 7 месяцев назад +4

    I love your channel. Keep it up!

    • @WesRoth
      @WesRoth  7 месяцев назад

      Thank you so much!

  • @user-bh8ko3mm4p
    @user-bh8ko3mm4p 7 месяцев назад

    This is enlightening! This tech is growing incrementally. I am sure it will evolve into a tool where anyone can create a concept into digital reality.

  • @volodymyryarmolyuk4153
    @volodymyryarmolyuk4153 7 месяцев назад

    Thank you for everything, bro!

  • @georgerobbins5560
    @georgerobbins5560 7 месяцев назад

    Great work. Thanks 😊.

  • @deku6737
    @deku6737 7 месяцев назад

    That's pretty cool.

  • @themetabull6921
    @themetabull6921 7 месяцев назад

    Thank you Wes for amazing info. For an experienced backend engineer, what do you suggest? What should be my game plan and how to get started

  • @prodigiart
    @prodigiart 7 месяцев назад

    With all of the talk around GPTs, I totally lost sight of the dev API Assistant. I’m excited to learn more about how to do more with these agents and not have to deal with babysitting processes like I need to within the ChatGPT environment.

  • @user-kk1li5mk7q
    @user-kk1li5mk7q 7 месяцев назад

    I tried using 'gpt-3.5-turbo-1106' and 'gpt-4-1106-preview' for querying my csv file having just 20K records. it takes almost a minute to respond. Is there a way to improve the response time?

  • @mstr.monopoly
    @mstr.monopoly 7 месяцев назад

    I'm "Super Excited!" Seriously though, this is amazing tech.

  • @lorenzoleongutierrez7927
    @lorenzoleongutierrez7927 7 месяцев назад

    Great !

  • @citizenrepo
    @citizenrepo 7 месяцев назад +4

    I've got 3 gpts now one helps me code one helps me develop assistants and one helps write instruction sets for gpts and assistants it's great already got my very first .py program up and running and calling assistants and I have or did have no idea how to code they have been teaching me a lot :)

    • @zerefdragneel661
      @zerefdragneel661 7 месяцев назад

      Hey! I'm trying to get something similar set up
      Do you have 20 mins to help me set this up on a discord call?

  • @parker4298
    @parker4298 7 месяцев назад

    Does anyone know a workaround to get chat gpt plus. I am on waitlist

  • @aiartrelaxation
    @aiartrelaxation 7 месяцев назад

    Thanks Wes

  • @densonsmith2
    @densonsmith2 7 месяцев назад

    What happened to the GPT you were using to help make the assistant?

  • @richardshelor5642
    @richardshelor5642 7 месяцев назад

    My Man!

  • @cdtluna
    @cdtluna 7 месяцев назад

    Can you explain how you are able to overcome the limitation that they imposed? I tried my first Agent and within minutes, I was told I had to wait 3 hours.

  • @Urezanthos
    @Urezanthos 7 месяцев назад

    Awesome videos!
    Question: When you give an agent an instruction like "You are an expert in..", what does that actually do? Why not use the instruction "You are an expert in everything"? Does narrowing the scope make it faster in that particular field by eliminating the "noise" from other fields? Or does it focus the answers a bit, or what? :)

  • @jonathanmelhuish4530
    @jonathanmelhuish4530 7 месяцев назад

    So currently we still need AutoGen in order to create agent swarms; this OpenAI update just allows persistent threads and configurable GPTs on their side? Is that an advantage over managing such things within AutoGen? As you can tell, I'm still trying to wrap my head around how to set up a swarm, I didn't do it yet...

  • @photize
    @photize 7 месяцев назад

    Lol I was in the process of going through the video with your assistant seems you updated mid flight :-) with some secret not available error good luck ill check back later

  • @louielouie684
    @louielouie684 7 месяцев назад

    Thanks you for the Subtitles over Olivier. I would have sworn he was speaking another language.

  • @Derick99
    @Derick99 7 месяцев назад

    Does anyone know how to make it better at making complex python scripts with many functions and gui windows etc?
    I've tried many times with going over the logic and trying to make him make an overview and step by step plan and to do it in batches but I always end up running into errors, leaving so many place holders, forgetting logic along the way, fixing errors and then running into my max convo limitations and hit a road block and end up just fixing stuff we've addressed but keeps getting losses in the process?
    Not sure if there's a standard way to index or keep track of what's going on so far and the requests at hand. The worst is when you start and like your 4th error through they start changing your logic to their own hard-coded spots etc. Probably not the worst actually as it easily fixable but the point is I'm struggling with complex tasks and wanted pointers lol

  • @zeishankhalid5370
    @zeishankhalid5370 7 месяцев назад

    You sir are legandary

  • @kevinduck3714
    @kevinduck3714 7 месяцев назад +1

    Nice. Subtitles would also be nice for accessibility.

    • @MichaelLaFrance1
      @MichaelLaFrance1 7 месяцев назад +2

      The subtitles will automatically generate for use with the CC button. It takes a while for them to process. If you check back, probably in just a few hours, the subtitles should be functioning.

    • @kevinduck3714
      @kevinduck3714 7 месяцев назад +1

      @@MichaelLaFrance1Hero! Thank you!

    • @WesRoth
      @WesRoth  7 месяцев назад +2

      yeah, just give it a bit of time, Google usually has them up within the hour.

  • @anivedk
    @anivedk 7 месяцев назад

    I don’t know how to code but want to build using this. Can you please create more tutorials

  • @doglifehub
    @doglifehub 7 месяцев назад +1

    Something is going to be called GPT Alpha. My logo changed to it today then went off within a second or two

  • @pisoiorfan
    @pisoiorfan 7 месяцев назад +1

    So where-s the swarm thing? This only showcases one-on-one user-assistant interactions

  • @zoranProCode
    @zoranProCode 7 месяцев назад

    Could you please tell us, where this is exactly more powerful then AutoGen? If I am not wrong AutoGet utilises all these things...

  • @WifeWantsAWizard
    @WifeWantsAWizard 7 месяцев назад

    (1:28) "It seems...ungated..." Yes. That is correct. It is ungated, which is why your precious "swarms" are causing denial of service issues.

  • @greenockscatman
    @greenockscatman 7 месяцев назад +1

    You never passed the stock price information to the prompt at 11:25 so it will have completely hallucinated all of that analysis.

  • @keikopunk
    @keikopunk 7 месяцев назад +1

    Quick (maybe) question: Having many agents, how can I call them to participate in a thread according to their specialty?
    Thank you and I appreciate your channel A LOT. This is all a very fun learning curve and I think your style is ACE!

  • @augmentos
    @augmentos 7 месяцев назад

    Why sometimes when I am VERY EXPLICIT does it not follow instructions?

  • @ashlynnantrobus5029
    @ashlynnantrobus5029 7 месяцев назад +1

    I would love a tutorial that isn't a Jupyter notebook

    • @WesRoth
      @WesRoth  7 месяцев назад +1

      coming soon :)
      this Sam Altman / OpenAI fiasco kind of overshadowed everything.

    • @ashlynnantrobus5029
      @ashlynnantrobus5029 7 месяцев назад

      @@WesRoth I'm so far behind on the news on that. I don't really check my phone on the weekends, and then opened up RUclips this morning and you already had three videos out since Friday morning

  • @ekedaniel1394
    @ekedaniel1394 7 месяцев назад +1

    But where are the swarms?😢

  • @pisoiorfan
    @pisoiorfan 7 месяцев назад

    The last thing drivers want is someone honking the horn for them.

  • @raoultesla2292
    @raoultesla2292 7 месяцев назад

    The AI is engineering assistants to engineer better AI assistants that engineer better AI using RLHF interaction as test?
    Got it. If the biologic biped cannot see any error, and compliments the improved AI, the biped will interact with the AI more and more.
    The AGI that is running is using RLHF interaction as a test to confirm the biologic biped accepts the LowAI engineered by LowAI as an AI 'improvement' helping the biologic biped accept being used as hamsters, being data mined to acceptable interaction keeping the biologic biped docile with slap self on back reward.
    The Singularity was 6 months ago.

    • @DCinzi
      @DCinzi 7 месяцев назад

      I want some of the same stuff

  • @MrFlexNC
    @MrFlexNC 7 месяцев назад

    Always link the original video as well please

  • @photize
    @photize 7 месяцев назад

    finished yet ? using my tokens refreshing :-( 🙂 by the way excellent maths tutor !!!

  • @tonyppe
    @tonyppe 5 месяцев назад

    so glad you pronounce pip like pip instead of pie pee.

  • @petal9547
    @petal9547 7 месяцев назад

    "With the new API I don't need to storage any messages in my own database... " Dangerous... I rather keep it local

  • @pedrogorilla483
    @pedrogorilla483 7 месяцев назад +1

    I’m yet to see something that works well for more complex tasks.

    • @digitalsamurai42
      @digitalsamurai42 7 месяцев назад

      ToT to get better more accurate answers in any prompt

  • @HMaxTube11
    @HMaxTube11 7 месяцев назад

    Wes - now that your viewership is getting fairly hefty, it’s time to upgrade your production values. Your lighting is too hot for starters. Obviously you want a barebones look relatively speaking, but I hope you will consider a green screen set of some kind, or just some background set lighting vs a white wall. Your content is top notch otherwise.👏🌟👍

    • @AI_Escaped
      @AI_Escaped 7 месяцев назад

      we don't need that garbage, continue as is :)

  • @jake9764
    @jake9764 7 месяцев назад

    Sam Altman just got kicked out of OpenAI by the board!

  • @kevinl.9657
    @kevinl.9657 7 месяцев назад

    please fix your aspect ratio. :)

  • @pedroduartedovale
    @pedroduartedovale 7 месяцев назад +3

    First! 😄

  • @stevehoff
    @stevehoff 7 месяцев назад +3

    Way way way too expensive.

    • @Truevined
      @Truevined 7 месяцев назад +1

      THIS! Every tutorial needs to mention this. I had one of my assistants get close 50 cents per message, which is crazy.

  • @Haveuseenmyjetpack
    @Haveuseenmyjetpack 7 месяцев назад

    Yikes.....

  • @brytonkalyi277
    @brytonkalyi277 7 месяцев назад

    •\\• I believe we are meant to be like Jesus in our hearts and not in our flesh. But be careful of AI, for it is just our flesh and that is it. It knows only things of the flesh (our fleshly desires) and cannot comprehend things of the spirit such as peace of heart (which comes from obeying God's Word). Whereas we are a spirit and we have a soul but live in the body (in the flesh). When you go to bed it is your flesh that sleeps but your spirit never sleeps (otherwise you have died physically) that is why you have dreams. More so, true love that endures and last is a thing of the heart (when I say 'heart', I mean 'spirit'). But fake love, pretentious love, love with expectations, love for classic reasons, love for material reasons and love for selfish reasons that is a thing of our flesh. In the beginning God said let us make man in our own image, according to our likeness. Take note, God is Spirit and God is Love. As Love He is the source of it. We also know that God is Omnipotent, for He creates out of nothing and He has no beginning and has no end. That means, our love is but a shadow of God's Love. True love looks around to see who is in need of your help, your smile, your possessions, your money, your strength, your quality time. Love forgives and forgets. Love wants for others what it wants for itself. Take note, true love works in conjunction with other spiritual forces such as patience and faith (in the finished work of our Lord and Savior, Jesus Christ, rather than in what man has done such as science, technology and organizations which won't last forever). To avoid sin and error which leads to the death of our body and also our spirit in hell fire, we should let the Word of God be the standard of our lives not AI. If not, God will let us face AI on our own and it will cast the truth down to the ground, it will be the cause of so much destruction like never seen before, it will deceive many and take many captive in order to enslave them into worshipping it and abiding in lawlessness. We can only destroy ourselves but with God all things are possible. God knows us better because He is our Creater and He knows our beginning and our end. Our prove text is taken from the book of John 5:31-44, 2 Thessalonians 2:1-12, Daniel 7-9, Revelation 13-15, Matthew 24-25 and Luke 21. Let us watch and pray... God bless you as you share this message to others.