welcome back y'all today we're going to be building gbt setion or Inception we're going to be building a gbt that is fine-tuned for creating gbts so in today's video you're going to see how I prompt engineer the gbt in order to achieve this so you can kind of understand for maybe other context of how to talk to the gbt for whatever the use case may be but on top of that you can go ahead and check out the description down below the gbt link is going to be there you can use it obviously for completely
free and start building up gbts that are lasered in for whatever the use case may be now I want to be very clear here I'm going to Proctor this gbt to not only handle the ability to find you data files but also handle the ability to start helping you code with the uh custom actions that require API calls um this is going to be a very helpful video in any context you want to create a gbt if you have little to no coding experience you can start leveraging this free tool here now give credit where
credits due I got this idea from my guy gross one um that's his name don't I'm not making fun of him or anything as you see here but essentially from the one that I was talking about no off actions for the gbt here um he pointed out that during the video he had made a gbt builder assistant and I was like wow that's actually really smart so I'm going to go ahead and do that for y'all so we can kind of have like a shared one uh with this community we're building here and we're going
to go ahead and do it together here so I'm going to go ahead and jump back over here and let's goad and create this gbt so the use case of the gbt here as we have described is we're going to basically try to leverage everything that's involved with this interface I'm going to go and jump back over I'm going to jump in the middle here I'm going to go ahead and enable web browsing diay image creation and code of temperature so let's just get everything enabled off the bat here and we're going to go ahead
and start like this so the first thing I want to do is I want to give context of what even a gbt is and the best way to do that is we're going to use open ai's resources now before I show you how to do that which is very powerful for all the new viewers that are coming in here let me reintroduce myself here my name is Corbin I'm a full stack AI engineer the purpose of my videos is to give you actual pragmatic ways to start leveraging artificial intelligence in this new age either for
your personal or business life I have over like a thousand videos on this topic on all different topics so you can go ahe to check us out here so make sure to subscribe so you are in tune and you actually get real advice here and I'm not just throwing a random be roll at you but coming over to Google search here here is something very powerful for you to understand we know that currently gbt and open AI is trained up to April of 2023 at the point of April of 2022 2023 gbts didn't exist so
the way we train or the way we kind of catch up a model in order for us to like get up to recent uh recent data is we used our web browsing feature but specifically because we're using the context of we're building out a gbt to build out gbts we're going to basically Enlighten gbt that you even exist so we're going to go over to an article talking about gbt here so we're going to go over to introducing gbts here and then I'm going to go ahead and copy the link of this article I'm going
to come back over here we're going to say hello today okay we're actually do this your purpose is to help me build other gbts here is a article that explains what a gbt is from open AI put the article in and as we know this has the ability to do web browsing here and that's fantastic so it looks like it just lost let me go and reload this real quick okay so let's go ahead and should enable the web browsing feature might not show that on the front end here but as you see it's updating
a gbt and just to get really crazy here I'm like by the way you are a gbt as well um and let's go ahead and let this go load this new data here okay so as you see here most stuff when it comes to gbts does get autofilled but there is going to be certain value points that we want to ensure that this gbt helps us out with and the first one let's go ahead and establish is the knowledge base so let's go and do that we're going to say um gbts have a lot of
cap cap abilities let's first start by fine-tuning RS to help users find relevant knowledge files EG PDFs excels etc for their specific gbt use case say the way I want you to handle this is when a user request to do a certain function or certain task for their DBT we will search we will use your web browsing feature to find free and downloadable files that can help let's just start here we're going to start broad we're going to fin tune this we're probably going to have to come back go back forth see how it goes
let's start here as I want to also be give the ability for code interpretation and stuff of this nature we'll go and start with this foot okay so as you saw here we kind of had it was already in a good direction but that kind of messed it up a little so what I'm going to do here is I'm going to say um take a step back we still want you to we still want your purpose to be to help create other gbts use we just want you to use the web browsing feature in this
context to help us find supporting documents that will make the gbt more effective so in this use case um I typically don't do this in problem engineering but because we're kind of communicating in a one-onone dialogue what I can do here is I'm going to give an example I'm going to say so for example if I was creating a I need to do a word per minute you know those websites where you do word per minutes you like you get to like 200 words per minute um so for example if you're creating if I was
creating a gbt for Fitness you would find supporting PDFs that had workout plans or nutrition see if you can understand this a little bit and hit enter here and kind of proceed from this okay perfect so before we keep jumping into this I'm going to go ahead and test it out real quick we're going to say I and let's just see how it kind of responds I want to uh I want to move me real quick okay so I want to create a gbt with the purpose of providing me with the purpose of being a
personal trainer let's just start something broad here see what it kind of proceeds from here okay creating gbt specialized personal trainer enture this gbt would IDE daily provide Fitness advice workout plans okay okay all right so notice how when it's answering it's like telling me to do stuff I don't want to do stuff I want you to do it for me all right so I'm going to go ahead and stop this uh output here so it does know the it's a overall arching use case but it's providing me a response like this I don't like
this so I'm going to go to say um look for comprehensive guides or databases okay so all right let me jump back over to here okay so all right so we tested you out and you gave a response like this for personal trainer notice how you are telling me to look for the resources we want you to look for all relevant information using your uh web browsing capability if there is issues with finding pertinent information point us in the right direction boom okay let's see what it comes up with here now all right so let's
go ahead and ask the same question here I want to create I do not that I want to create a gbt with the purpose uh of of a personal trainer I don't have to spell everything perfect so I'm going to do that okay so here we go to insist this endeavor I'll look at resources that can provide comprehensive information on these topics these vers okay perfect so it seems like it's more of outlining right now which is fine maybe he just want to give me an overarching idea okay we're going to go ahead and let
oh okay see this is what I like to see this is what I like to see don't tell me to do anything gbt that's your job my job is just to tell you what to do okay here we go let's see what it comes up with and as you see here what's amazing is that right off the bat we are providing with underlying links to these resources here now I will say this um some of these resources may be paid well some of these resources may have ADD blocks some of these you know not everything
is going to be perfect but a good amount of these when you click it you could probably download a file that we can use in a knowledge base from here so for example let's go ahead and jump over to the First Resource here and as you see here it is it keeps on going down it actually looks like it might be going down everything here so it's it's gone down the exercise database now it's looking for nutritional stuff let me go click a link real quick okay so it has me at this first link me
go and view details okay so not bad you could in theory take the this you could scrape the website what I'm going to do here is I going to make sure to ensure that it only provides us uh or it starts providing us with more downloadable resources so let me go to check out these other links real quick so I'm going to go and stop that real quick I'm going to go and move myself over here again I'm going to say okay this is good but we are but we would prefer you provide resources we
can upload to your knowledge base which is files that are PDFs excels csvs Etc see what it does here see going update as we're getting closer here it's able to and it actually looks like it was to go pretty far there and provide us a ton of information but you can still access and receive data from the sources it can but I want to make it as simple as possible where it's providing me sources that I can just download it and then add it directly to my gbt okay let's rerun the same question here so
we can kind of make the underlying variable consistent here I'm going to see if I can save this for right now I'll just save it uh to myself actually might as well make it public so we're going to confirm that because I will put this in the description down below so I'm going to go ahead and do that real quick and let's go ahead and proceed from here we're going to go ahead and say okay okay jumping over here let me go and jump back over there okay so look at search right now free downloadable
you know that's what's really cool about gbt as well that was comparative to earlier versions is that we didn't actually see what it was doing but now we're actually seeing the front end how it's interacting with certain inquiries um nutrition information CSV free download so pretty cool stuff here see what it comes up with okay so it's providing his links here let's go and test one okay you can download freee workout plans from various f such as okay so this is giving us a reference point on basically different websites we can download this on let's
go and see if we can get a better ones here okay okay so view workout okay so we can download it right there that's pretty cool so this is finding more probably downloadable stuff notice how it's a bunch of different niches too so it wasn't just workout plans looks like there's nutritional stuff here uh for go to the food data went to a government site here A bunch of CSV we can download for in regards to uh data when it comes to nutritional um let's go ahead and come back here so seems like so far
we've gotten a good idea when it comes to downloadable files for our knowledge base I'm going to go ahead and proce again I'm going to say okay I like how we provide downloadable files for our you know what I'm going to do something real quick because essentially what's going on here is we're slowly building out instructions bigger and bigger right so this is this is basically how this thing operates is this thing so what I'm going to do before I add the next layer of complexity to this gbt is I'm going to copy this I'm
going to save this into like notes because if I go down the right if I go down the right wrong direction and it starts giving me some crazy outputs that's completely wrong this is going to be my way of basically uh having a roll back um to a previous gbt version that actually worked more effectively so right now we're going to go go ahead and quote unquote call this our roll back to it can download or give me resources to download so I'm going to go and copy this real quick all right so now that
I've downloaded it okay so I'm going just going to go ahead and reiterate its purpose again because as you see it renamed it to gbt customizer and filefinder I don't don't be too specific on me here gbt I'm going to go and say okay great we now can find downloadable files for our knowledge base for the gbts recreate let's go remember your overall purpose is to help us create gpts for any use case I'm g go do this now let's add another capability you will have which will be helping us uh make custom actions for
gbt are you ready to help so the reason I do stuff like are you ready to help isn't just because like just trying to have a conversation with it it's more because sometimes if you're familiar with using gbt or CH gbt in the past if you don't say like hey this is what I'm doing does this sound good it will just go down these random tangents R Rabel holes it will give you like six steps to do XYZ like no no no chill chill chill I just need you to know where we're at and then
I'm going to provide you with more information here so we can actually do what we want to do so I'm going to go ahead and let it do what it wants to do right here and then we can go Ahad and proceed with the second half of this video which is going to be us making sure that it can also handle the ability to help us with code and custom actions so you see this is perfect so as you see here and as a rule of thumb when you're proctoring your own gbts speak to it
like as well speak to it like this as well keep reminding it of its overall main goal it wants to achieve and then you'll have your little Nuance value points that you provide throughout you know the process so okay and even you know here we go great now I'm equipped not only to find down downloadable files to enhance gbt but also to help you design custom actions for them whether it's creating okay so it says it can do it but let's go ahead and make sure it actually can do it so I'm going to go
and go to configure here and I'm going to go to add actions and this is where I'm going to go ahead and get the overarch like uh General structure of schema so I'm going to go to command a and command C this and we're going to go ahead and say this is what we're going to do we're going to say okay great so with gpts we can do custom actions that allow us to access API outside of open AI this API can either be no off uh uh API key or o off here is the
structuring of the openi schema in order to add these actions do goodness do you understand so far okay notice how I'm I'm not letting it go down a rabbit hole I'm trying to like reain it in like no do you understand says yes I understand you're referring to the integration of custom a in gbts which can interact with external apis these apis can have different authentication methods okay perfect good good good and good okay so here's what I wanted to do this is going to be super cool if this works um we're going to go
and do this so let me go ahead and let it you know do its full generation here but here's how simple I want to make this as this is going to help anyone in the context of making a gbt I want to make it so that all I have to do is provide documentation sorry a link to the documentation so in this context documentation just kind of like a how to use manual when you buy an ik ke set how do I build this table that's what documentation means in the context of like how do
I access this software um I just want to provide the documentation and I want to use its web browsing feature to basically tell me how to write the code so here what we're going to do uh is there a specific API okay we're going to say and I'm going to go ahead and grab a documentation link real quick so if you're messing around with apis and you still are in learning stages of really understanding it you can check out this I don't even why was I doing this you can check out this website called newsapi.org
um basically it gives you access to free API calls but in the context of you actually will have an API key as well so this is not going to be the noof uh video that you saw there going to be you get an API key simple sign up but without further Ado a lot of AP actually all API document all apis will have documentation right how do we communicate with the software so the purpose of this one is just to get like headlines and and or just search everything so the way we're going to do
this though is we're going to go ahead and in theory we could have it so when you're communicating with the uh gbt I would encourage you to be like okay the function I want to do the action I want to do I'm not sure it's going to be cut off I'll make sure this isn't cut off but is I want to basically use the endpoint of everything or I want to use the endpoint of top lines you would copy the link and provide or receed from there I'm just going to go ahead and get like
the alpha link which is going to be SL docs here or The Meta link and I'll be like okay we want it so that when I provide a link to the documentation you start off by providing all possible capabilities of the API not to generate code yet but rather tell me what I could do um to Pro to this we're going to say for example we're going to go ahead and put that link here for this documentation uh you would tell us we could do actually so we're going to go ahead and grab this link
real quick we're going to say uh everything and I'm going to be very specific here because I'm fine-tuning it right I'm not really you want you don't have to do this but I'm doing it so it gives you the best answers right so we're going to do everything and we're going to do top headlines and I'm just going to just copy this because it knows what I'm talking about when I do this but I just want to make sure it knows exactly how to give me the format I'm going hit enter here and let's see
what it does here now what I'm hoping here and I probably should have copy to roll back is I'm hoping actually let's see if I can do this real quick man see okay just in case it doesn't go crazy on me it's like okay now we're only all only purpos is coding no no no your purpos is are coding filefinder and just overall helping us with the end use case of a gbt all right so this was probably a lot here for it to understand let's go ahead and let it load that's fine let's go
ahead and regenerate it or I'm going to go and copy this just in case I'm going to regenerate this and try this again okay so I'm running into airs a lot here I'm going to go ahead and back out I'm going to retry this this probably just due to the fact that basically half the world is using GPT right now um as you see here it did it did remember the previous inquiry here but just so I make sure that we don't go down no rabbit holes here I'm also going to add a overarching sentence
I actually think this will help a lot for when you create your gbts and when you're trying to add certain value points so you don't kind of lose direction of the overall value I might add a sentence here saying remember your overall purpose is to help create gbts for specific use cases this is just one of your abilities now I'm going to hit enter again here and try to see if we can get an output as you see here sometimes you just got to refresh it come back into the chat it's like you know you
put your iPhone in water you got to put it in a rice bag this is like the same thing here just reload the page you turn it on and off again okay so it says it can do it all right it says it can do it I am going to be extremely impressed if this if if it got it if it actually can do it it one go here so I'm going to go ahead and said okay um let's do this okay we want to make a g BT that helps find the most recent events
in the news can you provide me some uh downloadable files in the knowledge for the knowledge base so the reason I'm doing I'm starting off here is I want to make sure that it can just do this still so we're going to make sure we can do that still and then once we confirm it can do that still obviously we know the API that we just gave as an example um was for news so then we're going to provide the API link for the news as well so then we kind of like you know layer
the value um there was an air here it looks like it's still going at it um okay so maybe there's an air because they couldn't find anything let going to let it keep going here um I'm not really sure what knowledge based files would be relevant in the context of news so I'm not surprised that there wasn't there um here we go this off so actually let me reformat this question we're going to say for the purpose of this can you just find me uh files that help tell you how to communicate with the user
at in the context you are a news anchor I know really Niche really random but let's see if it has the capability to so basically idea here is like maybe we get knowledge based files that you know that basically teaches it how to communicate as a news anchor I think that'd be kind of cool all right so I'm got to regenerate the response here a lot of times the reason there's errors isn't necessarily because like you know there's an issue with the the uh inquiry a lot of times it has to do the fact that
right now we're just dealing with a ton of uh you know people using it on top of that this is very Niche I don't even know if this kind of information even exists like is there a ped that says like how to talk as a news anchor so I might have to rephrase the question as well all right so I'm actually going to rephrase this question so it's more so for the purpose I'm going to go ahead and do this find me um PDFs on how to do journalism and yeah just is do journalism that's
a very common I think that's a college I'm pretty sure that's a college degree so do that all right let's hit submit here it's going to regenerate I mean they should be able to find PDFs on journalism I mean I was asking how to find me a PDF on how to speak as a news anchor which would be a really random PDF if that even existed there we go so we got a a link here for uh journalism then we got a spreadsheet sample from a spee sheeet spread spreadsheet Guru Guru if I can speak
um let's go ahead and see here uh okay this is not perfect that was really random um and then we got the site provides access to live breaking news Okay so maybe it wants me to download maybe some news data for reference so around the right idea end of the day this is super Niche uh super random uh just because the API we're dealing with is news API so what I'm going to do here now is I'm going to say okay um help me create a custom action with this API and then I'm providing the
link to the docs and then I may need a proct to gbt to understand to use web browsing okay it is doing it naturally here um let's go ahead and see how it proceeds here and how it provides the answer okay cool so it actually was able to find it okay this is amazing so now what you can do is you you can provide documentation links and it'll Pro tell you in layman terms what it can potentially do so we already knew it can basically search everything we also see here that it can do uh
cure rated breaking news headlines that's the top headlines API web hook here okay so that works let's go ahead and F tune this a little bit more okay once you give okay I'm going to keep this sentence in here I don't want to make sure so I'm say remember okay so for the action Creator ability once you give the uh capabilities of the API please ask us which one we want to use and from there provide us the relevant code we need okay okay and then uh overall open AI schema structuring so I'm going to
go and command see this real quick because I'm GNA have to actually grab the structuring again so I'm going come over here yes it's an invalid action and then let me make sure I paste this over somewhere else all right I'm going hit send message here and let's see what it does here let's see if it's able to understand now that basically what I wanted to do is that when it provides what the API documentation can do then we could be like hey give it for curated breaking new headlines give me the code right that's
kind of the end goal of what it can do in this context okay so it says it can work one last thing I'm going to add here just to help people troubleshoot I'm going to say okay perfect one last thing for this specific action if I get an error an error in the process be ready for me to provide the Json payload air and help troubleshoot so you might be like what is that uh don't worry basically if you get an err on your dbts all you have to ask is this coming specifically from actions
and API uh provide me with the Json payload erir and it's going to give you like little brackets and it's basically to say like an air name a description and may even give you a code You' copy that and then you'd bring it to this but here we go okay perfect one last thing um if it gets in there okay I enter here this should be good to go we should be greenlighted and I should be able to and test this out on the front end all right says it's good to go one last thing
I want to add here is I'm going add a cool little profile pick it's a profile pick of me drinking coffee amazing okay gbd customizer follow finder and action Creator description instructions um one last thing though I wanted to go ahead and change the conversation starters okay let me do that okay can we update our conversation starters to Showcase all of our ability ities when helping to create gbts this should be the cherry on top here and then we're going to go ahead and create a gbt that's going to be a Pokemon gbt where it
basically allows us to find databases that's relevant to Pokemon and also use an API called uh poke API uh not poke BS but poke API that allows us to do some type of API with Pokemon Okay cool so find a file to enhance my gbt customize my gbt specific API troubleshoot this a of my gbt code man just I'm already excited okay so let me go and confirm this real quick let's go to save this let me jump over to the gbt and wow let me just begin here okay this is super cool here so
let me go and jump over here I'm actually super excited this I'm testing it live with y'all okay so we're going to say okay we are going to build a gbt that knows everything about Pokemon um we just do that first let's see what it does first sounds like a fun and engaging project build a gbt that specializes in Pokemon knowledge we'll need to gather integrate comprehensive information about Pokemon here is how we can approach data collection okay file types here we go okay I'm going to do something general here and I'm going to go
ahead and say okay can you find me like two files some can you find me some files that I could upload to our knowledge base to make it better all right so enter here let's not hit enter here okay let me try this again so maybe wait until it's done generating before you do that okay can you find me some files I can upload to my knowledge base now one thing I want to point out as well is actually I'm not too sure if this infringes on anything with open AI when it comes to doing
Pokemon I have no clue but I mean obviously I'm not going to launch this uh gbt this is purely for educational purposes but first let's see if they can find anything in regards to PDFs that we can download or excels sign up someone can to make a really cool gbt that is maybe um focused on like the Pokemon card Market baseball card Market uh you know all these different Niche trade markets that happen on eBay and stuff like that there seems like a potential as well okay so we got a data set here if I
click this oh yeah we definitely got it okay so supposedly this has a bunch of abilities here wow this is crazy there is so much resources on this okay so a bunch of stuff we can download here okay there's a start here um it's going to keep going here okay um actually I'm not going to do that we're going to go ahead and come over to Pokey API so this is going to be our API docs here typically you'll see a docks in the actual underlying URL and what I mean by that is if you
see this you'll see docks right here here so keep that in mind when you upload the AL or like just like the overarching documentation as you see jbt now has the ability to kind of dive through it so we're going to say okay perfect thank you for the files can we also maybe add some custom actions with this question mark and then put the documentation file link right here as you see it is searching through the API documentation that I provided uh Pokey I think it's completely free from my understanding I don't even think it
requires an API key so I think it's actually just a no off which is really simple integration okay so as you see your Pokey API is a consumption only API offering only htpp kits so receiving data um method for uh accessing resources as you see here no authentication is required that is fantastic it requires no API key basically you don't have to pay money um as you see here I mean look at this it's already giving me examp oh my gosh this is awesome okay I think we just created something super cool guys um Barry
look up okay so Barry must be a very specific type of Pokemon so the way this works though just so you understand is as you see here for this specific query we're looking up Cherry Berry and it'll look up that Pokemon so the way actions will work though in this context is that you'll probably have an action that's basically a lookup action that then gbt inputs the different variable points to get the relevant information so let's go ahead and see if we can do that we're GNA say okay let's do a custom action for lookup
what would the code look like uh question mark okay so this is not actually outputting how it should output that's fine I need to go ahead and let me go to update and find tun the gbt again so we're getting the schema rather than this python okay just so I can show yall live and you can understand troubleshooting I'm going to say for our outputs when it comes to asking for the code of a custom action for gbt we are getting python we want to make it clear that the only code to Output will be
Json and more important make sure it is structured like this okay and I made sure to actually save the instructions as well just in case it goes down the rabbit hole here but let's go and see if it does it correct all right so I'm going to also make sure it adds a operation ID as I've known from previous outputs it doesn't typically add this so we're going to say okay make sure to also include this in the output uh and give it relevant name so if you're not familiar with what an operation ID is
I explained that in our playlist up here here and you want to check it out basically it's our way of calling upon actions within a gbt pretty fundamental stuff here so make sure to check out that video let's go ahead and just have it make sure it includes that in the Json payload here and then we're going to jump back over to our chat here it also changed my picture to this like random Highway no no no no we're going to go back to me and but we're going to go ahead and test it out
here we're going to go ahead and see if it works with the Pokey API we're back at it okay so I'm going to go ahead and I proct for the download files we know that works it knows oh wow this is amazing okay so it knows we're talking about the schema so for an example here which going to go and say okay show me a an example for the look up get request so maybe I need to kind of add H there's an acual issue here again we going regenerate there we go y'all this is
super super cool stuff here um I'll make sure to put this in the description down below let me know in the comments if you run into any issues or like if there's any suggestions because I can go ahead and update the back end for this gbt but look at this y'all this is so cool um so one thing I want you to notice right off the bat it used the correct link and it's structuring it to exactly how we want it in the context of open AI schema now we can do the custom action of
calling upon this API for looking up some Pokemons uh pretty pretty cool stuff here y'all all right so that just about does it y'all this is probably one of the coolest video I've done so far on gbts now that you can use it as well to help you start building out gbts go ahead and check out my Twitter here if you want to hear just random thoughts on AI or just really random stuff like I ate a pretty big breakfast today I tend to eat big breakfast is on Sundays it's kind of like my go-to
kind of like a routine now but you can also check me out on Tik Tok where I'm just talking about the AI industry and just you know random stuff you can kind of hear me talk about different topics with a much more like you know One V one I guess or not One V one this isn't like rust but without further Ado here uh if you felt like you've learned something in today's video go ahead and leave a like it's completely free if you want want to learn more about the gbts and what's coming up
here basically this new age like the new iOS store go ahead and check out the playlist at the end here as I'm diving into all of its capabilities on how to make private ones public ones API requests everything you need to know when it comes to this new store that's emerging here and it's real applicable data here so we can learn a ton of stuff together here but without further Ado I'll see you in the next video thanks for tuning in and yes surprise I'm an AI Avatar make sure to explore more here at Corbin
AI where we demystify AI for your personal and business life until next time