I’m trying to setup the AI spam detector for my own Discourse instance, but have several questions:
The system prompt of spam detector persona can’t be edited. I can create a new persona but there is no field to make Discourse know that it is going to be used as a spam detector?
I want to use Qwen3 as the LLM for the task. There is no preset for Qwen3 so I’m going to create a custom one. But there isn’t a Qwen3Tokenizer either. What does the tokenizer do here? Does QwenTokenizer work for Qwen3?
Or, is there an easier option that I can setup a webhook-like service and Discourse calls it on new topics / posts?
Grazie, ma so cos’è un tokenizzatore. Quello che non so è per cosa lo usa Discourse e cosa succederebbe se scegliessi il tokenizzatore sbagliato? Non ho bisogno di un tokenizzatore per chiamare un LLM comunque.
Puoi provare a visitare questo https://\u003cyour-site\u003e/admin/plugins/discourse-ai/ai-spam - dovrebbe consentirti di inserire istruzioni personalizzate e testare rispetto a un post.
Se ho capito bene, questa istruzione viene concatenata al prompt di sistema invece di sostituirlo, rendendo il prompt ancora più lungo e con lingue miste…
Ma superare il test non significa che non ci sia alcun problema. (Per tua informazione, non ho ancora configurato completamente l’LLM; ho provato il servizio Gemini gratuito ma ho ricevuto un 429, quindi sto cercando di capire come integrare llama.cpp in Discourse ora.)
Grazie, quindi quell’etichetta “rilevatore di spam” influisce solo sul filtraggio dell’elenco delle persone?
Configurerò un ambiente di test e ci proverò.