Understanding Embeddings in RAG and How to use them - Llama-Index
Prompt Engineering
View ChannelAbout
👋 I'm Muhammad! I am an AI/ML Expert with a PhD and have led ML teams at startups over the last 8 years. I am also a Google Developer Expert for ML/AI. The goal of this channel is to share my learning without all the "fluff" and "hype". I offer consulting services to startups and https://calendly.com/engineerprompt/consulting-call Learn more about me @: engineerprompt.ai For business inquiries email: [email protected]
Latest Posts
Video Description
In this video, we will take a deep dive into the World of Embeddings and understand how to use them in RAG pipeline in Llama-index. First, we will understand the concept and then will look at home to use different embeddings including OpenAI Embedding, Open source embedding (BGE, and instructor embeddings) in llama-index. We will also benchmark their speed. CONNECT: ☕ Buy me a Coffee: https://ko-fi.com/promptengineering |🔴 Support my work on Patreon: Patreon.com/PromptEngineering 🦾 Discord: https://discord.com/invite/t4eYQRUcXB ▶️️ Subscribe: https://www.youtube.com/@engineerprompt?sub_confirmation=1 📧 Business Contact: [email protected] 💼Consulting: https://calendly.com/engineerprompt/consulting-call LINKS: Google Colab: https://tinyurl.com/mr2mf65n llama-Index RAG: https://youtu.be/WL7V9JUy2sE How to chunk Documents: https://youtu.be/n0uPzvGTFI0 llama-Index Github: https://github.com/jerryjliu/llama_index TIMESTAMPS: [00:00] Intro [01:21] What are Embeddings [03:58] How they Work! [05:54] Custom Embeddings [08:30] OpenAI Embeddings [09:33] Open-Source Embeddings [10:45] BGE Embeddings [11:42] Instructor Embeddings [11:57] Speed Benchmarking
Upgrade Your Game Now
AI-recommended products based on this video

acer Nitro 50 N50-620-UA91 Gaming Desktop | 11th Gen Intel Core i5-11400F 6-Core Processor | NVIDIA GeForce GTX 1650 | 8GB DDR4 | 512GB NVMe M.2 SSD | Intel Wi-Fi 6 AX201 | Keyboard and Mouse

NIDOO 15.6 inch Laptop Sleeve Case Computer Bag for 15.6" Lenovo Legion 5 / IdeaPad Gaming 3i / ThinkPad L15 T15 E15 / 16" Legion 7i 9i / Legion 5 Pro/ThinkPad E16 16p /Yoga 7i / Galaxy Book3 HP Dell

NIDOO Laptop Sleeve 15.6 inch Computer Bag for 15.6" Lenovo Legion 5 / Legion Slim 7 / ThinkPad T15 E15 / 16" Legion 7i / Legion 5 Pro/IdeaPad 3i / 16.1" Gaming 16 / Acer Dell Carrying Case, Black

New Slim 230W Charger fit for Lenovo Legion 5 7 5P C7 S7 Y520 Y740 Y730 Y900 Y910 Y920 Y7000P ThinkPad P16 P15 P73 P52 P70 ADL230NLC3A Square Yellow Tip Laptop Power Supply Adapter

135W AC Charger Fit for Lenovo Legion Slim 5 7 Y520 Y530 Y7000 Y7000P Y730 Y740 Y700 Y50, ThinkPad P1 P15v P16 P16v P50 P70 P71 T15p X1 Extreme Gen 1 2 3 4 5, T440P T470P T540p L340, Laptop

Asus ROG Strix 1000W Gold Aura Edition (Fully Modular Power Supply, 80+ Gold Certified, ATX 3.0, Cybenetics Lambda A+ Certification, PCIe Gen 5.0 Ready, Axial-tech Fan, Aura Sync, 10-Year Warranty)

240W 180W AC Charger Fit for Dell G15 G16 G7 G5 G3 Series 5500 5505 5510 5515 5511 5520 5521 5525 5530 5535 5587 5590 7500 7588 7590 7700 7790 7620 7630 3500 3579 3590 3779 LA240PM160 Gaming Laptop

MSI Ultra-Slim Thin 15 VR-Ready High FPS Gaming Laptop, 15.6 FHD 144Hz, Intel Core i5-13420H, NVIDIA GeForce RTX 4060, 32GB RAM, 2TB SSD, Backlit KB, Wi-Fi 6, Bundle with PCO Notebook Fold Radiator

MSI Thin15 15.6” FHD 144Hz Gaming Laptop, Intel i5-12450H, 32GB RAM, 1TB PCIe SSD, NVIDIA GeForce RTX 2050, Backlit Keyboard, WiFi 6, Win 11 Home, Black, 256GB Docking Station Set

MSI Ultra-Slim Thin 15 VR-Ready High FPS Gaming Laptop, 15.6 FHD 144Hz, Intel Core i5-13420H, NVIDIA GeForce RTX 4060, 32GB RAM, 2TB SSD, Backlit KB, Wi-Fi 6, Bundle with PCO Notebook Fold Radiator

240W 180W AC Charger Fit for Dell G15 G16 G7 G5 G3 Series 5500 5505 5510 5515 5511 5520 5521 5525 5530 5535 5587 5590 7500 7588 7590 7700 7790 7620 7630 3500 3579 3590 3779 LA240PM160 Gaming Laptop

Dell G16 Gaming Laptop 7630-16-inch QHD+ 240Hz 3ms Display, Intel Core i9-13900HX, 32GB DDR5 RAM, 1TB SSD, NVIDIA GeForce RTX 4060 8GB GDDR6, Windows 11 Home, Onsite Service - Metallic Nightshade

GIGABYTE - AORUS Elite 16 Gaming Laptop - 165Hz 2560x1600 WQXGA - NVIDIA GeForce RTX 5070 - Intel Core Ultra 9 275HX - 1TB SSD with 32GB DDR5 RAM - Windows 11 Home AD (AORUS Elite 16 BWHC3USC64SH)

Razer BlackShark V2 X Gaming Headset: 50mm Drivers - Cardioid Mic - Memory Foam Cushion - Lightweight- Comfortable, Noise Isolating Earcups - for PC, PS4, PS5, Switch - 3.5mm Audio Jack - Black ECOLOGO

New SteelSeries Arctis Nova Pro for Xbox Multi-System Gaming Headset - Premium Hi-Fi Drivers - Hi-Res Audio - 360° Spatial - GameDAC Gen 2 - Quad-DAC - ClearCast Gen 2 Mic - Xbox, PC, PS5/PS4, Switch

NEW SteelSeries Arctis Nova 3 Multi-Platform Gaming Headset - Signature Arctis Sound - ClearCast Gen 2 Mic - PC, PS5/PS4, Xbox Series X|S, Switch, Mobile

CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intel® LGA 1700, AMD® AM5 and Older - White

CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans




