How to Stream ChatGPT Output into Your App | Web Development with OpenAI Ep 3

Subscribers:
1,040,000
Published on ● Video Link: https://www.youtube.com/watch?v=GkyHBwUA0EQ



Category:
Tutorial
Duration: 47:33
1,347 views
19


In this episode, @heyAustinGil dives into understanding web streams before implementing streaming responses from the OpenAI API. The result is a faster-perceived performance and a better user experience.

New to Cloud Computing? Get started here with a $100 credit → https://www.linode.com/lp/youtube-viewers/?ifso=linodetube&utm_source=youtube&utm_medium=SuperUser

Chapters:
0:00 Welcome & Previous Video Recap
1:00 Teletype Prerequisites
2:58 Server-Side Logic without Route Actions
6:25 Build Out Stream
10:10 Intercept Form Submission
17:55 Error Explained!
18:30 Resolve Error
20:03 Add Logic to Readable Stream
21:45 Test Logic
23:00 Fix Logic Errors
23:20 Create Reactive State
26:30 Test App
26:45 Fix OpenAI Integration
29:00 Break Stream Down
30:50 Process Each Chunk of Data
32:22 Review Code
33:00 Test App and Review Console
34:35 RegEx Data Stream
36:34 Grab String
39:25 Test Again
39:40 Close String
40:10 Handle Payloads
42:35 Test App Again
43:30 Recap
45:30 Conclusion

Follow along with Austin's GitHub → https://github.com/AustinGil/versus
Check out Qwik.js docs→ https://qwik.builder.io/docs/
See OpenAI Docs → https://platform.openai.com/overview
Learn more about Fetch API → https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_confirmation=1

#AkamaiDeveloper #openai #qwikjs #nodejs
Product: Akamai Developer, Open AI, Qwik.js, ChatGPT; @heyAustinGil




Other Videos By Akamai Developer


2023-09-15How to Build a Client and Game Interface for Online Multiplayer Game Development | Episode 2-3
2023-09-13Build and Use APIs for Android Apps | Full-Stack Development with Flask, SQL, and Android Studio
2023-09-11Prompt Engineering in Web Development | Using LangChain and Templates with OpenAI
2023-09-08Build an Online Multiplayer Game in Python | Episode 1-3 Implementing the Server
2023-09-06Easypanel Deployment and Demo | A Modern Server Control Panel Powered by Docker
2023-09-01Build a Blogging Machine That Generates Its own Content Using AI | Code With Harry Tutorial
2023-08-30Create Your Own Office App Suite with OnlyOffice | Setup, Features, and Deployment Tutorial
2023-08-28Exploring Neural Networks, LLMs, and GPTs | Web Development with Generative AI Ep4
2023-08-25Using the ps Command | Efficient Process Monitoring on Linux Systems
2023-08-23Maintain and Secure Container Images with Harbor | Open Source Self-Hosted Container Registry
2023-08-21How to Stream ChatGPT Output into Your App | Web Development with OpenAI Ep 3
2023-08-18Terraform Import Comomand | Terraform Tapas Ep 8
2023-08-16How SSL, TLS, & HTTPS Work | Keeping Your Connections Safe
2023-08-14How to Incorporate ChatGPT into Your App with Qwik.js | Developing Smarter Apps With Generative AI
2023-08-11Terraform Apply Command | How Terraform Handles Dependencies and Uses The depends_on Argument
2023-08-09Budibase Turns Data Into Action | Build Internal Tools that Access Data and Automate Workflows
2023-08-07Building an AI Powered Web App with QwikJS | Generative AI Web Development
2023-08-04Automating Terraform Workflows Using Variables | Terraform Tapas Ep 6
2023-08-02Microweber Deployment and Demo | Open Source CMS and Website Builder
2023-07-31Redis Explained | Devops Simplified
2023-07-28The Linode Channel is Now Akamai Developer | Same Faces Under a New Name!



Tags:
linode
akamai
akamai developer
openai
openai api
nodejs
quickjs
ai web dev
web dev
web development with ai
generative ai website
generate web content with ai
saas business
web development
qwik builder
ai software
chatgpt web development
use chatgpt in website
ai website tutorial
ai website builder
ai website course
connect chatgpt to website
chatgpt tutorial
code with chatgpt
code with ai
web design with ai
artificial intelligence full course
ai app