# Discourse AI - 情绪分析

**URL:** <https://meta.discourse.org/t/discourse-ai-sentiment/259599>\
**Category:** Site Management\
**Tags:** how-to, ai, ai-sentiment, content\
**Created:** [2023年四月24日 19:40 UTC](https://meta.discourse.org/t/discourse-ai-sentiment/259599 "2023-04-24T19:40:01Z")\
**Posts on this page:** 1\
**Showing post:** 41

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [2025年三月25日 23:56 UTC](https://meta.discourse.org/t/discourse-ai-sentiment/259599/41 "2025-03-25T23:56:20Z")

</div>

@Falco 我刚注意到情感分析从2025年1月开始停止运行。我的猜测是有一个新的设置 `ai_sentiment_model`，正如上面链接所解释的，它用于运行你自己的专用情感模型/图像。我注意到在更新 discourse 后，现在 `ai_sentiment_model_configs` 都是空白的（它应该是空的吗？）。当我尝试运行 backfill rake 时，出现错误：

```plaintext
rake ai:sentiment:backfill
rake 中止！
ActiveRecord::StatementInvalid: PG::SyntaxError: 错误：在或附近的语法错误")" (ActiveRecord::StatementInvalid)
LINE 1: ...e_upload_id", "posts"."outbound_message_id" FROM () as posts..
```

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-sentiment/259599)._
