mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 17:59:48 +00:00
# What does this PR do? <!-- Provide a short summary of what this PR does and why. Link to relevant issues if applicable. --> <!-- If resolving an issue, uncomment and update the line below --> <!-- Closes #[issue-number] --> - Updates provider and distro codegen to handle the new format - Migrates provider and distro files to the new format ## Test Plan - Manual testing <!-- Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.* -->
23 lines
528 B
Text
23 lines
528 B
Text
---
|
|
description: "Prompt Guard safety provider for detecting and filtering unsafe prompts and content."
|
|
sidebar_label: Prompt-Guard
|
|
title: inline::prompt-guard
|
|
---
|
|
|
|
# inline::prompt-guard
|
|
|
|
## Description
|
|
|
|
Prompt Guard safety provider for detecting and filtering unsafe prompts and content.
|
|
|
|
## Configuration
|
|
|
|
| Field | Type | Required | Default | Description |
|
|
|-------|------|----------|---------|-------------|
|
|
| `guard_type` | `<class 'str'>` | No | injection | |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
guard_type: injection
|
|
```
|