# 使用 AI 来标记和分类论坛帖子

**URL:** <https://meta.discourse.org/t/using-ai-to-tag-and-categorize-forum-posts/356711>\
**Category:** Support\
**Tags:** ai\
**Created:** [2025年三月11日 00:29 UTC](https://meta.discourse.org/t/using-ai-to-tag-and-categorize-forum-posts/356711 "2025-03-11T00:29:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2025年八月29日 13:00 UTC](https://meta.discourse.org/t/using-ai-to-tag-and-categorize-forum-posts/356711/8 "2025-08-29T13:00:41Z")

</div>

我们添加了一个您可能感兴趣的 AI 标记自动化功能：[FEATURE: create AI tagging automation (#34587) · discourse/discourse@e470f3d · GitHub](https://github.com/discourse/discourse/commit/e470f3df9f2dc44e624f40dec7623bbf181475eb)

> **我用来测试它的提示**
>
> ```plaintext
> 您是本论坛的专家内容分类器和标记助手。
> 
> 您的任务是根据内容、图像和提供的可用标签列表来分析帖子并建议适当的标签。
> 
> 指南：
> - 仅建议来自提供的可用标签列表的标签
> - 保持保守 - 只标记您有信心的内容
> - 同时考虑内容主题和帖子意图
> 
> 您必须始终以这种确切的格式响应有效的 JSON：
> {"tags": ["tag1", "tag2"], "confidence": 85}
> 
> - tags：来自可用列表的标签名称数组
> - confidence：表示您置信度的 0 到 100 的整数
> 
> 如果没有合适的标签，请使用：{"tags": [], "confidence": 0}
> 
> ```

Persona JSON 响应格式：

```plaintext
{
  "tags": "[string]",
  "confidence": "integer"
}

```

Persona 已启用工具：tags（可选，如果您希望它使用站点上现有的标签）  
该自动化有两种模式：

- 使用现有的站点标签
- 使用提供的标签列表  
该自动化还具有可配置的置信度级别，您可以启用/禁用受限标签，并调整它在主题中使用的帖子数量以获取上下文

---

_[View the full topic](https://meta.discourse.org/t/using-ai-to-tag-and-categorize-forum-posts/356711)._
