GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NVIDIA/GenerativeAIExamples: Generative AI reference workflows optimized for accelerated infrastructure and microservice architecture.

BranchesTags
Open more actions menu

Latest commit

 

History

365 Commits
365 Commits

Folders and files

NameName
Last commit message
Last commit date
RAG
RAG
 
 
community
community
 
 
docs
docs
 
 
finetuning
finetuning
 
 
industries
industries
 
 
llama_3.3_nemotron_super_49B
llama_3.3_nemotron_super_49B
 
 
nemo
nemo
 
 
nemotron
nemotron
 
 
oss_tutorials
oss_tutorials
 
 
vision_workflows
vision_workflows
 
 
.DS_Store
.DS_Store
 
 
.dockerignore
.dockerignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE.DATA
LICENSE.DATA
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

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
    • Safer Agentic AI
    • Knowledge Graph RAG
    • Agentic Workflows with Llama 3.1
    • RAG with Local NIM Deployment and LangChain
    • Vision NIM Workflows
  • Try it Now!
  • Data Flywheel
    • Tool-Calling Notebooks
  • RAG
    • RAG Notebooks
    • RAG Examples
    • RAG Tools
    • RAG Projects
  • Documentation
    • Getting Started
    • How To's
    • Reference
  • Community

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.

  • Tool Calling Fine-tuning, Inference, Evaluation, and Guardrailing with NVIDIA NeMo Microservices and NIMs
  • Embedding Fine-tuning, Inference, and Evaluation with NVIDIA NeMo Microservices and 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.

  • Audit your LLMs
  • Inference with Parallel Rails

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.

  • Knowledge Graphs for RAG with NVIDIA AI Foundation Models and Endpoints

Agentic Workflows with Llama 3.1

  • Build an Agentic RAG Pipeline with Llama 3.1 and NVIDIA NeMo Retriever NIM microservices [Blog, Notebook]
  • NVIDIA Morpheus, NIM microservices, and RAG pipelines integrated to create LLM-based agent pipelines

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:

  • Learn how to use VLMs to automatically monitor a video stream for custom events.
  • Learn how to search images with natural language using NV-CLIP.
  • Learn how to combine VLMs, LLMs and CV models to build a robust text extraction pipeline.
  • Learn how to use embeddings with NVDINOv2 and a Milvus VectorDB to build a few shot classification model.

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 https://localhost:8090/ 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

  • RAG
    • Basic RAG with CHATNVIDIA LangChain Integration
    • RAG using local NIM microservices for LLMs and Retrieval
    • RAG for HTML Documents
    • Chat with NVIDIA Financial Reports
  • Agents
    • NIM Tool Calling 101
    • Agentic RAG with NeMo Retriever
    • Agents with Human in the Loop

LlamaIndex Notebooks

  • Basic RAG with LlamaIndex Integration

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

  • LangChain example
  • LlamaIndex example

Advanced RAG Examples

  • Multi-Turn
  • Multimodal Data
  • Structured Data (CSV)
  • Query Decomposition

RAG Tools

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

  • Evaluation
  • Observability

RAG Projects

  • NVIDIA Tokkio LLM-RAG: Use Tokkio to add avatar animation for RAG responses.
  • Hybrid RAG Project on AI Workbench: Run an NVIDIA AI Workbench example project for RAG.

Documentation

Getting Started

  • Prerequisites

How To's

  • Changing the Inference or Embedded Model
  • Customizing the Vector Database
  • Customizing the Chain Server:
    • Chunking Strategy
    • Prompting Template Engineering
  • Configuring LLM Parameters at Runtime
  • Supporting Multi-Turn Conversations
  • Speaking Queries and Listening to Responses with NVIDIA Riva

Reference

  • Support Matrix
  • Architecture
  • Using the Sample Chat Web Application
  • RAG Playground Web Application
  • Software Component Configuration

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.

About

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

Topics

gpu-accelerationlarge-language-modelsllmllm-inferencemicroservicenemoragretrieval-augmented-generationtensorrttriton-inference-server

Resources

Readme

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4.2k stars

Watchers

91 watching

Forks

1.1k forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.