# Ask.discourse.com - Can't find an announcement here

**URL:** https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497
**Category:** Support
**Created:** [September 14, 2024, 12:52pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497 "2024-09-14T12:52:20Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [September 14, 2024, 12:52pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/1 "2024-09-14T12:52:20Z")

</div>

On another Discourse site checked the `What's New` and saw

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/6/c/e6c6bc0e4f4ac353caddc3130304ec20f6130a7d.png)

So having been familiar with the many AI bots from Discourse checked to see if it was something different and new and it was.

Was there a single topic in the Announcement category for this? I do not recall seeing one.

---

<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: [September 14, 2024, 2:02pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/2 "2024-09-14T14:02:40Z")

</div>

I think it is kind of beta still.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 3:37pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/3 "2024-09-14T15:37:56Z")

</div>

It was announced in #lounge for a quiet opening [https://meta.discourse.org/t/help-us-test-ask-discourse-com/324441?u=pfaffman](https://meta.discourse.org/t/help-us-test-ask-discourse-com/324441)

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [September 14, 2024, 4:50pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/4 "2024-09-14T16:50:57Z")

</div>

We announced it to customers via “what’s new” but not yet to all sites. It’s still early days and slightly more tuned for hosted customers at the current time, though of course there is a lot of overlap for most questions.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [September 14, 2024, 8:55pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/5 "2024-09-14T20:55:50Z")

</div>

> [@pfaffman](#):
>
> It was announced in #lounge::category

I don’t have lounge access on this forum but get what you mean.

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [September 14, 2024, 10:30pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/6 "2024-09-14T22:30:36Z")

</div>

This is an interesting development. I was planning to open a #Contribute > Feature topic about giving a persona public/guest access so any visitor can use it. Is this something Discourse would explore, or perhaps related to this silently released test instance?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 11:03pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/7 "2024-09-14T23:03:58Z")

</div>

Each persona has an allowed groups setting, so you can allow anyone to use any persona now.

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [September 14, 2024, 11:07pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/8 "2024-09-14T23:07:53Z")

</div>

Sorry should’ve been clearer, I meant anyone as in guests/anons - it would serve use cases like #doc-categories, where I don’t expect all readers to register but still want to allow them to chat with the docs.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 11:10pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/9 "2024-09-14T23:10:44Z")

</div>

It seems very dangerous to let people who haven’t even logged in, and might not even be people, spend your money.

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [September 14, 2024, 11:26pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/10 "2024-09-14T23:26:58Z")

</div>

Ofcourse it needs some IP/cookie based limits. Or even a global safety hard-limit.

I don’t see why spending to improve support experience would be an issue. If you’re hosting docs with Gitbook you’d pay $1200 per year at minimum, that package includes allowing your visitors to chat with your docs. If you’re asking me there is a great opportunity here for CDCK 😋

Secondly, there are several [reports](https://ebi.ai/blog/12-reliable-stats-on-chatbots-in-customer-service/) out there about chatbots saving (customer support) costs.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 14, 2024, 11:46pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/11 "2024-09-14T23:46:45Z")

</div>

That’s all true. My point is that you don’t know that they are your customer if they are not logged in.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [October 22, 2024, 1:32pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/12 "2024-10-22T13:32:01Z")

</div>

Is Discourse Ask using any of the already available AI Personas or did you guys create your own specifically for that?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 23, 2024, 3:08am UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/13 "2024-10-23T03:08:50Z")

</div>

Ask uses a custom persona, it leans on 2 custom tools which make API calls to [meta.discourse.org](http://meta.discourse.org).

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [February 1, 2025, 11:57am UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/14 "2025-02-01T11:57:15Z")

</div>

Any plans to release it to the public?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 9, 2025, 9:52pm UTC](https://meta.discourse.org/t/ask-discourse-com-cant-find-an-announcement-here/326497/15 "2025-02-09T21:52:19Z")

</div>

There is nothing “top secret” here 🙂

There is this theme which is very similar:

> [@AI Bot - New Question Modal](https://meta.discourse.org/t/ai-bot-new-question-modal/331785):
>
> information_sourceSummary AI Bot - New Question Modalhammer_and_wrenchRepository [GitHub - VaperinaDEV/aibot-new-question-modal · GitHub](https://github.com/VaperinaDEV/aibot-new-question-modal)questionInstall Guide [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Hello wave[Discourse AI](https://meta.discourse.org/t/discourse-ai/259214) - AI Bot is required to use this. This theme component is actually a modal version of [ask.discourse.com](http://ask.discourse.com) homepage functions. So yo…

And, the tool we use has the following script:

```plaintext
let terms;
let API_KEY = "...";

const categories = {
  61: "theme",
  6: "support",
  148: "data & reporting",
  164: "Documentation > Hosted Customers",
  177: "Community wiki",
  31: "installation",
  10: "Documentation",
  22: "plugin",
  1: "bug",
  106: "migration",
  120: "theme-component",
  105: "community support program",
  124: "General",
  157: "site feedback > forum summaries",
  152: "site feedback > theme feedback",
  168: "Documentation > Contributing",
  30: "releases",
  126: "Documentation > Using Discourse",
  2: "feature",
  63: "praise > comparison",
  9: "ux",
  27: "dev > translations",
  24: "sso",
  3: "site feedback",
  17: "Uncategorized",
  14: "marketplace",
  21: "support > wordpress",
  13: "announcements > blog",
  53: "Documentation > Site Management",
  5: "plugin > extras",
  65: "community",
  8: "installation > hosting",
  35: "praise",
  67: "announcements",
  178: "Community wiki > Administrators",
  167: "Documentation > Integrations",
  55: "Documentation > Self-Hosting",
  169: "Documentation > Migrating to Discourse",
  56: "Documentation > Developer Guides",
  7: "dev",
  179: "Community wiki > Developers",
  181: "Community wiki > Users",
  180: "Community wiki > Sysadmins"
};

function search(terms) {
   const encoded = encodeURIComponent(terms);
   const searchUrl = "https://meta.discourse.org/discourse-ai/embeddings/semantic-search.json?hyde=false&q=";
   result = http.get(`${searchUrl}${encoded}`, {'Api-Key': API_KEY });
   return processResults(JSON.parse(result.body)); 
}

function invoke(p) {
  if (!p.question) {
      terms = "No search performed!"
      return "You must supply the question parameter";
  }
  terms = p.question;
  let results = search(terms + " #documentation");
  let otherResults = search(terms);
  
  let topicIds = {};
  results.forEach(topic => { topicIds[topic.topic_id] = topic });
  otherResults.forEach(topic => {
      if (topicIds[topic.topic_id]) {
          return;
      }
      if (results.length > 15) {
          return;
      }
      
      results.push(topic);
  });
  
  if (results.length === 0) {
      return "No results found!"
  } else {
      return results;
  }
}

function processResults(json) {
    
    if (!json.topics) {
        return [];
    }
    
    const postData = {};
    json.posts.forEach( p => {
       postData[p.topic_id] = p;
    });
    
    // todo meta category map
    return json.topics.map(t => {
        let result = {};
        let post = postData[t.id];
        result.url = `/t/${t.slug}/${t.id}`;
        result.title = t.title;
        result.blurb = post.blurb;
        result.tags = t.tags;
        result.topic_id = t.id;
        result.category = categories[t.category_id];
        return result;
    });
}

function details() {
  return "Searching for: " + terms
}

```

The read tool uses:

```plaintext
let topicId;
let url = "https://meta.discourse.org";
const API_KEY = "...";
let title = "Unknown topic";

function invoke(p) {
    topicId = p.topicId;
    let jsonUrl = `https://meta.discourse.org/t/${p.topic_id}.json?include_raw=true`;
    result = http.get(jsonUrl, { 'Api-Key' : API_KEY });

    try {
       const parsed = JSON.parse(result.body);
       url = `https://meta.discourse.org/t/${parsed.slug}/${parsed.id}`;
       title = parsed.title;
       let raw = parsed.post_stream.posts.map( post => {
          let solution = "";
          if (post.is_solution) {
              solution = "(solution)";
          }
          return `post #${post.post_number}:${solution}\n${post.raw}`;    
       }).join("\n\n");
       return llm.truncate(raw, 10000);
    } catch {
        return "Something went wrong, topic not found!"
    }
}
function details() {
  return `Read: <a href='${url}'>${title}</a>`;
}

```
