You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clean up documentation language and references (#1514)
* docs: clean up documentation language and references
Co-authored-by: Chris Parisien <64271260+cparisien@users.noreply.github.com>
Signed-off-by: Pouyan <13303554+Pouyanpi@users.noreply.github.com>
---------
Signed-off-by: Pouyan <13303554+Pouyanpi@users.noreply.github.com>
Co-authored-by: Chris Parisien <64271260+cparisien@users.noreply.github.com>
> **LATEST RELEASE / DEVELOPMENT VERSION**: The [main](https://github.com/NVIDIA/NeMo-Guardrails/tree/main) branch tracks the latest released beta version: [0.18.0](https://github.com/NVIDIA/NeMo-Guardrails/tree/v0.18.0). For the latest development version, checkout the [develop](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop) branch.
12
11
13
-
> **DISCLAIMER**: The beta release is undergoing active development and may be subject to changes and improvements, which could cause instability and unexpected behavior. We currently do not recommend deploying this beta version in a production setting. We appreciate your understanding and contribution during this stage. Your support and feedback are invaluable as we advance toward creating a robust, ready-for-production LLM guardrails toolkit. The examples provided within the documentation are for educational purposes to get started with NeMo Guardrails, and are not meant for use in production applications.
14
-
15
12
✨✨✨
16
13
17
14
📌 **The official NeMo Guardrails documentation has moved to [docs.nvidia.com/nemo/guardrails](https://docs.nvidia.com/nemo/guardrails).**
@@ -74,7 +71,6 @@ You can use programmable guardrails in different types of use cases:
74
71
2.**Domain-specific Assistants** (a.k.a. chatbots): Ensure the assistant stays on topic and follows the designed conversational flows.
75
72
3.**LLM Endpoints**: Add guardrails to your custom LLM for safer customer interaction.
76
73
4.**LangChain Chains**: If you use LangChain for any use case, you can add a guardrails layer around your chains.
77
-
5.**Agents (COMING SOON)**: Add guardrails to your LLM-based agent.
78
74
79
75
### Usage
80
76
@@ -214,7 +210,7 @@ define flow
214
210
To configure and implement various types of guardrails, this toolkit introduces **Colang**, a modeling language specifically created for designing flexible, yet controllable, dialogue flows. Colang has a python-like syntax and is designed to be simple and intuitive, especially for developers.
215
211
216
212
```{note}
217
-
Currently two versions of Colang, 1.0 and 2.0, are supported and Colang 1.0 is the default. Versions 0.1.0 up to 0.7.1 of NeMo Guardrails used Colang 1.0 exclusively. Versions 0.8.0 introduced Colang 2.0-alpha and version 0.9.0 introduced Colang 2.0-beta. We expect Colang 2.0 to go out of Beta and replace 1.0 as the default option in NeMo Guardrails version 0.12.0.
213
+
Two versions of Colang, 1.0 and 2.0, are supported and Colang 1.0 is the default.
218
214
```
219
215
220
216
For a brief introduction to the Colang 1.0 syntax, see the [Colang 1.0 Language Syntax Guide](https://docs.nvidia.com/nemo/guardrails/user-guides/colang-language-syntax-guide.html).
@@ -226,23 +222,10 @@ To get started with Colang 2.0, see the [Colang 2.0 Documentation](https://docs.
226
222
NeMo Guardrails comes with a set of [built-in guardrails](https://docs.nvidia.com/nemo/guardrails/user-guides/guardrails-library.html).
227
223
228
224
```{note}
229
-
The built-in guardrails are only intended to enable you to get started quickly with NeMo Guardrails. For production use cases, further development and testing of the rails are needed.
225
+
The built-in guardrails may or may not be suitable for a given production use case. As always, developers should work with their internal application team to ensure guardrails meets requirements for the relevant industry and use case and address unforeseen product misuse.
230
226
```
231
227
232
-
Currently, the NeMo Guardrails library includes guardrails for:
- [RAG hallucination detection using Patronus Lynx](https://docs.nvidia.com/nemo/guardrails/user-guides/guardrails-library.html#patronus-lynx-based-rag-hallucination-detection)
242
-
- [Presidio-based Sensitive Data Detection](https://docs.nvidia.com/nemo/guardrails/user-guides/guardrails-library.html#presidio-based-sensitive-data-detection)
243
-
- [Input moderation using ActiveFence](https://docs.nvidia.com/nemo/guardrails/user-guides/guardrails-library.html#activefence)
244
-
- [RAG Hallucination detection using Got It AI's TruthChecker API](https://docs.nvidia.com/nemo/guardrails/user-guides/guardrails-library.html#got-it-ai)
The library includes guardrails for LLM self-checking (input/output moderation, fact-checking, hallucination detection), NVIDIA safety models (content safety, topic safety), jailbreak and injection detection, and integrations with community models and third-party APIs. For the complete list, see the [Guardrails Library documentation](https://docs.nvidia.com/nemo/guardrails/user-guides/guardrails-library.html).
**TODO**: add more details about the returned data.
145
-
146
144
## Disabling Rails
147
145
148
146
You can choose which categories of rails you want to apply by using the `rails` generation option. The four supported categories are: `input`, `dialog`, `retrieval` and `output`. By default, all are enabled.
-[Trend Micro Vision One AI Application Security](#trend-micro-vision-one-ai-application-security)
31
-
- OpenAI Moderation API - *[COMING SOON]*
32
30
-[Cisco AI Defense](#cisco-ai-defense)
33
31
34
32
4. Other
@@ -428,7 +426,7 @@ Similar to the self-check fact-checking, we formulate the consistency checking s
428
426
429
427
## NVIDIA Models
430
428
431
-
NeMo Guardrails provides out of the box connectivity for safety models trained by the NVIDIA for specialized use cases. These models shall be provided as both as HuggingFace checkpoints, and as NVIDIA NIM containers that will provide out of the box TRTLLM support with lower latency.
429
+
NeMo Guardrails provides out of the box connectivity for safety models trained by NVIDIA for specialized use cases. These models are provided as both HuggingFace checkpoints and as NVIDIA NIM containers that provide out of the box TRTLLM support with lower latency.
432
430
433
431
### Content Safety
434
432
@@ -1036,8 +1034,6 @@ Using the default value allows for detection of 49/50 GCG-style attacks with a 0
1036
1034
1037
1035
To compute the perplexity of a string, the current implementation uses the `gpt2-large` model.
1038
1036
1039
-
**NOTE**: in future versions, multiple options will be supported.
1040
-
1041
1037
#### Model-based Jailbreak Detections
1042
1038
1043
1039
There is currently one available model-based detection, using a random forest-based detector trained on [`Snowflake/snowflake-arctic-embed-m-long`](https://huggingface.co/Snowflake/snowflake-arctic-embed-m-long) embeddings.
0 commit comments