Рет қаралды 5,747
Learn how to build a Slackbot powered by Vercel Functions that talks to OpenAI to answer any question you have. This tutorial uses GPT 3.5 Turbo, but could be used with any model or AI provider.
0:00 - Introduction
0:17 - Demo
0:30 - OpenAI key
0:41 - Slackbot setup
1:35 - Function overview
2:09 - Listening to Slack events
3:09 - Verifying the incoming request
4:14 - Responding from OpenAI GPT
6:49 - Example Slack message
7:27 - Configuring Slackbot request URL
8:17 - Deploying to Vercel
8:29 - Viewing logs
9:21 - Configuring function max duration
9:58 - Conclusion
◆ Docs: vercel.com/docs
◆ Try Vercel: vercel.com/product-tour
◆ Talk to our team: vercel.com/contact/sales
◆ Code: vercel.com/templates/other/op...
#vercel #openai