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
๐ฟ Envato Elements: https://1.envato.market/LP0OJZ
๐ด Elementor: https://elementor.com/adrian/?ref=23140
โ Editor X: https://www.editorx.com/adrian-twarog
Computer Gear:
โฌ Monitor: https://amzn.to/3f9DOQI
โจ Keyboard: https://amzn.to/3eA5UFD
๐ Mouse: https://amzn.to/3xVJO8l
๐ค Mic: https://amzn.to/3hgCfms
๐ฑ Tablet: https://amzn.to/3ewt7sa
๐ก Lighting: https://amzn.to/3vOZeZY
๐ก Key Lighting: https://amzn.to/3f6qP2f
Camera Equipment:
๐ท Camera: https://amzn.to/3uCv4J9
๐ธ Primary Lens: https://amzn.to/3vT6wMm
๐ธ Secondary Lens: https://amzn.to/3tyqWIX
๐ฅ Secondary Camera: https://amzn.to/3o2zCGi
๐ Camera Mic: https://amzn.to/33tCz9l
๐ USB to HDMI: https://amzn.to/33yW9RE
source