OpenAI Embeddings and Vector Databases Crash Course

Adrian Twarog · Beginner ·🔍 RAG & Vector Search ·3y ago

Key Takeaways

Builds a Vector Database using OpenAI Embeddings API and SingleStore

Original Description

Embeddings and Vectors are a great way of storing and retrieving information for use with AI services. OpenAI provides a great embedding API to do this. Postman lets you make these with easy at https://www.postman.com/ (today's sponsor) In this video we will explore how to create a Vector Database by creating embeddings using the OpenAI API and then storing them in SingleStore. The first part of the video will cover how to create an embedding using just API requests with Postman. Then we will jump into Single Store and store these in a new database made specifically for vectors like this. 00:00 - Introduction 00:10 - What are Embeddings and Vectors 02:14 - Setup OpenAI Embeddings 03:11 - Setup Postman API Requests to create Embeddings 03:55 - Create Embedding 03:55 - Create Embedding 06:55 - Create PDF or Document Embedding 07:43 - Vector Database - Setup with SingleStore 08:20 - Vector Database - Create Database 09:32 - Vector Database - Create Table 10:41 - Vector Database - Insert Embedding Row 13:25 - Vector Database - Search Embeddings 15:18 - Embedding function with JavaScript and NodeJS 18:08 - OpenAI and GPT Digital Book 18:29 - Conclusion Postman: (today's Sponsor) for API Requests https://www.postman.com/ OpenAI Embedding Documentation: https://platform.openai.com/docs/api-reference/embeddings SingleStore Vector Database https://www.singlestore.com/cloud-trial/?utm_campaign=adrian-twarog&utm_medium=video&utm_source=youtube ⭐ Teach Me OpenAI & GPT - Digital Book ⭐ https://enhanceui.gumroad.com/l/teach-me-openai Learn Design for Developers! A book I've created to help you improve the look of your apps and websites. 📘 Enhance UI: https://www.enhanceui.com/ Feel free to follow me on: 🐦 Twitter: https://twitter.com/intent/follow?screen_name=adrian_twarog 💬 Discord: https://discord.gg/6gmmFvxkD7 💸 Patreon: https://www.patreon.com/adriantwarog Software & Discounts: 🚾 Webflow: https://webflow.grsm.io/adrian 🌿 Envato: https://1.envato.market/yRZjz2
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

Chapters (15)

Introduction
0:10 What are Embeddings and Vectors
2:14 Setup OpenAI Embeddings
3:11 Setup Postman API Requests to create Embeddings
3:55 Create Embedding
3:55 Create Embedding
6:55 Create PDF or Document Embedding
7:43 Vector Database - Setup with SingleStore
8:20 Vector Database - Create Database
9:32 Vector Database - Create Table
10:41 Vector Database - Insert Embedding Row
13:25 Vector Database - Search Embeddings
15:18 Embedding function with JavaScript and NodeJS
18:08 OpenAI and GPT Digital Book
18:29 Conclusion
Up next
OKF vs RAG Explained | Which AI Knowledge System Should You Use?
Pavithra’s Podcast
Watch →