Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

Fix command syntax for setting Ollama model

ExecuteAutomation5c21fa004631
diff --git a/docs/docs/red-teaming-introduction.mdx b/docs/docs/red-teaming-introduction.mdx
index 3b808e8a..c1d97806 100644
--- a/docs/docs/red-teaming-introduction.mdx
+++ b/docs/docs/red-teaming-introduction.mdx
@@ -284,16 +284,16 @@ ollama run deepseek-r1:1.5b
:::
-To use **Ollama** models for your red teaming, run `deepeval set-ollama <model>` in your CLI. For example:
+To use **Ollama** models for your red teaming, run `deepeval set-ollama --model <model>` in your CLI. For example:
```bash
-deepeval set-ollama deepseek-r1:1.5b
+deepeval set-ollama --model deepseek-r1:1.5b
```
Optionally, you can specify the **base URL** of your local Ollama model instance if you've defined a custom port. The default base URL is set to `http://localhost:11434`.
```bash
-deepeval set-ollama deepseek-r1:1.5b \
+deepeval set-ollama --model deepseek-r1:1.5b \
--base-url="http://localhost:11434"
```