The forum is now AI-powered đŸ€–

Hello everyone!

I installed this afternoon the new official plugin Discourse AI, which allows integrating LLMs into the forum.

These AI agents are available in several places:

Help with posting

When you write a post on the forum, you now have the option to ask an AI to help you write that post.

The most convenient is the « Proofread the text Â» option, which will correct all spelling mistakes before publishing :star_struck:

Feel free to abuse this feature haha

AI Bot

You may have noticed, there’s a new icon in the top bar:

If you click it, you arrive at an interface that lets you chat with an intelligent assistant that draws all its knowledge from the forum’s data!

For example, if I ask it a question about Shelly modules, the assistant perfectly finds the information on the forum:

Summarize a thread

Long threads can now be summarized in one click:

Handy for quickly reading a long thread!

Don’t have access to these features?

To prevent abuse (because these features cost money to use), these features are available starting at trust level 1 on the forum :slight_smile:

If you don’t have access to the features, tell me under this post and I’ll add the required trust level :wink:

I’d love to hear your feedback on these features!

I’ve enabled another feature: the ability to use AI in search.

The results are more relevant, and a bot explains in natural language what it found :slight_smile:

For new users, it’s going to be super convenient. It’s cool.

That’s great! Unfortunately I ran into a crash during my test:

I have the same issue, I think we should wait, it’s probably a problem with the OpenAI API :grimacing:

Edit: It seems like an outage at Cloudflare is the cause, and I’m using their « AI Gateway Â» to call the OpenAI API

Edit 2: It looks like a major widespread issue affecting quite a few cloud providers, I see Google Cloud down on Twitter..

It should be back now for anyone who wants to test :slight_smile: The outage lasted 2 hours yesterday!

DAMN
 it works VERY well !!
Le vrai problĂšme au fond, c’est que le forum va ĂȘtre vachement moins actif en questions :stuck_out_tongue:

Great job, very useful !

I actually think the opposite — it will even more easily guide users to the right topics and thus, potentially, make discussion easier!

AI doesn’t invent content; users still have to ask the questions the first time :smiley:

That will also avoid duplicate questions :slight_smile:

AI, it’s not quite there yet with images:

I must be in a bad mood with AIs, it’s driving me crazy.
J’essaie de trouver une mĂ©thode pour connaĂźtre TOUS les appareils d’une piĂšce avec l’IA, notamment pour trouver quels sont mes appareils ayant une tempĂ©rature (pour valider la moyenne car j’ai un truc bizarre avec plusieurs sondes dans une mĂȘme piĂšce).

Thank you, I’ll finally be able to write.

@mutmut The AI only searches the forum; if the content doesn’t exist on the forum, it can’t invent it :slight_smile:

Regarding the API, everything in Gladys is API, so if you see something in the interface it’s necessarily available via the API :grin:

The API documentation is available here :

thanks @pierre-gilles for the info.
I managed to retrieve my access_token and query my Gladys thanks to the API.
After that it’s beyond my skills to retrieve all the devices of a room via the API, I only know how to see either the info for all Gladys devices (v1/device), or the rooms (v1/room), or a room (v1/room/salon) but not a devices-by-room combination.
If you have any tips to give me 


EDIT :

So since I can’t see all the devices of a single room in the interface, does that mean it simply doesn’t exist in the API?

Hi @mutmut,

Maybe try Insomnia (to download), there is then a JSON config file to import created by @pierre-gilles:

I use it frequently.

thanks @Terdious
I’ve managed to find some things (with difficulty, not being proficient in dev and this logic) and my path is /api/v1/room/salon?expand=devices
I think I now understand why I have a low average room temperature, I’ll create a separate thread.