discourse-ai/spec/lib/modules
Sam e15984029d
FEATURE: allow tools to amend personas (#1250)
Add API methods to AI tools for reading and updating personas, enabling
more flexible AI workflows. This allows custom tools to:

- Fetch persona information through discourse.getPersona()
- Update personas with modified settings via discourse.updatePersona()
- Also update using persona.update()

These APIs enable new use cases like "trainable" moderation bots, where
users with appropriate permissions can set and refine moderation rules
through direct chat interactions, without needing admin panel access.

Also adds a special API scope which allows people to lean on API
for similar actions

Additionally adds a rather powerful hidden feature can allow custom tools
to inject content into the context unconditionally it can be used for memory and similar features
2025-04-09 15:48:25 +10:00
..
ai_bot FEATURE: allow tools to amend personas (#1250) 2025-04-09 15:48:25 +10:00
ai_helper DEV: Use existing topic embeddings when suggesting tags/categories on edit (#1189) 2025-03-12 18:52:07 -07:00
ai_moderation FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
automation FEATURE: allow to send LLM reports to groups (#1246) 2025-04-07 15:31:30 +10:00
embeddings DEV: Robust check for embeddings enabled (#1116) 2025-02-06 12:18:55 -03:00
sentiment DEV: add `guardian` argument to `TopicsFilter` callback (#1206) 2025-03-24 10:33:18 +01:00
summarization DEV: Don't use delays for streaming summaries. (#1244) 2025-04-02 13:38:15 -03:00