AI Summary
This video demonstrates how to create a custom knowledge AI chatbot in 5-10 minutes using Coze, a free platform built on GPT-4. By uploading personal data such as YouTube scripts and ebooks, users can train the chatbot to provide personalized advice without any coding experience.
Chapters
Coze is a free platform that runs on GPT-4, offering a cost-free alternative to OpenAI's $20/month subscription.
Building AI chatbots on Coze requires no programming skills, making it accessible to beginners.
Go to coze.com, create an account, and click the 'Create Bot' button to start.
Define the bot's behavior through prompt engineering, then use Coze's 'optimize' feature to refine it.
Add data sources (PDF, txt, Word, Google Drive, Notion, web pages) by creating a knowledge source and uploading documents.
Before uploading knowledge, the bot gave generic GPT-4 responses; after upload, it provided answers based on the creator's own content.
Plugins like YouTube search extend the bot's capabilities beyond native GPT-4 functions.
The bot can be published to Coze's bot store, Slack, or Discord with one click.
The video shows a straightforward, no-code method to build a personalized chatbot using your own data on Coze, with added plugins and simple deployment across platforms.
Clickbait Check
85% Legit"The title accurately reflects the tutorial; the process takes approximately 10 minutes and delivers a fully functional knowledge-based chatbot."
Mentioned in this Video
Tutorial Checklist
Study Flashcards (7)
What platform is used to build the AI chatbot?
easy
Click to reveal answer
What platform is used to build the AI chatbot?
Coze
00:12
Is Coze free to use?
easy
Click to reveal answer
Is Coze free to use?
Yes, it is completely free and runs on GPT-4.
00:18
What is the difference between using GPT-4 on OpenAI and on Coze?
easy
Click to reveal answer
What is the difference between using GPT-4 on OpenAI and on Coze?
OpenAI charges $20/month for GPT-4; Coze provides it for free.
00:24
What file types can be uploaded as knowledge?
medium
Click to reveal answer
What file types can be uploaded as knowledge?
PDF, text documents, Microsoft Word, Google Drive, Notion, and web pages.
06:13
How do you add YouTube video recommendation capability to the bot?
medium
Click to reveal answer
How do you add YouTube video recommendation capability to the bot?
Add the YouTube plugin from the plugins section and select the search video plugin.
09:55
What platforms can the bot be deployed to?
medium
Click to reveal answer
What platforms can the bot be deployed to?
Coze bot store, Slack, or Discord.
10:43
What does Coze's 'optimize' feature do?
medium
Click to reveal answer
What does Coze's 'optimize' feature do?
It takes your initial persona prompt and generates a more detailed, structured version with character and skills.
03:26
💡 Key Takeaways
Free GPT-4 access
Coze offers free GPT-4 usage, removing the cost barrier for AI experimentation.
00:18No coding needed
This empowers non-programmers to build AI chatbots, lowering the entry barrier.
00:47Upload custom data
The ability to train the bot on personal content (PDFs, scripts) makes responses highly specific.
04:21Plugin ecosystem
Plugins like YouTube extend the bot's functionality beyond what GPT-4 alone can do.
09:38One-click deployment
Publishing to Slack or Discord enables team-wide access with minimal effort.
10:38Full Transcript
[00:00] in this video I'm going to take you
[00:01] through creating your own custom
[00:03] knowledge AI chatbot in 5 to 10 minutes
[00:06] that's trained on your own data using a
[00:09] platform known as Co now complete
[00:13] transparency this video is sponsored by
[00:15] Co however it is a completely free
[00:18] platform that runs on top of GPT 4 now
[00:21] if you wanted to use GPT 4 through open
[00:24] ai's website you'd have to pay like 20
[00:26] bucks a month but here on Co you get to
[00:28] use it for free on top of all the
[00:31] additional chatbot Integrations that
[00:34] this platform provides now I've been
[00:36] using this platform for a couple weeks
[00:38] at this point and I think it is super
[00:40] cool and I know a lot of you guys are
[00:42] trying to learn Ai and one of the best
[00:44] ways to learn AI is to sort of get your
[00:47] hands dirty and start building stuff now
[00:51] with Coes it's super easy to start
[00:53] building with AI even if you have no
[00:56] coding experience so I've had this idea
[00:59] for a while now about making a chatbot
[01:02] that uses my own content you know my
[01:05] YouTube video scripts my ebook my
[01:07] courses so that users can interact with
[01:10] this chatbot to get advice based around
[01:13] the content that I've made and the
[01:16] things that I've said and aside from my
[01:17] own knowledge chatbot I know a lot of
[01:20] people or a lot of companies even could
[01:23] benefit by creating their own chatbot
[01:25] from their own data sources so with that
[01:28] being said let's go ahead and dive into
[01:30] creating this chatbot so head on over to
[01:34] co.com and once you create an account
[01:38] click the create bot button here in the
[01:40] top left of the screen select your
[01:43] personal workspace give the bot a name
[01:46] so I'll name this uh coding with Kenny
[01:50] we'll give the bot a brief description
[01:52] so I'll just say a knowledge bot trained
[01:57] on Kenny Gunman's
[02:00] content then we can upload a profile
[02:02] picture or we can use this handy
[02:05] generate AI button right here to
[02:07] generate an icon for our bot so this
[02:10] will take a second to
[02:12] load once that's done we'll click
[02:16] confirm and then from here we'll be
[02:18] taken to our bot dashboard where we can
[02:21] now create our bot so the very first
[02:24] thing that we should do is design the
[02:27] Persona or I guess prompt engineer the
[02:29] bot so it behaves the way that we want
[02:32] it to for example I want this bot to
[02:36] give the user coding advice from the
[02:38] knowledge that I upload which we'll do
[02:41] here in a second and recommended content
[02:44] from my YouTube channel so I could write
[02:47] something in the Persona here like
[02:49] you're a coding bot designed to
[02:53] recommend coding resources and YouTube
[02:57] videos from Kenny
[03:00] G's YouTube
[03:03] channel you're able to help Rec
[03:09] recommend resources based on an
[03:13] individual's skill level so I would say
[03:17] this is a good start for our Bots
[03:20] persona but then I could go ahead and
[03:22] use CO's optimize feature right here
[03:26] click this
[03:27] button this will take a minute or so to
[03:33] run and as you see Co went ahead and
[03:36] took our initial prompt and made it into
[03:39] something that is much more optimized it
[03:42] created a character for our bot which is
[03:44] denoted by this character hashtag here
[03:47] it equipped it with all of these
[03:49] different skill sets such as diagnosing
[03:51] the user's coding skill level
[03:54] recommending coding resources and then
[03:56] recommending YouTube videos from my
[03:59] YouTu YouTube channel right here so I'll
[04:02] hit use to go ahead and use this
[04:04] generated data now I already created a
[04:08] Persona and prompt section for this bot
[04:11] that works very well for my use case
[04:14] right here so I'm going to go ahead and
[04:16] copy and paste it in like this now the
[04:19] next thing that we need to do is upload
[04:21] our knowledge so right now this bot
[04:24] isn't trained on anything and it's
[04:26] strictly the gp4 model so if I ask it
[04:29] some sort of question it will give me a
[04:31] generic AI response for example if I
[04:34] asked it something like what are some
[04:37] tips for
[04:39] selftaught programmers it'll take a
[04:41] second and then it's going to go ahead
[04:43] and give me this pretty generic response
[04:47] of mastering the basics practicing
[04:49] regularly work on real world projects so
[04:52] let's go ahead and upload my own data
[04:54] just to see how much this response
[04:56] changes so I have over a 100 pages of
[05:00] PDF data from all the content that I've
[05:03] created over the years for example
[05:05] inside of learning material here I have
[05:08] this 19-page ebook that I created titled
[05:11] 02 full-time programmer in five steps
[05:15] inside of YouTube video scripts here I
[05:18] have 10 YouTube video scripts that I've
[05:21] downloaded and I've turned into PDF
[05:24] documents so I'm going to go ahead and
[05:25] upload all of these documents directly
[05:27] into Coes and integrate them into my bot
[05:31] so I can do that by going back to the
[05:33] Coes dashboard clicking this plus button
[05:36] under the knowledge section now I've
[05:39] already uploaded these documents as you
[05:41] see right here while I was testing this
[05:44] bot but let me go ahead and show you how
[05:46] you can add your own documents so what
[05:48] you want to do is click this create
[05:51] knowledge button right here create a
[05:53] name for your knowledge source so I'll
[05:56] name this one YouTube vid Scripts add a
[06:00] description if you want click the
[06:01] confirm button now this is where you
[06:03] will upload your knowledge AKA your
[06:06] documents and you do that by clicking
[06:08] this add unit button right here now I'll
[06:11] personally be using PDF document but as
[06:13] you can see you can use virtually any
[06:16] type of document you want you can use
[06:17] text documents you can use Microsoft
[06:19] Word documents you can even connect
[06:22] right to your Google doc drive you can
[06:24] connect to notion or you could even
[06:27] scrape data from web pages but because
[06:29] I'm using local PDF documents on my
[06:32] machine I'll go ahead and click local
[06:35] documents click next and then alls I
[06:38] need to do is drag and drop the
[06:41] documents that I have right here so I go
[06:44] into YouTube video scripts I'll select
[06:46] all of these and I will drag them
[06:49] straight into codes like this they
[06:51] should upload pretty quickly from here
[06:54] I'll click the next button now this is
[06:56] where you can let codes automatically
[06:58] parse through your document or you can
[07:00] set up custom rules for parsing yourself
[07:04] I think Co does a great job doing this
[07:06] automatically so I'll go ahead and leave
[07:08] automatic selected I'll click next and
[07:11] then we simply just wait it should only
[07:14] take a minute or so and once that is
[07:16] done we'll click the confirm button and
[07:19] after that simply go back to knowledge
[07:21] and upload all of the other data sources
[07:24] that you have from here we will simply
[07:26] go back to our bot dashboard so this
[07:29] coding with kennybot right here click
[07:32] the plus button under the knowledge
[07:34] section We'll add our YouTube vid script
[07:38] knowledge data source that we just
[07:39] uploaded we'll also add newsletters and
[07:42] then learning material here we'll close
[07:44] out of that and just like that we've
[07:47] created a knowledge bot that is ran on
[07:49] top of gp4 with our own custom data and
[07:53] just to show you that this is working
[07:56] let's go ahead and ask the coot the same
[07:58] question of
[07:59] what are some tips for self toop
[08:01] programmers so I'm going to go ahead and
[08:03] copy this with contrl C I'll paste it in
[08:06] right here I'll ask the bot again what
[08:08] are some tips for self-taught
[08:10] programmers and as you see it is
[08:12] searching through our
[08:13] knowledge and providing us with a
[08:16] completely different answer than the
[08:18] first time so let's look through this
[08:21] response here now these things are
[08:24] things that I've said many times before
[08:26] in YouTube videos which makes sense
[08:28] because I uploaded my YouTube video
[08:30] scripts directly to the knowledge
[08:32] section of this bot and just to prove
[08:35] this to you let me see if I can find the
[08:37] video where I said self-learning isn't
[08:40] the easier route all right so I said it
[08:42] right here in this video self toop
[08:45] programmers listen up and as you see in
[08:47] this chapter I say selftaught isn't the
[08:50] easier option we'll go ahead and play a
[08:52] few seconds of this clip you need to
[08:54] understand that being selftaught isn't
[08:56] the easier route by any means I think a
[08:58] lot of people there you go directly from
[09:01] one of my YouTube video scripts so that
[09:03] my friend is how you can very easily
[09:06] create a knowledge bot that is trained
[09:08] on your own data now with Co it doesn't
[09:11] stop there as I mentioned I want to
[09:14] create a knowledge bot that not only
[09:16] gives advice based on the data that I've
[09:19] uploaded to the bot but also recommends
[09:22] YouTube videos from my own channel now
[09:25] out of the box gp4 can't recommend
[09:28] YouTube videos however this is where the
[09:30] plethora of other helpful features of Co
[09:34] comes into play now Co has a huge amount
[09:38] of plugins that I can add directly into
[09:41] my bot to get it to do additional tasks
[09:44] such as searching for YouTube videos so
[09:47] I'll head over to this plugins section
[09:49] in my bot dashboard here I'll click the
[09:52] plus button to add a plugin so I'll go
[09:55] to the search bar here and I'll search
[09:56] for the YouTube plugin I'll select it
[10:00] right here and then I'll add the search
[10:02] video plugin directly from the YouTube
[10:05] plugin so now that this has been added
[10:08] we can close out of this here and now my
[10:11] bot can search for YouTube videos it's
[10:13] as easy as that so if I type in
[10:16] something to my bot like can you provide
[10:20] me with a video on good coding habits
[10:25] that I can adopt as a programmer I hit
[10:29] enter it will use the YouTube plugin and
[10:32] then it will recommend a video directly
[10:35] from my YouTube channel so now that we
[10:38] have our knowledge-based chatbot created
[10:40] we are ready to deploy that and again
[10:43] that is something that is super easy
[10:45] with Co we simply click the publish
[10:47] button in the top right of the screen
[10:50] here Co will ask for a few more pieces
[10:53] of data such as a uh bot opener and
[10:57] opening questions that a user ask you
[11:00] can fill this out if you want or you can
[11:02] skip it I'll just hit confirm to go with
[11:05] the default it gives
[11:08] me and then from here we can deploy our
[11:11] bot to various different locations so
[11:14] the first one and the default one is
[11:16] directly to the co bot store So Co has a
[11:20] bot store where you can deploy your Bot
[11:23] to and you can use Bots that were
[11:26] deployed by other people but you can
[11:28] also integrate with platforms such as
[11:31] slack and Discord so you could install
[11:35] this directly into your Discord server
[11:38] and the users of your server could ask
[11:40] the bot questions and it would answer it
[11:43] so I think that is a really cool feature
[11:46] however I'm just going to publish this
[11:47] directly to the co bot store for now
[11:50] just because that is the easier route
[11:52] and I do that by clicking this publish
[11:54] button right here and there we have it
[11:56] our bot is now deployed so I'll click
[11:59] this button right here to open up the
[12:01] bot in the bot store and that my friends
[12:04] is how you create a knowledge chatbot
[12:06] using Coes I hope this video was helpful
[12:09] to you and make sure you head on over to
[12:11] co to start building your own chat Bots
[12:14] today thank you for watching the video
[12:16] and I will see you all in the next one
[12:19] peace