Skip to content

Commit 2c99ff7

Browse files
authored
docs: fix jailbreak detection build instructions (#1248)
1 parent 56bf4f6 commit 2c99ff7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user-guides/advanced/using-docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ NOTE: the provided Dockerfile downloads only the `base` AlignScore image. If you
4848
If you want to use the jailbreak detection heuristics server, you can also build a Docker image using the provided [Dockerfile](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/nemoguardrails/library/jailbreak_detection/Dockerfile).
4949

5050
```bash
51-
cd nemoguardrails/jailbreak_detection
51+
cd nemoguardrails/library/jailbreak_detection
5252
docker build -t jailbreak_detection_heuristics .
5353
```
5454

@@ -62,9 +62,9 @@ docker run -p 8000:8000 -e OPENAI_API_KEY=$OPENAI_API_KEY nemoguardrails
6262

6363
This will start the NeMo Guardrails server with the example configurations. The Chat UI will be accessible at `http://localhost:8000`.
6464

65-
NOTE: Since the example configurations use the OpenAI `test-davinci-003` models, you need to provide an `OPENAI_API_KEY`.
65+
NOTE: Since the example configurations use OpenAI models (such as `gpt-3.5-turbo-instruct` and `gpt-4`), you need to provide an `OPENAI_API_KEY`.
6666

67-
To specify your own config folder for the server, you can have to mount your local configuration into the `/config` path into the container:
67+
To specify your own config folder for the server, you have to mount your local configuration into the `/config` path into the container:
6868

6969
```bash
7070
docker run \

0 commit comments

Comments
 (0)