# Discourse AI Topic Summary 🤖

**URL:** https://meta.discourse.org/t/discourse-ai-topic-summary/256711
**Category:** Plugin
**Tags:** ai
**Created:** [March 1, 2023, 7:23pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711 "2023-03-01T19:23:17Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 11, 2023, 9:31pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/62 "2023-11-11T21:31:34Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/d/4/d/d4d54a5fc093b74edb0efd268a7c17702acec954.png)

---

<div class="post-metadata">

### Author: ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)
#### Post date: [November 11, 2023, 9:46pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/63 "2023-11-11T21:46:55Z")

</div>

I’m trying to change the language in which the summary is written. I have a Spanish website but the summaries are in English.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 11, 2023, 9:57pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/64 "2023-11-11T21:57:16Z")

</div>

Then change the prompts accordingly … encourage the bot to write in Spanish.

---

<div class="post-metadata">

### Author: ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)
#### Post date: [November 11, 2023, 10:03pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/65 "2023-11-11T22:03:25Z")

</div>

Should I do some sort of rake task to update already summarized topics or is it done automatically?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 11, 2023, 10:06pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/66 "2023-11-11T22:06:33Z")

</div>

A rake task would be great, please PR.

Otherwise you can simply wait for the natural refresh of the summaries as further Posts are added … you can reduce the threshold for the refresh in settings.

---

<div class="post-metadata">

### Author: ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)
#### Post date: [November 11, 2023, 10:10pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/67 "2023-11-11T22:10:22Z")

</div>

Fantastic.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 11, 2023, 10:16pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/68 "2023-11-11T22:16:04Z")

</div>

If you reduce this to zero, it will produce a new summary on every new post:

`ai_topic_summary_enabled_post_interval_rerun`

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 26, 2024, 3:34pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/69 "2024-01-26T15:34:23Z")

</div>

Just FYI.

Both davinches with completion gave error 500. But GPT gives good enough summarisation, so that is enough for me.

I didn’t check logs. I know: bad bad boy (I’m not a boy, I’m old timer) but I’m hungry and have to start cook Dal Bhat 🥰

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 26, 2024, 4:57pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/71 "2024-01-26T16:57:45Z")

</div>

Sorry for the confusion @Jagster, it’s a while since I’ve looked at this plugin.

> [@Jagster](#):
>
> Both davinches with completion gave error 500. But GPT gives good enough summarisation, so that is enough for me.

Thanks for the report.

I’ll take a look.

Hmmm … I wonder if it has anything to do with [Open AI’s recent model updates and deprecations](https://openai.com/blog/new-embedding-models-and-api-updates)?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 26, 2024, 6:31pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/72 "2024-01-26T18:31:50Z")

</div>

I had same thoughts, based on theirs forum.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [February 2, 2024, 12:26pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/73 "2024-02-02T12:26:45Z")

</div>

For some reason…

I’ve used this now a while. And:

- it works without any issues
- it is good in its main purpose: giving fast image of a topic to user to decide is it worth of reading. Summary is visible and the very first thing that an user sees and I really like that
- it does not trying to take away need to read topic (I like that, because AI just can’t build answer from my topics. If a forum is Q/A, then situation may be different, though

The look could be more appealing. But how… I really don’t know because I’m lacking such ability totally. I like it as it is, but few ladies says it looks strange (but those ladies call colors in names I don’t know at all).

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 2, 2024, 12:46pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/74 "2024-02-02T12:46:39Z")

</div>

Glad you are enjoying it 👍

PR welcome and/or detailed suggestions, even shared CSS.

It definitely benefited from being on the Layouts sidebar … ☹

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [February 2, 2024, 2:26pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/75 "2024-02-02T14:26:34Z")

</div>

In my case where about 90 % of visits comes from mobiles Layouts was just unnecessary.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 2, 2024, 2:34pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/76 "2024-02-02T14:34:50Z")

</div>

Actually Layouts on mobile provided a button to view the summary as a slide in.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [February 2, 2024, 2:37pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/77 "2024-02-02T14:37:33Z")

</div>

Damn. I didn’t know that. Well, now it is too late, unless something happends.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [March 6, 2024, 10:49am UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/78 "2024-03-06T10:49:41Z")

</div>

Just pushed a couple of updates recently.

- One update and fix to available model selection [update missing models · merefield/discourse-ai-topic-summary@e536c4a · GitHub](https://github.com/merefield/discourse-ai-topic-summary/commit/e536c4a16eaf74399232690955343b6e8e99f6c8)

- One adds support for potential Layouts replacement: [GitHub - merefield/discourse-tc-bars: A Theme Component that allows you to lay out Components ("widgets") on top and side bars · GitHub](https://github.com/merefield/discourse-tc-bars) so you can now put the summary in a sticky sidebar again on Topic routes without needing to use Layouts.

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/b/b/7bbc51771831fa98aaf107c480523e6fa9a355b3.png)

[https://github.com/merefield/discourse-ai-topic-summary/pull/12](https://github.com/merefield/discourse-ai-topic-summary/pull/12)

---

<div class="post-metadata">

### Author: ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)
#### Post date: [April 15, 2024, 6:33pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/79 "2024-04-15T18:33:53Z")

</div>

It repliea in English instead of Spanish, where can i alter the prompt?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [April 15, 2024, 6:56pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/80 "2024-04-15T18:56:58Z")

</div>

Try editing these:

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/b/0/eb0227dca733b39e4544cfd4f2c26e215d47e31d.png)

---

<div class="post-metadata">

### Author: ![ncaming215](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ncaming215/32/205701_2.png) [@ncaming215](https://meta.discourse.org/u/ncaming215)
#### Post date: [May 5, 2024, 2:25pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/81 "2024-05-05T14:25:42Z")

</div>

I have an all English forum. And for some reason, the summaries are all being generated in Spanish. I apologize if this was answered, but can’t seem to find the solution.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 5, 2024, 2:27pm UTC](https://meta.discourse.org/t/discourse-ai-topic-summary/256711/82 "2024-05-05T14:27:38Z")

</div>

That’s very odd. I cannot reproduce. Change the prompt and ask it to create the summaries in English explicitly and see what happens?

[Previous page](https://meta.discourse.org/t/discourse-ai-topic-summary/256711.md?page=3)

[Next page](https://meta.discourse.org/t/discourse-ai-topic-summary/256711.md?page=5)
