Discourse Chatbot šŸ¤–

Tested this too, didn’t trigger a double response.

The evaluation of a post only happens once and it will reply if mentioned or replied to, but shouldn’t duplicate.

It should never try to reply to itself either as the evaluation should ignore bot posts.

Let me know if you can work out any more detail on specific circumstances.

1 Like

I couldn’t find/see which AI Model is being used by this Ai-bot, that shows as a robot icon on my home page:

And perhaps can I change the AI (model) for this bot or not? What other options are possible?

Sometimes it did reply (that it CAN’T reply):

Other times it keeps trying to reply, but never does:

This is AI but not ā€œDiscourse AIā€

It’s Discourse Chatbot šŸ¤–. The clue is in the name :wink: (although you can change its name!) Please post issues in the Chatbot Topic. But in any case the model will be set in the Chatbot settings :).

Suffice to say activate Chatbot’s verbose logs in settings, diverting info to warn (so you can read them in prod) and check /logs

1 Like

Thanks for responding.

Yes I understand that AI can be of different vendors, not necessarily from Discourse.

By this I understood that ā€˜Chatbot’ has been developed/is handled by Discourse, but no any 3rd party AI Vendor. And so I found/paid attention to this admin setings page: …plugins/discourse-chatbot/settings (which I earlier missed).

But even now (after this new knowledge), it always tries to reply/keeps showing ā€˜Replying…’. (I’m not able to decipher ā€˜Logs’ or sidekiq msgs and find what’s the culprit).

If you can tell if the other bot (turned on from below named setting) is more exhaustive to use (and easy to configure)?

AI bot add to header >> Display a button in the header to start a PM with a AI Bot

No, Chatbot was the first AI Bot on Discourse and developed by me :slight_smile:

That is why the GitHub URL contains my username and why my avatar is on the Topic :slight_smile:

2 Likes

Right. My bad.

If you would pls, Why the dropdown to control which models can it (the AI Bot Plugin) use only offers 'Chat Gpt' models only, and how can it use them, even wo asking my chatgpt Api key (does it has access to my ChatGpt api key from the AI settings that I configured elsewhere)?

And last, would you opine that this ChatBot is better than the other offered under AI settings?

I’d now rather go to this Plugin page to clear my above given doubts!

1 Like

Today I’m releasing a small update to Chatbot but one that fixes a nasty bug and introduces RAG to reasoning models:

If you think Chatbot is awesome and I did a great job, you can buy me a coffee :coffee:, and if Chatbot is important to your business or organisation, please consider sponsoring me on one of the higher tiers:medal: . This will all help to guarantee timely updates to Chatbot and its future.

Release 1.4.7

  • FEATURE: Add additional reasoning models, notably o3-mini
  • FEATURE: Support RAG for reasoning models (currently, just o3-mini)
  • FIX: allow user to discuss images generated by the bot

NB

  • If you use o3-mini be sure to give it enough Chatbot max response tokens so it can consume those during reasoning …
  • discussing an image requires it to be uploaded. Depending on your config, it can take a minute or so for an image to be uploaded.
3 Likes

Hello, when I select the default openai mpdeli o3 mini, the plugin works properly and responds, but it does not respond to posts with photos. The vision setting is directly selected, there is only the gpt 4o setting, is that why I get an error?

Switch this to ā€œvia functionā€ as o3 does not have vision.

4o is a good choice for vision.

1 Like

I set it this way and did tests, it cannot see the content of the images and does not respond. Could it be because I use all trust levels o3-mini? When I switch to all trust levels 4o, it responds.

I tried it just now and works.

Note the call to vision function.

This is using o3-mini and 4o for vision call out

Unfortunately it still didn’t work. I’m using Azure, could that be the reason?

Yes, could be. The ā€œvia functionā€ may only work with OpenAI directly.

1 Like

Release 1.4.8

Brings experimental inline pdf enquiry.

If you enable the experimental setting chatbot_support_pdf it will now send the contents of any uploaded pdfs within the current conversation to OpenAI which will form part of the context of the conversation.

See: Direct PDF file input now supported in the API - Announcements - OpenAI Developer Community

TIP: with every upload in the public area ask Chatbot for a document summary, then it will embed the resulting answer and it will be easy to ask Chatbot later to find it.

NB: this may only work with direct calls to OpenAI. If you are using other base URLs to invoke other services there is no guarantee they will support it.

FYI only supports Posts for now.

2 Likes

Is it possible for a new forum to run this bot with a limited budget or no cost at the start? I think it seems interesting and I would like to try it out but I am afraid that the quota will be reached or it will cost me more than expected. I read through OpenAI:s pricing model but I thought it was a bit vague.

All the best
Olle

1 Like

Hey @Olle11 it’s not possible to run this plugin for ā€œfreeā€ unless you set up a local LLM on your infrastructure but that’s ironically an expensive option because you’ll need a very beefy server indeed.

However, you may get some free credits ($5?) when you set up your OpenAI account (link in settings)

You can set quotas for different levels of users or only make it available to admins if you prefer.

Using it with gpt-4o-mini should not break the bank and that model is powerful enough for some great interaction.

1 Like

Thank you @merefield for your reply I will look into it

1 Like

Hi merefield,

I wonder what the most common use cases for the Chatbot is? I read through the thread but I wonder if you have something to add to this area?

I will write it down which use case a growing forum can have for the Chatbot.

Best regards
Olle

1 Like

I use it for various tasks:

  • auto responding to new users of the forum
  • summarising linked articles or web pages
  • suggesting content on the forum a user might find interesting
  • private interactive search of the forum.
  • discussing an uploaded pdf
  • drawing pictures :slight_smile:
  • in combination with the Locations plugin allows you to discuss the proximity of users to each other and to specific locations.

There are other purposes listed in the OP but the above are common for my sites.

You can also build plugins for it and I have one specific to one of my sites which returns specific stats for the queried item.

2 Likes

Interesting thank you, would you mind sending the link of your site where you use it? If not here then maybe in a PM?

Best regards
Olle

2 Likes