How to Add Custom GPTs to Any Website in Minutes (OpenAI GPTs Tutorial)
In this video I walk you through how to add custom GPTs to any website in minutes with the new OpenAI GPTs Updates. This build includes the new OpenAI GPTs Knowledge Base, and custom functions with function calling. With the release of the new OpenAI upgrades, knowing how to create custom GPTs will be an extremely important skill for those wanting to make money with these OpenAI releases.
If you're a beginner wanting to learn how to build OpenAI custom GPTs and sell them under your existing AI Automation Agency, or you're looking to start an agency and want to learn how to create your own custom GPTs to sell to businesses, then this video will be extremely valuable.
Join Agentive (My Tool) ⚙️
bit.ly/3TZ3vcp
Sign Up to Voiceflow (My Recommended Bot Builder) 🔗
bit.ly/3OrlTX9
🤝 Work With Me: www.morningside.ai/
📚 My Free Resource Hub & Skool Community: bit.ly/3uRIRB3 (Check ‘KZhead Resources’ tab for any mentioned resources!)
📈 My AI Agency Accelerator: bit.ly/3wxLubP
Timestamps:
0:00 - Intro
0:59 - ChatGPT vs Assistants API
3:04 - What We're Building
4:00 - Adding Functionality w/ Assistants API
7:09 - Chatbot Creation via Voiceflow
11:03 - How to Add Custom GPTs to Website
Comment your thought on the potential of these GPTs! 👀👇🏽 📚 My Free Skool Community: bit.ly/3uRIRB3 🤝 Work With Me: www.morningside.ai/ 📈 My AI Agency Accelerator: bit.ly/3wxLubP
You earned a sub with this. My mind is already swimming before this video on my consumer side uses regarding my research and giving it to the public. But I was not aware of this side and now my head is swimming with uses here. Let me tell you two areas. 1) for my business and manufacturing clients, particularly logistics and data related operations therein, thinking about types of consoles both public and private (for employees)... I already am going to have gpt write up a full web extension for our site that uses my propriety compression methods for making now training libraries... 2) as part of my thought on using AI in design I want to create a design assistant for backend. But using this bot now available to all my team! I wish I could quit other projects for just three months to develop all this. But thank you for your replit tool.
Liam, do you know if it is possible to use Voiceflow in Sandbox mode for a production chatbot? The pricing chart suggests that you need Pro for code steps, but are there any other steps in your example code that are Pro-only?
Just a FYI @Liam.... this guy is ripping off your content: kzhead.info/sun/pcacZNV8rKqemKs/bejne.html
resource link not working for me
This is absolutely a mine gold!! So I'm a noob on Python and a wanabee AI master, and I tried following your video but got stumbled when I first run it.The json file wasn't cerated and there were some messages in the console (see below) Hope you could shed some light on this error: raise self._make_status_error_from_response(err.response) from None openai.BadRequestError: Error code: 400 - {'error': {'message': "The requested model 'gpt-4-1106-preview' does not exist.", 'type': 'invalid_request_error', 'param': 'model', 'code': 'model_not_found'}} 😕
I'm the creator of the Startup Mentor agent that showed up on one of your slides. Thanks for the plug, but even more, thank you for showing me how to spread this app outside of GTP-4. BTW, I may be your oldest subscriber: I'm an 81 year old Vietnam Vet and former lawyer, and I've got a lot to learn from you.
Hold on there, partner! I'm a 81 year old consulting mechanical engineer creating applications for building energy management. (I was in the Army too but managed to skip Vietnam.) Like you I've got a lot to learn!
@@michaellavelle7354 LOL we all do I am approaching you.
Liam, I really appreciate u sharing this info. I'm in no way a coder, but love the tech Magic!! U do an excellent job of breaking it down for the rest of us. But please be careful when offering use cases, cuz that is the real point of understanding what a product can be and how it might work for a client. In the example in this video, u gave an excellent explanation of how the back end is built, apps u used to build, and the pre-designed coded ur offering for free, brilliant (and kind). At the end, it appeared u were building an internal chat for in-house salespeople but added it to a consumer-facing site. Let me know if I missed something. I'm just trying to wrap my head around it all. Much love and gratitude. Alisa
Great fast review on the project. Looking forward to that full version Liam 👍
I just wanted to let you know Liam that you are an amazing person and I love you from one human to another. You are a great inspiration. Whenever I watch your content all I hear in my mind is, if you help enough people get what they want, you end up getting what you're after as well. Keep fucking going bro. You're appreciated.
Thank you Liam for putting out this video . I commented on your last video asking about the API , this answers my question . Tremendous Value❣
you are extremely generous giving away these steps and this code. I am a software engineer/ ai architect, and am thoroughly impressed you gave so much value and agree the money saved doing this stuff is HUGE compared to what this would cost on AWS if someone doesn't know how to use flask and postman and implement LLMs with vector databases for larger knowledge bases. For general websites this is great, and I still maintain there is acceptable security only when you host in something like aws for people who have more sensitive data. This is also the same thing as using wordpress ai engine, which is also very cost efficient once set up. The biggest value I always take away from your videos is how to turn this into a business, many thanks!
🧢🧢
@@devmehta7406why do you think they’re lying ?
Thanks Liam!! I owe you a lot, finally I managed to get my GPT Assistant available on my webpage for any user to use.
Bro you are such a legend for sharing this and giving resources too . Thank you so much this is very exciting. Just made an account and cant wait to make something. Bless you my man. Keep up the good work.
Thanks! I appreciate being cited as the top comment asking for this!
not bad for non technical folks. Especially, if someone doesn't want to do much programming or struggles with it. Also, does a fair job of explaining the mechanics for piecing/hacking together a chatbot for semi-technical folks.
This is really cool. as I was watching I saw the subs hit 107k. Well Done! as usual
You are doing great work bro! Can't wait to see your future videos!
Pure value! 🔥 Thank you, bro'! 🙏🏼
Exactly what I was hoping was possible! Not sure if I can grasp all this myself to being into my website however. I hope some easier ways are not far off
Great step-by-step guide, we use something very similar in our builds. What I would mention is that the context length (due to long-term chat history) could become very expensive if not managed/programmed correctly. For short term memory we typically limit this to the 5 past interactions, this helps reduce the token count. For longer term we use a VectorDB that saves any conversation. It's still coherent regardless of which method it uses and it keeps the token count way down which can become easily inflated.
short term / long term - what you mean by that? like different use cases for different clients? like: it depends on customer journey? if someone has hard decision to make, some good is not cheap, etc. vs something easy when it comes to decision? that's what you mean? thanks for this comment
Can u pls clear my 1 doubt, is OPENAI_API_key paid?
Please reply asap, I am really confused, I have tried alott but I always get billing errors in vscode
@@simarpreetkaur8674 it is. api key from openai is paid
@@simarpreetkaur8674 Yes, OPENAI API is pay to use. You'll want to consider financially if you want to use it and also protect yourself from attackers that'll spam use it.
These are actually some sick videos, thanks for sharing!
Voice flow is a pretty cool way to quickly have a front end design for a chatbot thanks for revealing that. I’m guessing you could still replicate the backend on Vs code as I’m not too sure what set up / editor you was using there. Separately, could you cover this for big organisations, like connecting the assistants api to a database rather than a few local files because with huge companies they’re more likely to have a ton of info on a database and I think with assistance api there’s like a 20 file limit upload? Correct me if I’m wrong.. nevertheless just subscribed. Another great channel.
Thank you! Your videos are amazing, i work in a different area, but i love ai, and this give me a great idea to use it in my field!!
You are the answer to my prayers, I am so grateful. Thank you and I am really excited to learn so much more from you. I'm starting a new career path at 47 years young re AI. Bless you!
Have you decided to learn to code?
@@Chatgptpluginsreview yes! 😁👋
Very nice! Thanks man! Im gonna set it up for my real estate business!
My guy! You are literally the man for this. And your timing is spot on 🎯 🔥
You're my Guru dude! thanks for sharing
Can’t thank you enough for this break down!
very helpful tutorial, thanks for sharing!
Thanks for the tutorial, I created for own E-learning business and collected leads to google sheet. From google sheet I connected to whatsapp. Thanks again.
Love the video! GPTs are awesome and use cases are endless. Already created a few for fun. Think our chatbot builder platform has more functionality. But we might be bias 🤣
Thank you that you explained perfectly the differences between creating GPTs on ChatGPT and using the API and their own functionalities. It should have been better if you had explored more on the possibilities of ChatGPT actions also, but we can do it on another video. 🙏👍
Left em out on purpose to not over complicate this concept for beginners. Another video coming showing custom actions!
With OpenAI Assistant, can you create chatbots that pull answers from the web? Not just uploaded files?
@@chrisbeechey9841 interesting question. I have created GPTs, but I always have to instruct them that is they can't find the answer either in the knowledge base or other means, then search the internet, but I think this instruction can be placed definitely on the bot settings.
@@chrisbeechey9841 I think you can add some Research Agent that will scrape websites, maybe with langchain, might be used with 3.5 turbo I saw something like that on AI Jason's channel
Thank you, master, for your sharing. I have learned a lot
Great course dude! That's a lot of value for free!
Thanks Liam for this vidz that was so ething I was trying to figure out
Brilliant. Thank you for the education.
Thanks Liam! Great content
It would be great if you could make a detailed video explaining how to create the code for using the API. I believe low code is better than no code. By the way, the above video was amazing, Waiting for the full tutorial.
Great job. Liam, how big is your production team? Results are great!
❤ 00:01 Learn how to add custom GPTs to any website and understand the value of GPTs in the real world. 01:46 Create a custom knowledge chatbot using the Assistant API. 03:21 Junior sales reps can use a custom chatbot to get information about the business. 04:51 The main.py file contains API endpoints for communication. 06:22 To add custom GPTs to any website, follow these steps: 07:49 Custom GPTs can be easily added to any website using Repeat template 09:17 Setting up custom GPTs on a website 11:04 Adding custom GPTs to any website in minutes using Voiceflow 12:42 Creating a custom GPT using voice flow and the assistant API for websites Crafted by Merlin AI.
How can I get the code for the clone info? It's saying I need an Agentive account and it's been several days I have been waiting and I am on a deadline.
Mate, you earned my attention. Thanks and eill get back here.
0:51 Ayyyye that’s me! Great video again Liam
God bless you. I am shocked by how much value you give for free. It feels so illegal to know your channel. I hope you achieve your goals with this channel !
Liam - well done!
Awesome Liam!!
I just got it working in 15 minutes, awesome, thank you Liam!
Where can I download the vf template?Deeply grateful
@@weiweideng3334 google drive inside knowledgebase Liam attached in desc
Amazing, thanks!
Super video Liam, is there a way to make the script scrape a website it is to be used on instead of uploading a document?
Great stuff. Thanks
This man is dropping gold
Liam, thank you so much for the valuable info. You broke things down really well for those of us who are not so technical (like me.) Question: if I download Assistants API and follow the steps indicated, will I then have to train the bot? Or does it come out of the box trained on GTP4 data sets?
You need to do a video on pricing based on usage so we can properly lay out a budget for our clients
swap your first 2 words with Could you, maybe say thank you...he might just do that :)
bro coming with the coldest content
Fantastic and very clear! I got it working with Voiceflow, but there's seems to be limit to what the user can post as an utterance before it hits the API request fail. Is there somewhere to up the number of tokens? I am trying to create an app that provides feedback to student writing, so they will be submitting lengthier utterances.
You earned a subscriber
That is pretty cool. Thank you Liam. Would this bot have a long term memory? I mean are threads saved across sessions?
Thanks for the info
Looks like its going to be botpress for me. I am 5020 on the agentive waiting list. Informative video however and I might me your second oldest viewer lol. Grabbed a sinclair and commodore 64 at age 16 was hooked ever since. Being a systems consultant for decades I am loving the AI rabbithole I have found myself in.
This all looks great. First custom application of the Assistants API I've seen. In order to get it working on a real website, would I also need to purchase a paying plan on Replit and Voiceflow?
Huge bro - You've just opened the flood gates. Building like crazy right now 💪
Great content! For production, is Replit Core plan enough or do I use Reserved VM?
Liam, thank you a lot for this great content! It is much appreciated! I succeeded in setting this up for myself. But no the speed for the answers do need quite a long time. Anyone has a tip on howo to speed the chatbots ansers up?
Perfecto para probarlo hoy. Gracias te cuento luego que tal me fue. 👌🏽
Another great video Liam. Question though. You don’t think it’s worth creating a good app for the OpenAI App Store that would do well long term when thousands to maybe be millions use it and we get paid off of token use? I am currently learning both but to my embarrassment I learned about the api sight of OpenAI about 3-4 days ago and have been playing around in it.
Awesome stuff mate! Thanks for the information. Is it possible to do something like this without the OpenAI key and Riplet? For example if a customer would like to run it locally.
13:00 lovely! can't wait
Hi Liam, super excited for this AI chatbot solution, but does this mean we expose our internal knowledge document to openAI or the public?
very good , thanks
you read me.. literally thinking about it 😂 thank you
nice video, thanks
Has anyone figured out how to limit the output besides trying to limit it in the prompt. Awesome video by the way
🔥 Information! Quick question, can this be used on a mobile web app?
This is great! One things it still doesn’t do though is generate photos on demand like gpt. I have tattoo clients who would k!ll for that option
Good video. Some feedback, you kept talking about your resource hub in the description, but if you ctrl-f on your description "resource" doesnt list once. Instead you have it listed in a pinned comment. Took me a minute to find it, which could lose some conversions.
Hey Liam thank you again for all the amazing value you provide. I have just one question. What is the difference between using the assistant API vs just uploading our custom knowledge base into voiceflow? The end product on the website looks the same after all
1. OpenAI knowledge base is way better 2. This tut isn’t including custom functions which when setup correctly in the assistant unlocks massive potential This should more be seen as a migration over towards using OpenAI as the entire back end
@@LiamOttley okay that makes sense thank you! Your next video will go more in depth on how to add custom functions right?
@@LiamOttleythank you for sharing this info first, across the world. I will join your community now. You rock! - the team here sends you greetings from Edinburgh!
can a Custom GPT have excess on my own website?🙊
@@fabiom.3910nope
Nice Video, thanks! One question though: is it really necessary to use a provider like "Voiceflow" for such a case? Aren't there any good open source projects, React Components or suchlike for the frontend part of the chatbot?
Thanks!!
hey Liam, awesome drive you have! I wanted to ask you some general questions. Feel free not to answer if the question is too intimate. What is your learning background? Did you major in a computer related field? Did you set up all the bots on your own or do you have a team or a group of devs to do that? If you took the time to learn and create all this by yourself, what pushes you to share your work so freely? Other than financial reasons of course.
Awesome tutorial. Just one question, will I need Replit premium (Replit core) to make my forked version of your code private. So that others wont be able to use my api endpoint if they fork/run my code?
Hey Liam! Very useful thank you. Is it possible for API assistants to browse the internet? Many thanks :)
Hi Liam, I'm at the replit site. I'm following along in your training but i don't see the Secrets" button so i can add my API key. Im not sure what step i missed.
I just got to know about voiceflow through this video. Does it serve any purpose other than providing the UI component? In my understanding, everything is being done by the assistant. Right?
Hi Liam, great as usual, my question is I have created an assisnta y playground with gpt4 vision preview and do i have to use zapier to call it through voiceflow, or should I use the replit? How did you put your asssitant name in the replit? Thanks again!
I would just use replit for now
Itvs really amazing how far we have come... How could I create such a chatbot for customer support and general KB for a saas service I am building?? Thanks!
1:50 this is exactly why I found this video. Got unto custom gpts but didnt know the next steps. Now I do, the assistant api
Hey Liam Amazing Video, where did you learn how to code?
Excellent video! Just one question: Whats the cost structure to run a project like this? I have to pay for VoiceFlow and also for the ChatGPT API? Or just Voiceflow? Could you clarify this please?
But Liam, won't replit timeout the chatbot after being idle? Also you would need your computer on at all time to keep the replit code active and running. Can you do a tutorial that makes it run a traditional server where it has permanent functionality instead of demo? Thanks mate
This is incredible. I literally had it working within minutes. I have a quesion: how do I make it to use different documents? I uploaded a .txt file, updated the functions.py file and stopped and started replit, but it still seems to source from the original file. Thanks again, your work is amazing. This is the best walk through i have seen in years.
Found it already: Just delete the assistant.json file and restart the server.
@@bjaburg Does it still use Voiceflow tokens in addition to OpenAI tokens? If so, does it use less Voiceflow tokens than just straight up using Voiceflow AI responses instead? If it still uses Voiceflow tokens, I don't see how this is useful.
@@helsingking281I'd like to know too
Dude! That's awesome. I'm trying to change the knowledge.doc for a .CSV file and getting an error. Do you know the reason? Thanks a lot!
Ah and another question: is this way better than using stack AI for storing the information and just sending requests to the „normal“ GPT4 API? Do I need the assistant API, makes it any difference to the user of my website in the end?
I'm curious if there is a limit to the size of the knowledge base document that gets uploaded to Openai and what it is?
Can we use VoiceFlow or something similar to get a Chat GPTs that I built onto the front end of the website? I understand that the Assistant is superior, but I have a perfect Chat GPTs built. If not, can we use the Actions that are in Chat GPTs in the Assistant? Does it work the same?
This is a start in understanding how to implement a custom no code/low code chatbot but after reading some of the comments it seems there could be some unpleasant surprises revealing themselves when the usage bill arrives.
Thanks for the excellent content! I'd love to see a video on how you'd set up memGPT, Autogen, and one on using various models locally through something like LMStudio.
Hi ! Thank you for all the value you give for free that's awesome ! I have an issue on chrome, the space bar is not working on the chatbot. I edited a new knowledge.docs for my website (built on wordpress) and I've edited the voiceflow template , that's all. It was working with your Solar assistant but now I have this issue ... Any help would be a greeting 😢
Liam, in recent video you did you mentioned the importance of being able to market and sell but also to BUILD. It seems you break down all in great detail, but you also seem to reference a fair amount of integrative code. To enter this business is there code I should be learning as well. Fortunately I did a lot o FORTRAN when I was young in 1979, so I understand the logic flow etc.
I think we came to the right place
Python
You should also know javascript, if you need help I'll happily help you
@@boukm3n perfect thank you. I will begin looking into it.
@@boukm3n how long do you think it would take me to learn an adequate amount of python to really be able to do what I need to do in building ChatGPT’s? Assuming I really put some time and effort into it
Is there any cheaper alternative for the voiceflow system? I feel like I dont really need all these features, just the widget ui component.
Hi Liam,.This is incredible.You great man! Is it only for IOS? Can it works on Android?
Can you add multiple of these on the same page doing different things such as one as a customer service for the website but also have another one geared more towards helping create ideas or knowledge for a specific topic or subject?
is it possible to allow for users to upload images? I want to make an art style identifier so it should let you upload a picture and it would tell you what kind of art style it is
Nice, did you by pass the 20 files max upload for training?
Nice one Liam. Thanks foe puttingall your effort into these videos. You really give a lot of value to the community. But isn't all of this functionality available in Voiceflow in a "no code solution"? Do you know, What is the real advantage of integrating these assistants to Voiceflow?
How else are you going to deploy your assistant to a website in a few minutes?
@@LiamOttley We jump on Voiceflow and build one there. Then paste the javascript into the website. I'm just wondering what the benefit is of creating the assistant outside of Voiceflow and integrating it through to Voiceflow via API rather than just building something like that directly into Voiceflow? Is the assistant used for more complex projects that cannot be deployed directly within Voiceflow? To me it looks like all of the stuff you taught us in this video can be done directly in Voiceflow, or am I totally missing the point? Why do we need to muck around with all this code and use Open AI Assistant when we can just go down the Voiceflow no code route? If you don't mind me asking, what is the real value of using Open AI Assistant above just building a Voiceflow no-code job?
@@Hibiscus_Media If it doesn't use Voiceflow tokens, then it's a free Chat UI. But nobody has answered this and I'm too lazy to try.
Because right now Open AI assistants are the best way to create agents that are most similar to chat gpt I terms of memory. Default solutions in Voiceflow are using zero shot method or doing some stuff with storing memory in a variables. Assistants solves this problem and speaks very generic recognising previous question when we speak about answering over documents
@@tpumb5851 Thanks for that.
Hi Liam! question: Do you know if I can implement chatGPT on a searchbar in my website instead of a chatbox? Thank you!