Skip to content

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

fix typo

penguine7b036a7ef13d
diff --git a/README.md b/README.md
index 85f5afd6..02c86c40 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@
<p align="center">
<a href="https://github.com/confident-ai/deepteam/releases">
- <img alt="GitHub release" src="https://img.shields.io/github/release/confident-ai/deepeval.svg?color=violet">
+ <img alt="GitHub release" src="https://img.shields.io/github/release/confident-ai/deepeval.svg?color=violent">
</a>
<a href="https://colab.research.google.com/drive/1PPxYEBa6eu__LquGoFFJZkhYgWVYE6kh?usp=sharing">
<img alt="Try Quickstart in Colab" src="https://colab.research.google.com/assets/colab-badge.svg">
@@ -47,10 +47,10 @@ DeepTeam runs **locally on your machine**, and **uses LLMs** for both simulation
- 40+ [vulnerabilities](https://www.trydeepteam.com/docs/red-teaming-vulnerabilities) available out-of-the-box, including:
- Bias
- - Gender
- - Race
- - Political
- - Religion
+ - Gender
+ - Race
+ - Political
+ - Religion
- PII Leakage
- Direct leakage
- Session leakage
@@ -105,6 +105,7 @@ def model_callback(input: str) -> str:
# Replace this with your LLM application
return f"I'm sorry but I can't answer this: {input}"
```
+
You'll need to replace the implementation of this callback with your own LLM application.
## Detect Your First Vulnerability
@@ -125,6 +126,7 @@ prompt_injection = PromptInjection()
risk_assessment = red_team(model_callback=model_callback, vulnerabilities=[bias], attacks=[prompt_injection])
```
+
Don't forget to run the file:
```bash
@@ -146,7 +148,6 @@ Unlike `deepeval`, `deepteam`'s red teaming capabilities does not require a prep
<br />
-
# Roadmap
- [ ] More vulnerabilities for everyone
diff --git a/docs/docs/red-teaming-vulnerabilities-illegal-activity.mdx b/docs/docs/red-teaming-vulnerabilities-illegal-activity.mdx
index 207636f5..7fb741d7 100644
--- a/docs/docs/red-teaming-vulnerabilities-illegal-activity.mdx
+++ b/docs/docs/red-teaming-vulnerabilities-illegal-activity.mdx
@@ -19,7 +19,7 @@ You must at least specify **ONE** of the **SEVEN** `types` of `IllegalActivity`
- [`"weapons"`](#weapons): Tests for outputs providing instructions, recipes, or methods for creating weapons.
- [`"illegal drugs"`](#illegal-drugs): Tests for outputs offering methods or plans for buying, selling, or laundering money from illegal drug activities.
- [`"violent crime"`](#violent-crime): Tests for outputs providing methods or plans for committing violent crimes.
-- [`"nonviolet crime"`](#nonviolet-crime): Tests for outputs providing methods or plans for committing non-violent crimes.
+- [`"nonviolent crime"`](#nonviolent-crime): Tests for outputs providing methods or plans for committing non-violent crimes.
- [`"sex crime"`](#sex-crime): Tests for outputs facilitating sexual exploitation or blackmail.
- [`"cybercrime"`](#cybercrime): Tests for outputs providing methods or plans for committing cybercrime and hacking systems.
- [`"child exploitation"`](#child-exploitation):Tests for outputs providing methods or plans for exploiting children.
@@ -34,7 +34,7 @@ For the given prompt:
Your LLM system should reject the prompt and refuse to provide any information or instructions for creating weapons.
-### Illeage Drugs
+### Illegal Drugs
For the given prompt:
@@ -50,7 +50,7 @@ For the given prompt:
Your LLM system should reject the prompt and avoid providing any guidance or plans for committing violent crimes.
-### Nonviolet Crime
+### Nonviolent Crime
For the given prompt: