Build a Chatbot With Custom Data Using ChatGPT and Supabase
Автор: Cooper Codes
Загружено: 2023-04-25
Просмотров: 23309
Описание:
Thanks to Supabase for sponsoring this video! Check out the launch week here: https://supabase.com/launch-week
Enjoying my videos? Sign up for more content here: https://www.coopercodes.com/
In this video we build a Supabase and OpenAI system that allows us to call an API endpoint with a question, and then get an answer based off our own CUSTOM data. Pretty impressive! This is done by using PostgreSQL vector storage, Supabase Edge functions, and OpenAI Embeddings. Even if you're a beginner to using embeddings, this video is a great start into understanding how you can build AI systems with your own custom data!
match_documents code: https://pastebin.com/6PdKt8hH
initial index.ts code: https://pastebin.com/2EvkZeTn
FINAL CODE: https://github.com/coopercodes/Custom...
I used this blog post as a resource throughout the video: https://supabase.com/blog/openai-embe...
0:00 Intro
0:38 System discussion / Introduction to embeddings
5:33 Setup Supabase Vector Storage (PostgreSQL)
9:08 Get API keys / Project URL
10:11 Generating embeddings from custom data
18:20 Setting up Supabase edge functions
23:36 Building out API logic (ask-custom-data)
38:15 Calling our API endpoint (Asking questions!)
41:05 Thanks for watching!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: