Skip to content

Commit c1f3da0

Browse files
miyoungcPouyanpi
authored andcommitted
docs: add extra slash to jailbreak detect nim_base_url(#1345)
1 parent 2f72992 commit c1f3da0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/user-guides/advanced/nemoguard-jailbreakdetect-deployment.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ docker run -it --gpus=all --runtime=nvidia \
2929
```
3030

3131
## Using the NIM in Guardrails
32+
3233
Within your guardrails configuration file, you can specify that you want to use the NIM endpoint as part of the jailbreak detection configuration.
3334
To do this, ensure that you specify the endpoint of the NIM in the `nim_base_url` parameter.
3435
If you need an API key, you can export it as an environment variable and specify the name of that environment variable in `api_key_env_var`.
@@ -47,7 +48,7 @@ models:
4748
rails:
4849
config:
4950
jailbreak_detection:
50-
nim_base_url: "http://localhost:8000/v1"
51+
nim_base_url: "http://localhost:8000/v1/"
5152
api_key_env_var: "JAILBREAK_KEY"
5253
nim_server_endpoint: "classify"
5354
input:

0 commit comments

Comments
 (0)