Use ChatGPT API in your websites and apps - Create your own OpenAI Chat App - Easy Integration!

preview_player
Показать описание
ChatGPT API just got released! Learn how to integrate the OpenAI ChatGPT API in your own websites and apps. We'll create a Chat App and create a chat platform like OpenAI has. Be one of the first consumers of the API, and welcome to the future of applications with Artificial Intelligence. This video covers everything that you need to know to use ChatGPT API!

Don't forget to use the power of Prompt Engineering to get the results you want from the API.

At KeyStrokes, we will cover anything and everything about Computer Science. So make sure you subscribe to learn more! If you have any specific requests, please post them in comments.

🚨🚨🚨🚨🚨🚨 1:1's with KeyStrokes 🚨🚨🚨🚨🚨🚨
💜 🤝 Fill out this form and get in touch with me! 🤝 💜

👉 💜☕️ You can show your support by buying me coffee ☕️💜👈

👉💜🫡 Or through Patreon 🫡💜👈

👨‍💻 Code and commands in the video 👨‍💻

📑 Documentation and Link 📑

Contact for Business Enquiries:
- Discord: KeyStrokes(Hashtag)0040

Timestamps:
00:00 Introduction
00:22 OpenAI: Introducing ChatGPT and Whisper APIs
00:46 Early consumers: Companies using ChatGPT and Whisper APIs
00:40 What we'll cover today
01:54 ChatGPT API Overview
02:11 ChatGPT API Overview: API Key
02:22 ChatGPT API Overview: Model
02:37 ChatGPT API Overview: Roles
03:02 ChatGPT API Overview: Messages
04:33 ChatGPT API Overview: Tokens and Costs
05:29 Hands on! ChatGPT API Integration in our Chat app
06:07 ChatGPT API Integration: Setting up the NextJS React project
08:07 ChatGPT API Integration: Building the Chat UI
12:01 ChatGPT API Integration: Wiring the states, types, chatscope, and other React stuff
15:51 ChatGPT API Integration: Mocking the API call
22:31 ChatGPT API Integration: Using the API!
27:14 Playing with ChatGPT API in our Chat app
28:58 Outro/Conclusion

---

Music Credits:
🎶 Music Credits 🎶

Image Credits

---
Disclaimer: All opinions expressed in this video are those of the creator of this video. Using any information provided in this video is at your own risk, and the creator hold no responsibility and cannot be held liable if it causes any loss. Please do your own research and experiment well enough before using any content provided here.

#ChatGPT #OpenAI #AI #ArtificialIntelligence #Coding #Programming #NextJS #Typescript #HTML #CSS
Рекомендации по теме
Комментарии
Автор

Thank you so much for creating the ChatGPT tutorial! It was extremely helpful and I learned so much from it. I would love to see more advanced OpenAI product tutorials from you in the future. Keep up the great work! 👍

robertjhonson
Автор

Thank you for making this. I really, really like this level of video and I'm subscribed with notifications for all your videos now.

Alexissanchez-dkbe
Автор

Really great video man. I've been so keen to get into doing some of these calls and your video is really clear and well-paced for new/mid-level people in this space! Keep bringing us more!!

rodriguezjr
Автор

This is an excellent video I don`t know that much about tech but I love that you make it easy.

antoniojoseph-ywgv
Автор

🚨🚨🚨🚨🚨🚨 1:1's with KeyStrokes 🚨🚨🚨🚨🚨🚨
💜 🤝 Fill out this form and get in touch with me! 🤝 💜

Key_Strokes
Автор

A question of a newbie … do you build this in the frontend directly?

ChristianKlein-ll
Автор

i have implemented in jsx file, atlast it is not responding

vyomraval
Автор

Can you Make a video on Creating a solana nft own marketplace for nft project like bears market (okay bears)

nowroz
Автор

Hi, thanks for the video! I'm looking to integrate ChatGPT into my app. As of October 2023, is this guide still mostly valid? Thanks again for the awesome video! <3

xMedivh
Автор

Most of this does not work at the time of this comment.

Maniacsurvivor
Автор

Nice video :).

For anyone who gets stuck with "warning each child in a list should have a unique key prop." in their console you have to refactor this bit of code:

Old:
messages.map((message) => {
return (
<Message
model={{
message: message.content,
sentTime: `${message.sentTime}`,
sender: message.sender,
direction: message.direction,
position: 'normal',
type: 'text',
}}
/>
)
})

New:
messages.map((message, index) => {
return (
<Message
model={{
message: message.content,
sentTime: `${message.sentTime}`,
sender: message.sender,
direction: message.direction,
position: 'normal',
type: 'text',
}}
key={index}
/>
)
})

Adding the index solves the issue :)

DavidHirst-zx
welcome to shbcf.ru