New bot accounts

We’ve recently made the AI bot module from our AI plugin available to all plans on our hosting. :partying_face: These three users are the friendly little chaps who would be dishing out the AI advice once you enabled it and added in the relevant api keys (Discourse AI - How to enable AI Bot in Discourse).

However, as Moin points out, we’re now thinking it would be better to defer creating them until the AI Bot module is actually enabled and configured by site admins. :+1: That’s still a work in progress change, but hopefully we’ll have that sorted soon. :crossed_fingers:

Sorry for the scare. :pray:

2 Likes

Ah ha, that explains that!

I tried talking to Claude but there was no response since I guess in staff mode they aren’t supported.

That is a good name, “Claude.”

You would need to set up the relevant api keys to make them interactive. :+1: You can find out more details on how to do that for each using the links in the ‘Prerequisites’ section of the guide I linked above - https://meta.discourse.org/t/discourse-ai-how-to-enable-ai-bot-in-discourse/266012#prerequisites-6

How can we remove the accounts, or at least remove their admin privileges? We don’t want any AI interfering with our community

It looks like they can be deleted just like human users.

All I see is a message saying " Admins and moderators can’t be deleted." and there is no button to remove their admin privileges.

Huh, for me they don’t show up as administrators.

I can’t even change their trust level. Any attempt to lower it is immediately reverted

Edit: seems I had locked the trust level before lowering it so it was reverting to what it was when locked. My mistake.

Still can’t de-admin them though

Here is a different way to think of them.

They are place holders for the AI bots, which until they are set up by an admin with an API key in the Discourse settings are essentially just names of accounts with no ability to do anything, not even respond to a message.

Here is a test message to see if the AI bot responds when not set up with an API key.

However, if the bots are activated then be very careful with who you allow to converse with the bots because if their use violates the policy of the AI company such as OpenAI the account for the API key will be disabled and most likely never be allowed to be reactivated.

As a Discourse admin on another site I too noticed the update and did check out the bots without the API key set. I currently consider them harmless when not activated and unless you have a savvy user, most users will never know about them at present or even how to make use of them.


On this Discourse site I do have access to the bots, so here is a demonstration of the same test.


When a message to a bot is created on this site the follow notification is posted at the bottom of the text input area.

image


Same test done on the OpenAI forum. (I am a category moderator there)


Here is the official Discourse post


For those without access to see the admin settings here are the default values taken from a current Discourse site

https://<Discourse site URL>/admin/site_settings/category/discourse_ai

image

image

Notice that no API key is set. Also never publish an API key, keep them safe at all times. If by accident you do publish one, sites such as OpenAI have a page to revoke a current API key and immediately reissue you a new one.

3 Likes

They don’t do anything without the relevant admin settings enabled, but we do appreciate that it would be better if they weren’t created unless you actually enabled the AI Bot module. There’s a change in the works to make it so, so they should be removed from your site in the near future as that change rolls out on our hosting. :+1:

4 Likes

Is that restricted by the trust tier system?

If not this could just be maintained by not posting their names, if that can be customized to different names.

Good question.

I may answer this latter but currently don’t have all of the details. I will note that I have been involved in some of the use of the bots for about a month or more now and will note that one should not consider anything as set it stone. Also if you have ideas, suggestions, recommendations etc. please make them but don’t expect a reply/implementation or anything else as this is a very very dynamic part of Discourse development.

If you have admin rights to a Discourse site then check out this URL to learn more, that is where I first went after seeing your question.

https://<Discourse site URL>/admin/site_settings/category/discourse_ai


EDIT

I posted screenshots of the current Discourse AI bot default settings into an earlier post so that everyone can see what they are but more importantly have a reference so they can follow along in conversations about the details of the settings.


To answer your question

image

2 Likes

Thanks, I am an administrator set up API key for this but don’t have anthropic/stability keys only one open A.I. key.

The default setting says the only allowed group is trust tier #4.

1 Like

FYI

I haven’t used the bot on this site in a few weeks but did want to point this out as it may not be obvious on first use.

The bot can have different personas which can be selected but the selection option is not so obvious.

image

If one clicks on Forum Helper it is really a drop down list.

image

Enjoy!


Also of note is that since the bot is currently accessible via a private message and other users can be invited to a private message, when two real people or more and the bot are in the same PM the bot responds to every post, even it the post was not directed toward them.

2 Likes

Is that limited to trust tier #4 for this support forum?

I’m not an administrator here just for my own site.

There is this notice posted with that:

AI chatbot messages are monitored regularly by moderators.

Still doesn’t seem to work as the default system bot stopped working when I set site to staff-only mode a lot is restricted with that but plan to re-launch next month.

Setup Open A.I. account linked with microsoft account, they give $5 free credit for that but if there is a lot of traffic then they bill for that.

Interesting they don’t want tax I.D. number for companies in the U.S. but they do for other countries. :face_with_monocle:

Obviously I can’t answer that based on the settings on this site as I don’t have access but will note there was a group setup for early test which is how I was included.

https://meta.discourse.org/g/ai-bot-testers?asc=true

If you look at my examples earlier you will see that there are two different wordings and AFAIK that is this setting

image

For the site I have admin access we will not be setting up the AI bots. For the sites I have access to running Discourse AI bots I do not have admin access. I also don’t plan to set up a dev site and add an AI API key to test this so if you stay active with what you are doing you can carry the baton in a week or so. :wink:

I can not help with that.

Alright good info thanks for your help.

1 Like

Reposted from an OpenAI topic in the Lounge category.


Just now was trying some new ideas to see how the Discourse AI bot would respond. This one is worth sharing.

Persona

Forum Helper

Prompt

Can you create template questions for recurring problems? If so can you demonstrate a few problems and the template of questions to ask?

Completion

Absolutely, creating template questions for recurring problems can be a very effective way to streamline the troubleshooting process. Here are a few examples:

Problem: API Call Failure

  1. Can you provide the exact error message you received?
  2. What API endpoint are you trying to call?
  3. Can you share the code snippet causing the issue (ensure to exclude any sensitive information like API keys)?
  4. What programming language and library are you using?
  5. Have you checked the API documentation for the endpoint you’re using?

Problem: Trouble with Fine-Tuning Models

  1. What model are you trying to fine-tune (GPT-4, Codex, etc.)?
  2. Can you describe the dataset you’re using for fine-tuning?
  3. What specific issues or errors are you encountering during the fine-tuning process?
  4. What steps have you already taken to try to resolve the issue?
  5. Can you share the code you’re using for fine-tuning (excluding any sensitive data)?

Problem: Rate Limit Errors

  1. What is the exact error message you’re getting?
  2. How many requests are you making per minute?
  3. Are you using the free tier or a paid plan?
  4. Have you recently increased the frequency of your API calls?
  5. What endpoint are you hitting when you receive this error?

These templates can be customized and expanded based on the specific recurring problems users face in the OpenAI Developer Forum.



Here is the same example done on the Discourse Meta forum.

Bot

GPT4

Persona

Forum Helper

Prompt

Can you create template questions for recurring problems? If so can you demonstrate a few problems and the template of questions to ask?

Completion

Sure, I can definitely help with that. Template questions can be an effective way to diagnose recurring problems. Here are a few examples:

Problem: User is unable to login

Template Questions:

  1. Can you confirm the username you are using to login?
  2. Are you receiving any specific error messages when you try to login?
  3. Have you tried resetting your password?
  4. Can you provide the steps you’ve taken so far in trying to login?
  5. Are you able to login on a different device or browser?

Problem: User is having trouble posting a new topic

Template Questions:

  1. Can you describe the issue you’re experiencing when trying to post a new topic?
  2. Are you receiving any error messages when you try to post?
  3. Can you provide the steps you’ve taken so far in trying to post a new topic?
  4. Have you tried posting a new topic in a different category?
  5. Are you able to post a new topic using a different device or browser?

Problem: User is unable to upload an image

Template Questions:

  1. What is the format of the image you’re trying to upload (e.g., .jpg, .png)?
  2. What is the size of the image file?
  3. Are you receiving any error messages when you try to upload the image?
  4. Can you provide the steps you’ve taken so far in trying to upload the image?
  5. Have you tried uploading a different image to see if the problem persists?

These are just examples, and the specific questions may vary depending on the nature of the problem and the platform being used. The goal is to gather as much relevant information as possible to help diagnose and resolve the issue.

I’m not sure if this has a lot to do with the original support question? It’s great you’re enthusiastic about the AI Bot, but not every topic that mentions it will be suitable for a full run down of its features. :pray:

Just to round this topic out, the change has now been merged and rolled out on our hosting. :partying_face: The AI Bot users will now only be created if the module is enabled. :+1: (and will have been deleted from sites that haven’t enabled it yet)

1 Like