If you find my content useful and want to support the channel, consider contributing a coffee ☕: https://hbyt.us/coffee
In this video, we cover how to build and deploy your own AI application using SvelteKit, OpenAI's GPT-3 Model and APIs, and Vercel Edge Functions.
📁 Starting Code: https://github.com/huntabyte/elif-ai/...
📁 Final Source Code: https://github.com/huntabyte/elif-ai
OpenAI Playground: https://platform.openai.com/playground
OpenAI Tokenizer: https://platform.openai.com/tokenizer
SSE.js: https://www.npmjs.com/package/sse.js
SvelteKit Config Docs: https://kit.svelte.dev/docs/adapter-v...
🚀 Become a channel member: https://hbyt.us/join
💬 Discord: https://hbyt.us/discord
🐦 Twitter: https://hbyt.us/twitter
🖥️ Setup Stuff: https://hbyt.us/gear
Chapters:
00:00 - What We're Building
00:20 - Exploring the prompt
03:05 - OpenAI API Key
03:30 - Building the endpoint
10:10 - Install sse.js
10:40 - sse.js TypeScript Setup
11:40 - Building the client-side page
17:40 - Testing It Out
18:42 - Configure For Edge Function Deployment
20:05 - Deploy to Vercel
📃 Topics Covered:
SvelteKit Streaming
SvelteKit AI App
SvelteKit Vercel Edge Functions
Vercel Edge Functions
Vercel AI App
OpenAI Node App
OpenAI WebApp
GPT-3
text-davinci-003 model
OpenAI Completions