nvidia/generativeaiexamples — explained in plain English
Analysis updated 2026-06-26
Build a document Q&A chatbot that searches a knowledge base before answering, using NVIDIA NIMs and LangChain.
Add safety guardrails to an AI assistant to block unsafe prompts and audit the model for known vulnerabilities.
Fine-tune a smaller NVIDIA model on your own task data and evaluate whether it improved using NeMo microservices.
Monitor a video stream for events or search an image library with plain-English descriptions using NVIDIA vision models.
| nvidia/generativeaiexamples | xitu/tensorflow-docs | justmarkham/scikit-learn-videos | |
|---|---|---|---|
| Stars | 4,037 | 3,794 | 3,789 |
| Language | Jupyter Notebook | Jupyter Notebook | Jupyter Notebook |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 1/5 | 2/5 |
| Audience | developer | data | general |
Figures from each repo's GitHub metadata at analysis time.
Requires an NVIDIA API key for cloud NIMs, some advanced examples need a local GPU and Docker.
This repository is a collection of working examples and reference code for building AI applications using NVIDIA's software and models. It focuses on two broad patterns: retrieval-augmented generation, where an AI assistant answers questions by searching a document collection before responding, and agentic workflows, where an AI model calls external tools or APIs to complete tasks rather than answering from memory alone. The examples are written as Jupyter notebooks and runnable code projects. They use popular developer frameworks such as LangChain, LlamaIndex, and Haystack to connect to NVIDIA's inference services, called NIMs. A NIM is a packaged AI model that you can run locally or access through NVIDIA's cloud API. The quickest way to try the basic retrieval example is to get an API key from NVIDIA's catalog, clone this repository, and run a single Docker command that starts a local chat interface in your browser. Beyond the basics, the repository covers more advanced topics including multi-turn conversations, working with images alongside text, querying structured data from spreadsheets, breaking complex questions into sub-questions before answering, and building knowledge graphs from large datasets. There are also sections on safety, showing how to add guardrails that block unsafe prompts and how to audit a model for known vulnerabilities. A section called Data Flywheel shows how to fine-tune a smaller model on real task data, evaluate whether it improved, and add safety constraints, all using NVIDIA's NeMo platform of microservices. Vision-specific workflows cover tasks like monitoring video streams for events, searching image libraries using plain-English descriptions, and extracting text from images. The project is open to community contributions and is licensed under Apache 2.0.
Working Jupyter notebook examples for building AI apps with NVIDIA models, covering retrieval-augmented generation, agentic workflows, vision tasks, safety guardrails, and model fine-tuning.
Mainly Jupyter Notebook. The stack also includes Python, Jupyter Notebook, LangChain.
Use freely for any purpose including commercial, as long as you keep the copyright and license notices.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.