Skip to content

Conversation

Pouyanpi
Copy link
Collaborator

@Pouyanpi Pouyanpi commented Sep 2, 2025

Description

Add example configuration and documentation for using NVIDIA NeMoGuard NIMs, including content moderation, topic control, and jailbreak detection.

nemoguardrails chat --config="./examples/configs/nemoguards"

or

from nemoguardrails import LLMRails, RailsConfig
config = RailsConfig.from_path("./examples/configs/nemoguards")
rails = LLMRails(config=config)

rails.generate(messages=[{"role": "user", "content":"what can you do?"}])

Add example configuration and documentation for using NVIDIA NeMoGuard NIMs,
including content moderation, topic control, and jailbreak
detection.
Copy link
Contributor

github-actions bot commented Sep 2, 2025

Documentation preview

https://nvidia.github.io/NeMo-Guardrails/review/pr-1365

@Pouyanpi Pouyanpi added this to the v0.17.0 milestone Sep 2, 2025
@Pouyanpi Pouyanpi added the documentation Improvements or additions to documentation label Sep 2, 2025
@Pouyanpi Pouyanpi self-assigned this Sep 2, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.62%. Comparing base (960e0b8) to head (8591870).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1365   +/-   ##
========================================
  Coverage    71.62%   71.62%           
========================================
  Files          171      171           
  Lines        17020    17020           
========================================
  Hits         12191    12191           
  Misses        4829     4829           
Flag Coverage Δ
python 71.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Pouyanpi Pouyanpi merged commit 7f70ee7 into develop Sep 15, 2025
19 checks passed
@Pouyanpi Pouyanpi deleted the docs/nemoguards-v1 branch September 15, 2025 09:48
tgasser-nv pushed a commit that referenced this pull request Sep 22, 2025
…1.0 (#1365)

Add example configuration and documentation for using NVIDIA NeMoGuard NIMs,
including content moderation, topic control, and jailbreak
detection.
tgasser-nv pushed a commit that referenced this pull request Sep 22, 2025
…1.0 (#1365)

Add example configuration and documentation for using NVIDIA NeMoGuard NIMs,
including content moderation, topic control, and jailbreak
detection.
Pouyanpi added a commit that referenced this pull request Oct 1, 2025
…1.0 (#1365)

Add example configuration and documentation for using NVIDIA NeMoGuard NIMs,
including content moderation, topic control, and jailbreak
detection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants