GenerativeAIExamples is a free, open source ai development platforms project written in Jupyter Notebook and released under Apache-2.0. It has 4,220 GitHub stars, 1,102 forks and 84 open issues, and was last pushed 2 months ago. On this registry it ranks #116 of 155 tracked projects in AI Development Platforms, with 5 head-to-head comparisons available. It gained 22 stars over the last 30 tracked days.

What is GenerativeAIExamples?

NVIDIA GenerativeAIExamples is an Apache-2.0 collection of Jupyter notebook reference workflows for building RAG pipelines, agentic workflows and fine-tuning jobs on NVIDIA accelerated infrastructure and microservice architecture, aimed at developers who are already working inside the NVIDIA software ecosystem.

What it is

The repository is a starting point for developers who want to integrate with the NVIDIA software ecosystem to speed up their generative AI systems. It ships reference workflows, sample code and runnable Jupyter notebooks rather than a library or a framework of its own, and it covers RAG pipelines, agentic workflows and model fine-tuning. The material is organised around NVIDIA components such as NIM microservices, NeMo Microservices (NeMo Datastore, NeMo Entity Store, NeMo Customizer, NeMo Evaluator and NeMo Guardrails), NeMo Retriever, NeMo Auditor, TensorRT-LLM and the Triton Inference Server, with the RAPIDS ecosystem used for large-scale data processing.

The concrete problem it solves is the blank-notebook problem. A developer who wants an accelerated retrieval or agent pipeline today has to assemble the model server, the retriever, the guardrails and the evaluation loop by hand before any application logic gets written. GenerativeAIExamples replaces that assembly work with worked examples: a tool-calling fine-tuning, inference, evaluation and guardrailing loop under nemo/data-flywheel/tool-calling, an embedding fine-tuning path under nemo/data-flywheel/embedding-finetuning/, and a GPU-accelerated knowledge graph pipeline under community/knowledge_graph_rag that stands in for vector-only retrieval over large datasets.

Key capabilities

  • Agentic RAG pipelines built on Llama 3.1 and NVIDIA NeMo Retriever NIM microservices, demonstrated in RAG/notebooks/langchain/agentic_rag_with_nemo_retriever_nim.ipynb.
  • Data Flywheel tutorials that chain NeMo Customizer, NeMo Evaluator, NeMo Datastore, NeMo Entity Store and NeMo Guardrails microservices with NVIDIA NIMs for fine-tuning and evaluation.
  • Safety tooling: auditing large language models for vulnerability to unsafe prompts with NeMo Auditor in nemo/NeMo-Auditor/Getting_Started_With_NeMo_Auditor.ipynb.
  • Parallel rails inference in nemo/NeMo-Guardrails/Parallel_Rails_Tutorial.ipynb, run to reduce latency and improve throughput.
  • Knowledge graph construction and querying for RAG, using RAPIDS to process large-scale datasets efficiently.
  • Event-driven RAG for CVE analysis, integrating NVIDIA Morpheus, NIM microservices and RAG pipelines into LLM-based agent pipelines under experimental/event-driven-rag-cve-analysis.
  • Vision NIM workflows, including VLM-based monitoring of a video stream for custom events at nim_workflows/vlm_alerts/README.md and natural-language image search with NV-CLIP.

Who uses it and how

  • Application developers who already target NVIDIA hardware and want a working RAG or agent pipeline to modify rather than a framework to learn from scratch.
  • Teams running model safety programmes, using NeMo Auditor to probe for unsafe-prompt vulnerabilities and parallel rails to keep guardrail overhead off the critical path.
  • Teams that need local inference rather than a hosted endpoint, following notebooks/08_RAG_Langchain_with_Local_NIM.ipynb for a locally deployed NIM alongside LangChain.
  • Data and platform engineers working with large datasets who need GPU-accelerated knowledge graph construction through RAPIDS.
  • Vision and media teams building stream monitoring or natural-language image retrieval on Vision NIMs, in addition to text-based RAG work.

Getting started

Clone the repository recursively with git clone https://github.com/nvidia/GenerativeAIExamples --recurse-submodules, which places the vision workflows at GenerativeAIExamples/vision_workflows. From there the workflows are run as Jupyter notebooks, with a "Try it Now!" section in the README pointing at the entry points.

How it compares

Among the tools named in this repository, LangChain sits at the orchestration layer and the NVIDIA serving stack — TensorRT-LLM, Triton Inference Server and NIM microservices — sits at the inference layer. GenerativeAIExamples does not compete with either; it is the glue that shows LangChain code calling NeMo Retriever NIM endpoints and consuming NIM-served models locally, with RAPIDS covering the data-processing side.

When to use it — and when not to

A self-hoster must operate the full NVIDIA stack the examples assume: GPU-accelerated infrastructure, NIM microservices, the NeMo Microservices components and the model weights behind them, none of which the repository installs for you. Teams without NVIDIA hardware, or teams deliberately keeping a vendor-neutral inference stack, should look elsewhere. The repository is also notebook-centric rather than package-centric, so there is no pip install entry point, and much of the prose documentation lives in linked blog posts and subdirectory READMEs rather than in one place; with 84 open issues, expect to read the code as the primary reference.

project readme (upstream, from github) — read inline

NVIDIA Generative AI Examples

This repository is a starting point for developers looking to integrate with the NVIDIA software ecosystem to speed up their generative AI systems. Whether you are building RAG pipelines, agentic workflows, or fine-tuning models, this repository will help you integrate NVIDIA, seamlessly and natively, with your development stack.

Table of Contents

What's New?

Data Flywheel

These tutorials demonstrate Data Flywheel workflows that use NVIDIA NeMo Microservices. They include components such as NVIDIA NeMo Datastore, NeMo Entity Store, NeMo Customizer, NeMo Evaluator, NeMo Guardrails microservices, and NVIDIA NIMs.

Safer Agentic AI

The following tutorials illustrate how to audit your large language models with NeMo Auditor to identify vulnerabilities to unsafe prompts, and how to run inference with multiple rails in parallel to reduce latency and improve throughput.

Knowledge Graph RAG

This example implements a GPU-accelerated pipeline for creating and querying knowledge graphs using RAG by leveraging NIM microservices and the RAPIDS ecosystem to process large-scale datasets efficiently.

Agentic Workflows with Llama 3.1

RAG with Local NIM Deployment and LangChain

  • Tips for Building a RAG Pipeline with NVIDIA AI LangChain AI Endpoints by Amit Bleiweiss. [Blog, Notebook]

For more information, refer to the Generative AI Example releases.

Vision NIM Workflows

A collection of Jupyter notebooks, sample code and reference applications built with Vision NIMs.

To pull the vision NIM workflows, clone this repository recursively:

git clone https://github.com/nvidia/GenerativeAIExamples --recurse-submodules

The workflows will then be located at GenerativeAIExamples/vision_workflows

Follow the links below to learn more:

Try it Now!

Experience NVIDIA RAG Pipelines with just a few steps!

  1. Get your NVIDIA API key.

    1. Go to the NVIDIA API Catalog.
    2. Select any model.
    3. Click Get API Key.
    4. Run:
      export NVIDIA_API_KEY=nvapi-...
      
  2. Clone the repository.

    git clone https://github.com/nvidia/GenerativeAIExamples.git
    
  3. Build and run the basic RAG pipeline.

    cd GenerativeAIExamples/RAG/examples/basic_rag/langchain/
    docker compose up -d --build
    
  4. Go to and submit queries to the sample RAG Playground.

  5. Stop containers when done.

    docker compose down
    

Data Flywheel

A Data Flywheel is a self-reinforcing cycle where user interactions generate data that improves AI models or products, leading to better outcomes that attract more users and further enhance data quality. This feedback loop relies on continuous data processing, model refinement, and guardrails to ensure accuracy and compliance while compounding value over time. Real-world applications range from personalized customer experiences to operational systems like inventory management, where improved predictions drive efficiency and growth.

Tool-Calling Notebooks

Tool calling empowers Large Language Models (LLMs) to integrate with external APIs, execute dynamic workflows, and retrieve real-time data beyond their training scope. The NVIDIA NeMo microservices platform offers a modular infrastructure for deploying AI pipelines that includes fine-tuning, evaluation, inference, and guardrail enforcement—across Kubernetes clusters in cloud or on-premises environments.

This end-to-end tutorial demonstrates how to leverage NeMo Microservices to customize Llama-3.2-1B-Instruct by using the xLAM function-calling dataset, assess its accuracy, and implement safety constraints to govern its behavior.

RAG

RAG Notebooks

NVIDIA has first-class support for popular generative AI developer frameworks like LangChain, LlamaIndex, and Haystack. These end-to-end notebooks show how to integrate NIM microservices using your preferred generative AI development framework.

Use these notebooks to learn about the LangChain and LlamaIndex connectors.

LangChain Notebooks
LlamaIndex Notebooks

RAG Examples

By default, these end-to-end examples use preview NIM endpoints on NVIDIA API Catalog. Alternatively, you can run any of the examples on premises.

Basic RAG Examples
Advanced RAG Examples

RAG Tools

Example tools and tutorials to enhance LLM development and productivity when using NVIDIA RAG pipelines.

RAG Projects

Documentation

Getting Started

How To's

Reference

Community

We're posting these examples on GitHub to support the NVIDIA LLM community and facilitate feedback. We invite contributions! Open a GitHub issue or pull request! See contributing Check out the community examples and notebooks.

Frequently asked questions

Is GenerativeAIExamples free to use?

GenerativeAIExamples is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does GenerativeAIExamples do?

Generative AI reference workflows optimized for accelerated infrastructure and microservice architecture.

What is GenerativeAIExamples written in?

GenerativeAIExamples is primarily written in Jupyter Notebook. Its source is publicly available at https://github.com/NVIDIA/GenerativeAIExamples, and it has 4,220 GitHub stars.