Create a RAG Chatbot Using NVIDIA AI Workbench
Key Takeaways
Create a retrieval-augmented generation (RAG) chatbot using NVIDIA AI Workbench, a unified developer toolkit for creating, testing, and customizing pretrained AI models on NVIDIA RTX-powered AI workstations. The demo showcases local and self-hosted microservice inference modes using the hybrid RAG project on GitHub.
Full Transcript
welcome to Nvidia AI workbench demo for hybrid retrieval augmented generation project on GitHub this project allows you to run a rag application that can use different sources for inference from GPU on a local machine to a cloud endpoint or a self-hosted microservice this demo is done on a workstation powered by Nvidia RTX 6000 Ada gpus it shows how to do inference in two different modes local and self host microservice for this demo we assume that you have the AI workbench installed on a system with gpus and you have a GitHub account we start on GitHub with hybrid rack project this is a git repository with the code and environment configuration required to build and use the project we then clone it in AI workbench AI workbench pulls the repository to the local machine and builds the containerized environment which includes jupyter lab for development Environ and gradio app for using the rag application once the container builds the Open chat button turns green and you can click it to start the gradio app the chat app has three inference modes for rag local cloud and self-hosted microservice the workstation used in the demo has Nvidia gpus so I start with the local inference option I start the rack server and then select Lama 38b at 4bit Precision once the model downloads I can start the inference server which runs directly on the GPU on the workstation note that this video is significantly sped up for the purpose of the demo it takes about 3 minutes to complete the initial setup once the server is ready I get a message saying that service reachable and happy chatting I say hello to make sure model is up and running and I ask a question about Nvidia Blackwell super chip launch since Nvidia Blackwell details are not included in the models training data there is some hallucination this isn't necessarily a flaw it's expected for factual queries on topics that are not covered in model training data rag is a way of providing a model with appropriate context so that it can better answer this kind of query to show improvements rack and offer I add a PDF for nvidia's Blackwell architecture the rag application extracts the text and embeds it into the vector database where the data is embedded stored and ready for query when Vector database is disabled question comparing blackw and Hopper architectures yield inaccurate answers however enabling the vector database results in accurate responses additionally using the show context feature allows to see the direct text llm uses for generating responses providing a clear retrieval context to perform remote inference Begin by switching to a self-hosted microservice on the chat app ensure that you have an NGC account for accessing the Nim and generate the API key for authentication use the latest image from NGC catalog to take advantage of most recent updates and improvements after that log into Docker and run the Nim container in the chat app enter the required details for containerized models such as IP address and the model itself follow the same steps as local inference note that the vector database is agnostic of the inference mode and provides responses for all modes enabling Vector database results in more accurate responses thank you for watching our demo on setting up hybrid rag using Nvidia AI workbench on a Workstation
Original Description
In this video, you’ll learn how to create your own retrieval-augmented generation (RAG) chatbot using NVIDIA AI Workbench. With this unified, easy-to-use developer toolkit, you can create, test, and customize pretrained AI models on NVIDIA RTX-powered AI workstations.
Start your AI projects locally on workstations and scale them effortlessly to any data center or cloud with just a few clicks.
Start your AI projects locally on workstations and scale them effortlessly to any data center or cloud with just a few clicks.
Learn more about NVIDIA AI Workbench: https://www.nvidia.com/en-us/deep-learning-ai/solutions/data-science/workbench/
Learn more about NVIDIA RTX-powered AI Workstations: https://www.nvidia.com/en-us/ai-data-science/workstations/
Join the NVIDIA Developer Program: https://nvda.ws/3OhiXfl
Read and subscribe to the NVIDIA Technical Blog: https://nvda.ws/3XHae9F
#RTXWorkstation
#AIWorkstation
#AIWorkbench
#RAGchatbot
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from NVIDIA Developer · NVIDIA Developer · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Ray Tracing Essentials Part 2: Rasterization versus Ray Tracing
NVIDIA Developer
Ray Tracing Essentials Part 3: Ray Tracing Hardware
NVIDIA Developer
Ray Tracing Essentials Part 4: The Ray Tracing Pipeline
NVIDIA Developer
NsightGraphics 2020 2 Release Spotlight
NVIDIA Developer
Ray Tracing Essentials Part 5: Ray Tracing Effects
NVIDIA Developer
Ray Tracing Essentials Part 6: The Rendering Equation
NVIDIA Developer
Ray Tracing Essentials Part 7: Denoising for Ray Tracing
NVIDIA Developer
Spatiotemporal Importance Resampling for Many-Light Ray Tracing (ReSTIR)
NVIDIA Developer
Announcing Cloud-Native Support for Jetson Platform
NVIDIA Developer
JetsonTV: Build your next project with NVIDIA Jetson
NVIDIA Developer
Nsight Compute Feature Spotlight: Roofline Analysis, Asynchronous Copy, Sparse Data Compression
NVIDIA Developer
Nsight Systems Feature Spotlight: OpenMP
NVIDIA Developer
Isaac Sim 2020: Deep Dive
NVIDIA Developer
NVIDIA Jetson: Enabling AI-Powered Autonomous Machines at Scale
NVIDIA Developer
NVIDIA Tools to Train, Build, and Deploy Intelligent Vision Applications at the Edge
NVIDIA Developer
Jetson Xavier NX Developer Kit: The Next Leap in Edge Computing
NVIDIA Developer
Synthesizing High-Resolution Images with StyleGAN2
NVIDIA Developer
NVIDIA Robotics: Isaac SDK and Sim 2020.1
NVIDIA Developer
Accelerating COVID-19 Research with GPUs
NVIDIA Developer
Visualizing 150 Terabytes of Data
NVIDIA Developer
Boosting Performance and Utilization with Multi-Instance GPU
NVIDIA Developer
Running Multiple Workloads on a Single A100 GPU
NVIDIA Developer
NVIDIA Nsight Feature Spotlight: GPU Trace
NVIDIA Developer
Spark 3 Demo: Comparing Performance of GPUs vs. CPUs
NVIDIA Developer
NVIDIA Jetson Nano Wins Edge AI and Vision Alliance Award
NVIDIA Developer
NVIDIA IndeX on Google Cloud Platform Marketplace
NVIDIA Developer
DeepStream SDK: Best practices for performance optimization
NVIDIA Developer
Efficiently Deploying GPU Accelerated 5G CloudRAN for Edge AI Inferencing
NVIDIA Developer
NVIDIA PhysicsNeMo - Accelerating Scientific & Engineering Simulation Workflows with AI
NVIDIA Developer
NVIDIA Deep Learning Institute Instructor-Led Training Available Remotely
NVIDIA Developer
Advancing AR Glasses
NVIDIA Developer
Blender Cycles: RTX On
NVIDIA Developer
Real-Time GPU-Accelerated Data Analytics of 250 million Flight Data Records of 737 Max grounding
NVIDIA Developer
Assessing Property Damage with AI
NVIDIA Developer
RAPIDS: GPU-Accelerated Data Analytics & Machine Learning
NVIDIA Developer
DaVinci Resolve Turns RTX On
NVIDIA Developer
RAPIDS with Plotly Dash : GPU-Accelerated Census 2010 Visualization
NVIDIA Developer
NVIDIA IndeX for arivis5D Cloud Platform
NVIDIA Developer
NVIDIA Backchannel: Behind the Scenes of Marbles at Night RTX
NVIDIA Developer
NVIDIA Backchannel: Sneak Peek into Marbles RTX in Omniverse
NVIDIA Developer
How to Create "Paint" in Substance Painter
NVIDIA Developer
Accelerate AI development for Computer Vision on the NVIDIA Jetson with alwaysAI
NVIDIA Developer
Securing Next Generation Apps over VMware Cloud Foundation with Bluefield-2 DPU
NVIDIA Developer
Accelerated Data Centers with NVIDIA and VMware
NVIDIA Developer
GPU-Accelerated Motion Blur in Blender Cycles
NVIDIA Developer
NVIDIA Clara Guardian Virtual Patient Assistant
NVIDIA Developer
Revolutionizing Supercomputing with NVIDIA UFM Cyber-AI
NVIDIA Developer
Inventing Virtual Meetings of Tomorrow with NVIDIA AI Research
NVIDIA Developer
Learning a Contact-Adaptive Controller for Robust, Efficient Legged Locomotion
NVIDIA Developer
Getting started with Jetson Nano 2GB Developer Kit
NVIDIA Developer
NVIDIA Jetson Developer Community AI Projects
NVIDIA Developer
Open-source projects on NVIDIA Jetson Nano 2GB Developer Kit
NVIDIA Developer
Real-Time Ray Tracing with Project Lavina
NVIDIA Developer
Jetson AI Fundamentals - S1E2 - Hello Camera
NVIDIA Developer
Develop Optimized Conversational AI Models with NVIDIA NeMo on DGX A100
NVIDIA Developer
Jetson AI Fundamentals - S1E4 - Image Regression Project
NVIDIA Developer
Jetson AI Fundamentals - S2E1 - JetBot Intro and Hardware
NVIDIA Developer
Jetson AI Fundamentals - S2E2 - JetBot Software Setup
NVIDIA Developer
Jetson AI Fundamentals - S1E1 - First Time Setup with JetPack
NVIDIA Developer
Jetson AI Fundamentals - S1E3 - Image Classification Project
NVIDIA Developer
More on: RAG Basics
View skill →Related Reads
📰
📰
📰
📰
Beyond Search: Building Knowledge Nexus — The Future of AI-Powered Enterprise Intelligence
Medium · Machine Learning
From Documents to Intelligent Answers: Building a RAG Agent from Scratch & Lessons Learned
Dev.to · Sri Deevi
Your RAG Eval Isn't Flaky. Your Retrieval Is Non-Deterministic.
Dev.to · Vasyl
Reciprocal Rerank Fusion (RRF): The Simple, Powerful Way to Combine Keyword + Semantic Search in RAG
Dev.to · Christopher S. Aondona
🎓
Tutor Explanation
DeepCamp AI