mirror of
https://github.com/block/goose.git
synced 2026-05-01 21:10:54 +00:00
Add ML-based prompt injection detection (#5623)
This commit is contained in:
parent
01da90c9b3
commit
9dc548ee2f
10 changed files with 806 additions and 394 deletions
|
|
@ -47,6 +47,8 @@ The following settings can be configured at the root level of your config.yaml f
|
|||
| `otel_exporter_otlp_timeout` | Export timeout in milliseconds for [observability](/docs/guides/environment-variables#opentelemetry-protocol-otlp) | Integer (ms) | 10000 | No |
|
||||
| `SECURITY_PROMPT_ENABLED` | Enable [prompt injection detection](/docs/guides/security/prompt-injection-detection) to identify potentially harmful commands | true/false | false | No |
|
||||
| `SECURITY_PROMPT_THRESHOLD` | Sensitivity threshold for [prompt injection detection](/docs/guides/security/prompt-injection-detection) (higher = stricter) | Float between 0.01 and 1.0 | 0.7 | No |
|
||||
<!-- | `SECURITY_PROMPT_CLASSIFIER_ENABLED` | Enable ML-based prompt injection detection for advanced threat identification | true/false | false | No | -->
|
||||
<!-- | `SECURITY_PROMPT_CLASSIFIER_MODEL` | Specify the BERT ML model to use for prompt injection detection | String | "ProtectAI DeBERTa" | No | -->
|
||||
|
||||
## Experimental Features
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue