How to Create YOUR OWN AI Chatbot with OpenAI's API (GPT4)

  Рет қаралды 11,687

Daniel K.

Daniel K.

Күн бұрын

Are you curious about how to build your own chatbot? In this video, I’ll teach you how to use the same language models that ChatGPT uses to build your own AI Chatbot, including GPT4. I’ll go through the process on how to create your own app with the ChatGPT API as well as give you an app I already coded up where you just have to replace a value with your API key. Code is included.
View the code here - danielkhv.com/blog/createyour...
🖇️ Amazon Affiliate Links (If you buy anything through this I earn commission):
amzn.to/3ZO72dQ
💻 My Gear
Microphone - amzn.to/3mTFTrf
Laptop - amzn.to/3YLYHWM
Monitor - amzn.to/3laCVyl
Editing Software - amzn.to/407qZfv
🔗 Resources
ChatGPT Playlist - • ChatGPT
📚 Chapters
0:00 - Intro
0:20 - Quickstart OpenAI example
02:30 - Custom Chatbot Setup
04:15 - Front-End Coding
06:30 - Back-End Coding
13:05 - Testing the Chatbot
14:05 - Outro
#ai #chatbot #chatgpt

Пікірлер: 40
@danielkhav
@danielkhav Жыл бұрын
If you are on windows follow this link to install NPM and Node: docs.npmjs.com/downloading-and-installing-node-js-and-npm
@andrewbondarenko691
@andrewbondarenko691 Жыл бұрын
This is such a great video. Very informative, clear, with the code to copy, and even explained what everything means. Great job Daniel. Well deserved like and subscribe.
@danielkhav
@danielkhav Жыл бұрын
Glad you enjoyed it!
@shailjaaggarwal7674
@shailjaaggarwal7674 3 ай бұрын
Hey i couldnt access the code?
@hotrodhunk7389
@hotrodhunk7389 Жыл бұрын
That's sick thanks for the walkthrough.
@danielkhav
@danielkhav Жыл бұрын
You’re welcome
@kaitheoracle9072
@kaitheoracle9072 Жыл бұрын
Great video ! thank you so much !
@danielkhav
@danielkhav Жыл бұрын
You are welcome!
@jpor6919
@jpor6919 8 ай бұрын
For whomever is running this code as of 1 Nov 2023, you need to run 'npm exec openai migrate' because of a version change, or else you will not be able to use Configuration
@danielkhav
@danielkhav 8 ай бұрын
Thanks, been a while since i revisited this
@GameJarne
@GameJarne Жыл бұрын
Is it possible to add memory to the ai? It would be interesting to see it actually remember things.
@FerTechCH
@FerTechCH Жыл бұрын
How straight forward would be possible to create this and host it on a Wordpress site for only admins to use? Any suggestions? Thanks a lot!
@lifeexperiment4119
@lifeexperiment4119 7 ай бұрын
Thank you for the video. I just want to know, how to but that chatbot into my website. So when people go into the website can access the chatbot. Thanks
@moustafavideos
@moustafavideos Жыл бұрын
很棒的视频!我会通知xi你的进展
@danielkhav
@danielkhav Жыл бұрын
Bruh 😂
@Living-lifetimes
@Living-lifetimes Жыл бұрын
Can you feed your own data into this for let’s say a website answering questions about your project etc but also have the ability to do everything else?
@danielkhav
@danielkhav Жыл бұрын
Yep, just add that data into the principles. I think with GPT4 there is a way to train a custom model as well
@Living-lifetimes
@Living-lifetimes Жыл бұрын
@@danielkhav awesome going to try it out. Great vid 👌
@kpekoz
@kpekoz Жыл бұрын
@@danielkhav How do you add the data to the principles? Do you have a tutorial on the process?
@juantomasdelportillo7888
@juantomasdelportillo7888 Жыл бұрын
amazing thank you! just one thing, even though i set the model to be model: "gpt-4", the chat keeps saying its "gpt-3 and gpt-4 hasnt been developed yet" ...
@danielkhav
@danielkhav Жыл бұрын
you have to enroll into gpt4 before you can have access
@elkabeatz135
@elkabeatz135 Жыл бұрын
@@danielkhavThanks!, but I do have gpt-4 access. I use it in an ai Wordpress plugin, and in moodle. plus in the openAI playground..
@elkabeatz135
@elkabeatz135 9 ай бұрын
It is actually gpt-4 but still the chatbot says its gpt-3....this also happens at the OPENAI playground. @@danielkhav
@user-ov6uy6nu7b
@user-ov6uy6nu7b Жыл бұрын
Hi, I'm wondering if you can help? I'm getting two errors in Dev Tools after I run the back end and then submit my first sample question. :8080/chat:1 Failed to load resource: net::ERR_CONNECTION_REFUSED script.js:17 Uncaught (in promise) TypeError: Failed to fetch at HTMLButtonElement.generateResponse (script.js:17:28) I am not a coder by any means. Any ideas?
@user-ov6uy6nu7b
@user-ov6uy6nu7b Жыл бұрын
Never mind I have fixed it and it works! Brilliant
@coner47
@coner47 Жыл бұрын
Uh im on windows when i go to my terminal it does not work any help?
@danielkhav
@danielkhav Жыл бұрын
Make the folders using your files if the commands dont work. Google “install node and npm on windows” to get the tools and libraries needed
@RtopRIndustrie
@RtopRIndustrie Жыл бұрын
Can i make a AI which transform Text to command with it ?
@danielkhav
@danielkhav Жыл бұрын
What do you mean by that?
@RtopRIndustrie
@RtopRIndustrie Жыл бұрын
​@@danielkhav I mean a bot which can write html css or python code
@RtopRIndustrie
@RtopRIndustrie Жыл бұрын
@@danielkhav for example : "give me the html code of a website page"
@Jykobe491
@Jykobe491 Жыл бұрын
How can I create a.i characters? That is characters who have certain ideologies
@danielkhav
@danielkhav Жыл бұрын
Look into Open AI playground and training your own model
@Jykobe491
@Jykobe491 Жыл бұрын
@@danielkhav thanks but to be more specific, imagine an a.i which thinks like a person e.g an Andrew Tate. Who will give replies based on that person's character
@Athith92
@Athith92 Жыл бұрын
Only tech guys will understand this video😂😂😂
@danielkhav
@danielkhav 11 ай бұрын
Lol
@scepticalbeliever
@scepticalbeliever Жыл бұрын
The code is using GPT 3.5 not 4...
@danielkhav
@danielkhav Жыл бұрын
Yes but it is easy to switch to GPT-4 once it's out
@scepticalbeliever
@scepticalbeliever Жыл бұрын
@@danielkhav Ok, the title is slightly misleading, that's all.
How to CREATE Your OWN GPT (w/ Custom Actions)
13:47
Daniel K.
Рет қаралды 28 М.
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
How to create a chatbot with OpenAI ChatGPT (March 2023)
7:21
BaggottsBOTs Digital Marketing Agency
Рет қаралды 51 М.
Learn AI Engineer Skills For Beginners: OpenAI API + Python
38:22
All About AI
Рет қаралды 24 М.
ChatGPT API - Introduction
1:03:37
Eli the Computer Guy
Рет қаралды 10 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 417 М.
How to HACK ChatGPT (Bypass Restrictions)
8:48
Daniel K.
Рет қаралды 203 М.
Write A ChatGPT Chatbot With Node.js
28:39
Traversy Media
Рет қаралды 81 М.
ChatGPT Functions - Full Tutorial for using OpenAI Functions
29:14
Adrian Twarog
Рет қаралды 87 М.
Advanced ChatGPT Guide - How to build your own Chat GPT Site
37:09
Adrian Twarog
Рет қаралды 1,1 МЛН
Первый обзор Galaxy Z Fold 6
12:23
Rozetked
Рет қаралды 386 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 6 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,1 МЛН
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 35 МЛН