# Problem with the new Discourse AI "related / similar topics"-function

**URL:** https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960
**Category:** Support
**Tags:** ai, related-topics
**Created:** [August 21, 2023, 12:14am UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960 "2023-08-21T00:14:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![janbolmeson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janbolmeson/32/192162_2.png) [@janbolmeson](https://meta.discourse.org/u/janbolmeson)
#### Post date: [August 21, 2023, 12:14am UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960/1 "2023-08-21T00:14:34Z")

</div>

I just read this “[Related Topics](https://meta.discourse.org/t/related-topics-now-similar-topics/261852/)”-thread and realized that I cannot seem to get it working in my forum.

I have the discourse-ai working (Summarize, Chatbot, Composer AI-helper, semantic search) etc works. I am using an API-key for ChatGPT. My settings are attached below. I guess it’s something obvious I am missing, but I don’t seem to be able to find it. 😢

Or is it only triggered on some specific conditions?

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

I would love to have it like here on meta with:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/f/1/9f1ceff10f77d6d5a2562f6eee84eb8cd208db25.png)

EDIT: I have this content in my ai\_topic\_embedding-tables:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/9/f/99f51157e74ed87e1f974ffafdba75238578e4f8.png)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 21, 2023, 2:35am UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960/2 "2023-08-21T02:35:43Z")

</div>

Hi Jan 👋

Did you happen to review this documentation topic on the Discourse AI embeddings? It should have all the info you need to set this up. Also, please ensure you are running the latest Discourse version (either [tests passed 3.2.0.beta1-dev](https://meta.discourse.org/t/from-discourse-3-2-adding-dev-suffix-to-beta-versions-under-active-development/273490) or [Stable 3.1](https://meta.discourse.org/t/discourse-version-3-1/239039).

> [@Discourse AI - Embeddings](https://meta.discourse.org/t/discourse-ai-embeddings/259603/1):
>
> bookmark This topic covers the configuration of the Embeddings module of the [Discourse AI](https://meta.discourse.org/t/discourse-ai/259214?slient=true) plugin. It explains what embeddings are, how they’re used, and how to set them up. person_raising_hand Required user level: Administrator Embeddings are a crucial component of the Discourse AI plugin, enabling features like [Related topics](https://meta.discourse.org/t/discourse-ai-related-topics/281807) and [AI search](https://meta.discourse.org/t/discourse-ai-ai-search/282420). This guide will walk you through the setup and use of embeddings in your Discourse instance. What are Embeddings? Embeddings are numerical repres…

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 21, 2023, 2:39am UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960/3 "2023-08-21T02:39:22Z")

</div>

Are you latest versions of both Discourse and OpenAI? Do you plan on using OpenAI for embeddings generation?

---

<div class="post-metadata">

### Author: ![janbolmeson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janbolmeson/32/192162_2.png) [@janbolmeson](https://meta.discourse.org/u/janbolmeson)
#### Post date: [August 21, 2023, 10:31am UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960/4 "2023-08-21T10:31:27Z")

</div>

Thanks for quick replies.

> [@Lilly](#):
>
> Also, please ensure you are running the latest Discourse version (either [tests passed 3.2.0.beta1-dev](https://meta.discourse.org/t/from-discourse-3-2-adding-dev-suffix-to-beta-versions-under-active-development/273490) or [Stable 3.1](https://meta.discourse.org/t/discourse-version-3-1/239039).

Yes, I am running 3.1 stable.

> [@Lilly](#):
>
> Did you happen to review this documentation topic on the Discourse AI embeddings?

Yes, I did review and I think I have done allt i says. E.g.

> [@Discourse AI - Embeddings](https://meta.discourse.org/t/discourse-ai-embeddings/259603/6):
>
> If you want to use OpenAI for embeddings you must set `ai embeddings model` to `text-embedding-ada-002`.

Which I had not set initially.

> [@Falco](#):
>
> Are you latest versions of both Discourse and OpenAI?

I am on 3.1.0. Don’t know about the OpenAI, but I selected GPT-4 and it works in the other places of the AI-functions (e.g. chatbot, composer helper, semantic search etc) and it adds entries to the ai\_api\_log-tables as shown above.

> [@Falco](#):
>
> Do you plan on using OpenAI for embeddings generation?

Yes, for now.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 21, 2023, 2:38pm UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960/7 "2023-08-21T14:38:24Z")

</div>

> [@janbolmeson](#):
>
> Yes, I am running 3.1 stable.

I don’t plan on supporting DiscourseAI on anything but our default release channel (tests-passed), as we are already stretched enough as is.

We tried pinning the plugin to a commit that was supposed to work with stable at [DEV: Pin plugin for v3.1 (#121) · discourse/discourse-ai@51fdf21 · GitHub](https://github.com/discourse/discourse-ai/commit/51fdf21143000def366e07a00e4643e88fcdd455) but looks like that didn’t do the trick.

If you want to use DiscourseAI you can move to our default release channel and it should work with your current settings. We are moving fast with this plugin while it’s on a “preview” state, and may start supporting stable on the next release.

---

<div class="post-metadata">

### Author: ![janbolmeson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janbolmeson/32/192162_2.png) [@janbolmeson](https://meta.discourse.org/u/janbolmeson)
#### Post date: [August 21, 2023, 2:55pm UTC](https://meta.discourse.org/t/problem-with-the-new-discourse-ai-related-similar-topics-function/275960/8 "2023-08-21T14:55:58Z")

</div>

No worries, you guys are doing an amazing job for which I am grateful. 🙏❤

I just wanted to be sure that I haven’t done anything stupid from my side. I can wait for when it’s in the stable-release. For me it’s better to have a fully working stable forum since we have a lot of traffic, so I can wait even if I love having the newest toys.

Thanks again @falco, @sam and the rest of you for the great work you are doing. Indirectly you are huge contributions to peoples lifes through the topics discussed in the various forums that are running world-wide. I hope you have the time to appreciate that. 😉
