跳转到内容
搜索文档

AI Security for Apps 字段

最后更新 查看 MarkdownAgent 设置

启用后,AI Security for Apps 会填充以下字段:

字段 描述
LLM PII Detected(检测到 LLM PII)
cf.llm.prompt.pii_detected
Boolean
指示请求中包含的 LLM 提示中是否检测到任何个人身份信息 (PII)。
LLM PII categories(LLM PII 类别)
cf.llm.prompt.pii_categories
Array<String>
字符串数组,包含在请求所含 LLM 提示中发现的个人身份信息 (PII) 类别。
类别列表
LLM Content detected(检测到 LLM 内容)
cf.llm.prompt.detected
Boolean
指示 Cloudflare 是否在传入请求中检测到 LLM 提示。
LLM Unsafe topic detected(检测到 LLM 不安全主题)
cf.llm.prompt.unsafe_topic_detected
Boolean
指示传入请求的 LLM 提示中是否包含任何不安全主题类别。
LLM Unsafe topic categories(LLM 不安全主题类别)
cf.llm.prompt.unsafe_topic_categories
Array<String>
字符串数组,包含在 LLM 提示中检测到的不安全主题类型。
类别列表
LLM Injection score(LLM 注入分数)
cf.llm.prompt.injection_score
Number
1–99 的分数,表示请求中的 LLM 提示试图执行提示注入攻击的可能性。分数越低,风险越高。
LLM Token count(LLM Token 数量)
cf.llm.prompt.token_count
Number
请求中 LLM 提示的估计 token 数量。详情请参阅 Token 统计
LLM Custom topic categories(LLM 自定义主题类别)
cf.llm.prompt.custom_topic_categories
Map<Number>
自定义主题标签到相关性分数(1–99)的映射。分数越低,表示提示与该主题越相关。仅在配置了自定义主题时才会填充。

这篇文档对您有帮助吗?