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
@@ -98,7 +98,7 @@ The `nemoguardrails` package also defines the following extra dependencies:
98
98
99
99
To keep the footprint of `nemoguardrails` as small as possible, these are not installed by default. To install any of the extra dependency you can use **pip** as well. For example, to install the `dev` extra dependencies, run the following command:
100
100
101
-
```bash
101
+
```sh
102
102
> pip install nemoguardrails[dev]
103
103
```
104
104
@@ -107,7 +107,7 @@ To keep the footprint of `nemoguardrails` as small as possible, these are not in
107
107
```{warning}
108
108
If pip fails to resolve dependencies when running `pip install nemoguardrails[all]`, you should specify additional constraints directly in the `pip install` command.
@@ -117,9 +117,9 @@ To use OpenAI, just use the `openai` extra dependency that ensures that all requ
117
117
Make sure the `OPENAI_API_KEY` environment variable is set,
118
118
as shown in the following example, where *YOUR_KEY* is your OpenAI key.
119
119
120
-
```bash
121
-
>pip install nemoguardrails[openai]
122
-
>export OPENAI_API_KEY=YOUR_KEY
120
+
```zsh
121
+
pip install nemoguardrails[openai]
122
+
export OPENAI_API_KEY=YOUR_KEY
123
123
```
124
124
125
125
Some NeMo Guardrails LLMs and features have specific installation requirements, including a more complex set of steps. For example, [AlignScore](../user_guides/advanced/align_score_deployment.md) fact-checking, using [Llama-2](../../examples/configs/llm/hf_pipeline_llama2/README.md) requires two additional packages.
0 commit comments