Skip to content

Commit 18f7f07

Browse files
authored
docs: add configuration specifications for guardrail tools (#274)
1 parent 0ab88e2 commit 18f7f07

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/content/5.tools/5.guardrail-tools.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ VeADK 基于 Agent 的插件机制,提供了内容安全护栏工具 `content_
1616
在这些回调中,`content_safety` 基于[火山大模型应用防火墙](https://www.volcengine.com/product/LLM-FW)服务,对 Agent 生命周期的各个阶段进行内容检测与合规审查,确保生成与交互内容安全可靠。
1717

1818
::note
19-
使用 `content_safety` 前,请先购买实例并添加资产,并获取其 AppID。
19+
使用 `content_safety` 前,请先购买实例和添加资产,并获取其 AppID。通过设置环境变量 `TOOL_LLM_SHIELD_APP_ID` 或者在 config.yaml 中添加配置即可开始使用:
20+
```yaml
21+
tool:
22+
llm_shield:
23+
app_id: <your_app_id>
24+
```
2025
::
2126
2227
## 使用

0 commit comments

Comments
 (0)