# Configuring Discourse AI for Summarization

**URL:** https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276
**Category:** Support
**Tags:** ai, ai-summarize
**Created:** [July 19, 2024, 4:55pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276 "2024-07-19T16:55:29Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![PeakProsperity](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)
#### Post date: [July 19, 2024, 4:55pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/1 "2024-07-19T16:55:29Z")

</div>

I’m struggling to get Discourse AI configured and working, so we can use summarization. I’ve installed it on my server and have input my OpenAI organization ID and API keys.

Is it not working because something needs to go here?

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

I assume this would be my own server since everything’s running on the same machine? If so, how do I pull an API key?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 19, 2024, 6:50pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/2 "2024-07-19T18:50:08Z")

</div>

Have you checked the `summarization strategy` setting? (I believe you’re on `stable` so still have that setting rather than the newer replacements).

---

<div class="post-metadata">

### Author: ![PeakProsperity](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)
#### Post date: [July 19, 2024, 7:02pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/3 "2024-07-19T19:02:28Z")

</div>

Interesting. I didn’t even notice that setting whatsoever because it’s grouped in “Other” settings and not in the “Plugin” settings. I set it to `gpt-4` but I’m still not getting Summarize with AI buttons.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 19, 2024, 8:06pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/4 "2024-07-19T20:06:53Z")

</div>

> [@PeakProsperity](#):
>
> I didn’t even notice that setting whatsoever because it’s grouped in “Other” settings and not in the “Plugin” settings.

It is a one of the more obscure places to tuck it away. 🙂 The replacement ones are back in the plugin setup area so you should see those next time you bump up a version (as soon as a couple of weeks or so 🤞)

The guide still has the older instructions in, if you’d like to give that a once-over to see if it all sounds familiar - [Discourse AI - Summarize](https://meta.discourse.org/t/discourse-ai-summarization/262711)

There was a ‘50 post minimum’ at one point, but I can’t remember how far back that was changed? It could still be part of `stable`. Do you have a topic with 50+ posts in you could check?

---

<div class="post-metadata">

### Author: ![PeakProsperity](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)
#### Post date: [July 23, 2024, 6:57pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/5 "2024-07-23T18:57:58Z")

</div>

I went through the guide and have all the required fields populated. I’ve got the OpenAI keys as well as the following settings in Other:

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

I have plenty of topic threads that have over 50 posts. I’ve tried one that has 57 and another that has 276. In both cases, the “Summarize with AI” button does not appear at the bottom of the thread.

I’ve refreshed the site after updating all the settings. Is there something else that could be stopping this from working? The user I’m testing with is an Admin and thus in the Staff group.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 23, 2024, 6:59pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/6 "2024-07-23T18:59:20Z")

</div>

> [@PeakProsperity](#):
>
> the “Summarize with AI” button does not appear at the bottom of the thread.

It should be at the top of the topic, in the topic map of the OP.

---

<div class="post-metadata">

### Author: ![PeakProsperity](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)
#### Post date: [July 23, 2024, 7:00pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/7 "2024-07-23T19:00:40Z")

</div>

🤦‍♂️

Okay, I see it now! Thanks.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 22, 2024, 7:01pm UTC](https://meta.discourse.org/t/configuring-discourse-ai-for-summarization/317276/8 "2024-08-22T19:01:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
