cf.llm.prompt.custom_topic_categories
cf.llm.prompt.custom_topic_categoriesMap<Number>请求中 LLM 提示词的自定义主题标签到相关性评分(1–99)的映射。
评分越低,表示提示词与该主题越相关。仅在配置了自定义主题时填充。
需要 Cloudflare Enterprise 计划。您还必须启用 AI Security for Apps。
用法示例:
# Matches requests where the prompt is highly relevant to the "competitors" custom topic:
(cf.llm.prompt.custom_topic_categories["competitors"] lt 30)类别:
- Request