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

  Рет қаралды 44,368

Wes Roth

Wes Roth

Күн бұрын

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 6 ай бұрын
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 6 ай бұрын
>Nov 11: OpenAI's Assistants are available in AutoGen and interoperatable with other AutoGen agents
@robgruhl3439
@robgruhl3439 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@PigOnPCIn4Kyeah man I don’t blame you I also benefit from talking it out with people too. I can watch KZbin videos but talking with someone is preferable
@AiUnveiled106
@AiUnveiled106 6 ай бұрын
​@@boukm3n fam I feel the same way I love to talk to ppl about ai and gain more insight
@PigOnPCIn4K
@PigOnPCIn4K 6 ай бұрын
@@AiUnveiled106 @boukm3n feel free to add me guys I don't know anyone into this stuff as much as I am
@Pramerios
@Pramerios 6 ай бұрын
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!
@dgtlnmd1016
@dgtlnmd1016 6 ай бұрын
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 6 ай бұрын
Glad you like them!
@seangillic
@seangillic 6 ай бұрын
100% Agree!
@mclilzenthepoet2331
@mclilzenthepoet2331 6 ай бұрын
Bro out here listening to the same thing get rehashed 29 times consumer addiction is real. You need a YT break.
@Earth2Ross
@Earth2Ross 6 ай бұрын
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 6 ай бұрын
your literally my teacher so you better make sure I'm representing you well😁
@wesb83
@wesb83 6 ай бұрын
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!
@JaredVBrown
@JaredVBrown 6 ай бұрын
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 6 ай бұрын
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!🙏
@tomrigo2578
@tomrigo2578 6 ай бұрын
Wes, you are amazing. Your videos, the clarity helps so much. THANK YOU! 😊
@jt197
@jt197 5 ай бұрын
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.
@JosephDefendre
@JosephDefendre 6 ай бұрын
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.
@ColinTimmins
@ColinTimmins 6 ай бұрын
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.
@MrScaf
@MrScaf 6 ай бұрын
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.
@MarijuanaNirvana-lofi
@MarijuanaNirvana-lofi 6 ай бұрын
Bro thank you for this video. You and David Shapiro are teaching me so much. Thank you again :)
@RoadTo19
@RoadTo19 6 ай бұрын
Cheers for sharing! I'm looking forward to more beginner level info, _very_ helpful
@gsutton57
@gsutton57 5 ай бұрын
another great vid Wes thanks!
@gingerhipster
@gingerhipster 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
Sounds awesome so far. Thanks
@juniorfelix7871
@juniorfelix7871 6 ай бұрын
I need Part 2 Bro , best tutorial ever so easy to understand
@AnimalAce
@AnimalAce 6 ай бұрын
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 6 ай бұрын
I love your channel. Keep it up!
@WesRoth
@WesRoth 6 ай бұрын
Thank you so much!
@user-bh8ko3mm4p
@user-bh8ko3mm4p 6 ай бұрын
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.
@themetabull6921
@themetabull6921 6 ай бұрын
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
@georgerobbins5560
@georgerobbins5560 6 ай бұрын
Great work. Thanks 😊.
@volodymyryarmolyuk4153
@volodymyryarmolyuk4153 6 ай бұрын
Thank you for everything, bro!
@Urezanthos
@Urezanthos 6 ай бұрын
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? :)
@TheRadioWorks
@TheRadioWorks 6 ай бұрын
I'm "Super Excited!" Seriously though, this is amazing tech.
@prodigiart
@prodigiart 6 ай бұрын
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.
@deku6737
@deku6737 6 ай бұрын
That's pretty cool.
@cdtluna
@cdtluna 6 ай бұрын
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.
@citizenrepo
@citizenrepo 6 ай бұрын
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 6 ай бұрын
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?
@jonathanmelhuish4530
@jonathanmelhuish4530 6 ай бұрын
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...
@user-kk1li5mk7q
@user-kk1li5mk7q 6 ай бұрын
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?
@densonsmith2
@densonsmith2 6 ай бұрын
What happened to the GPT you were using to help make the assistant?
@kevinduck3714
@kevinduck3714 6 ай бұрын
Nice. Subtitles would also be nice for accessibility.
@MichaelLaFrance1
@MichaelLaFrance1 6 ай бұрын
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 6 ай бұрын
@@MichaelLaFrance1Hero! Thank you!
@WesRoth
@WesRoth 6 ай бұрын
yeah, just give it a bit of time, Google usually has them up within the hour.
@louielouie684
@louielouie684 6 ай бұрын
Thanks you for the Subtitles over Olivier. I would have sworn he was speaking another language.
@aiartrelaxation
@aiartrelaxation 6 ай бұрын
Thanks Wes
@lorenzoleongutierrez7927
@lorenzoleongutierrez7927 6 ай бұрын
Great !
@photize
@photize 6 ай бұрын
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
@anivedk
@anivedk 6 ай бұрын
I don’t know how to code but want to build using this. Can you please create more tutorials
@richardshelor5642
@richardshelor5642 6 ай бұрын
My Man!
@zeishankhalid5370
@zeishankhalid5370 6 ай бұрын
You sir are legandary
@zoranProCode
@zoranProCode 6 ай бұрын
Could you please tell us, where this is exactly more powerful then AutoGen? If I am not wrong AutoGet utilises all these things...
@parker4298
@parker4298 6 ай бұрын
Does anyone know a workaround to get chat gpt plus. I am on waitlist
@Derick99
@Derick99 6 ай бұрын
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
@keikopunk
@keikopunk 6 ай бұрын
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!
@doglifehub
@doglifehub 6 ай бұрын
Something is going to be called GPT Alpha. My logo changed to it today then went off within a second or two
@pisoiorfan
@pisoiorfan 6 ай бұрын
So where-s the swarm thing? This only showcases one-on-one user-assistant interactions
@greenockscatman
@greenockscatman 6 ай бұрын
You never passed the stock price information to the prompt at 11:25 so it will have completely hallucinated all of that analysis.
@augmentos
@augmentos 6 ай бұрын
Why sometimes when I am VERY EXPLICIT does it not follow instructions?
@ashlynnantrobus5029
@ashlynnantrobus5029 6 ай бұрын
I would love a tutorial that isn't a Jupyter notebook
@WesRoth
@WesRoth 6 ай бұрын
coming soon :) this Sam Altman / OpenAI fiasco kind of overshadowed everything.
@ashlynnantrobus5029
@ashlynnantrobus5029 6 ай бұрын
@@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 KZbin this morning and you already had three videos out since Friday morning
@MrFlexNC
@MrFlexNC 6 ай бұрын
Always link the original video as well please
@ekedaniel1394
@ekedaniel1394 6 ай бұрын
But where are the swarms?😢
@pisoiorfan
@pisoiorfan 6 ай бұрын
The last thing drivers want is someone honking the horn for them.
@WifeWantsAWizard
@WifeWantsAWizard 6 ай бұрын
(1:28) "It seems...ungated..." Yes. That is correct. It is ungated, which is why your precious "swarms" are causing denial of service issues.
@pedrogorilla483
@pedrogorilla483 6 ай бұрын
I’m yet to see something that works well for more complex tasks.
@digitalsamurai42
@digitalsamurai42 6 ай бұрын
ToT to get better more accurate answers in any prompt
@photize
@photize 6 ай бұрын
finished yet ? using my tokens refreshing :-( 🙂 by the way excellent maths tutor !!!
@tonyppe
@tonyppe 4 ай бұрын
so glad you pronounce pip like pip instead of pie pee.
@pedroduartedovale
@pedroduartedovale 6 ай бұрын
First! 😄
@raoultesla2292
@raoultesla2292 6 ай бұрын
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 6 ай бұрын
I want some of the same stuff
@petal9547
@petal9547 6 ай бұрын
"With the new API I don't need to storage any messages in my own database... " Dangerous... I rather keep it local
@HMaxTube11
@HMaxTube11 6 ай бұрын
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 6 ай бұрын
we don't need that garbage, continue as is :)
@kevinl.9657
@kevinl.9657 6 ай бұрын
please fix your aspect ratio. :)
@jake9764
@jake9764 6 ай бұрын
Sam Altman just got kicked out of OpenAI by the board!
@stevehoff
@stevehoff 6 ай бұрын
Way way way too expensive.
@Truevined
@Truevined 6 ай бұрын
THIS! Every tutorial needs to mention this. I had one of my assistants get close 50 cents per message, which is crazy.
@REASONvsRANDOM
@REASONvsRANDOM 6 ай бұрын
Yikes.....
@brytonkalyi277
@brytonkalyi277 6 ай бұрын
•\\• 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.
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
Maya Akim
Рет қаралды 707 М.
Make me the happiest man on earth... 🎁🥹
00:34
A4
Рет қаралды 10 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 40 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 17 МЛН
In-Sight SnAPP Sensor: Image Manger | Cognex Support
1:35
Cognex Support
Рет қаралды 1
Efficient LLM FINE TUNING - LORA |  Visualized and Explained LORA
5:30
BiasVsVariance
Рет қаралды 1,3 М.
Empowered GPT - Semantic Search In Claris FileMaker
26:09
Empowered Data Solutions
Рет қаралды 173
Make me the happiest man on earth... 🎁🥹
00:34
A4
Рет қаралды 10 МЛН