Black Branch/Docs
All sections

Admin Panel: AI

This page is for an owner who wants to turn on the AI features. After it, you will know what each place in the AI group holds and what every AI setting defaults to. The group holds everything that calls an AI provider: the connections and their keys, the chat bot, automod, the help desk and memory.

Every feature here is off on a new install and costs nothing until you connect a provider and switch it on. How each feature works, what it costs and what is sent to your provider is on The chat bot and AI features.

Every AI setting applies at once: the chat service and the ingest service read them each time they make a call. If the chat service does not answer, a line at the top of each AI place says so: restart it on the server, then reload the page.

Models

Card What it holds
Mode AI mode: Simple (one model for everything, the default) or Advanced (pick a model per task). Under it, Default model: the connection and model every chat task uses unless it has its own. In Simple mode the card lists the tasks the default model runs
Connections Where model calls go. Anthropic and OpenAI are built in. Add connection adds any OpenAI-compatible address (a model server on your own network, or a service such as OpenRouter) with an id, a label and an optional key. A key belongs to its connection and is only ever sent to that address. In Simple mode each connection says whether its key is set; in Advanced mode it shows the key per service and a Detect models button that lists the models the connection offers
Built-in connection keys Anthropic API key and OpenAI API key, each with Check
Other tasks AI tasks that belong to no other place

The mode changes what every task shows, here and on the other AI places. Each task has its own on/off switch, a Test button, and a line with today's calls, errors and tokens. In Simple mode it says what it runs on (the default model). In Advanced mode it also has its own connection, model and max tokens, and shows what it runs on in each service. A model you set for a task in Advanced mode is kept when you go back to Simple, and used again when you return.

Chat Bot

Card What it holds
Chat bot Name (the bot's and help desk's display name; unset = "Bot"), the Answer mentions switch (off by default) with where the bot can speak, and the Behavior file: Persona, Never discuss (one topic per line), Facts (each tagged schedule, rules, links, jokes or other), and Reply length, Swearing and Emoji. Facts go into the prompt in your order, whole, while they fit; one that does not fit is left out and named. Save behavior or Revert to default
Accounts Bot account: the bot's Matrix ID; its messages, avatar and staff badge come from it
Advanced (folded) Bot usernames: platform usernames whose chat is logged as a bot and never scored
Tasks and Prompts The chat bot's task with its switch, and the prompts it uses

Scoring

On a new install this place says No scoring task runs on this install. It fills in only on an install that adds scoring tasks of its own through a plugin (see Settings and modules).

Automod

The Automod card has Check chat messages (the switch) and Do not check paying supporters. Its Advanced fold holds five numbers: Time budget (ms), Confidence floor (0-1), Drop an unreviewed hold after (s), Mark after (messages) and …within (hours). Below it come automod's prompt, the Categories card (what the check may call risky, comma-separated) and automod's task. The defaults are in the table at the end of this page; what they mean is on The chat bot and AI features.

Help Desk

The Help desk answers with the AI switch, the help desk's Picture, its task, its prompt and the Help desk reference text it answers from. Off means a person answers help requests; they arrive in Admin Panel → Site → Support tickets. The picture is the bot account's own avatar; with none, the site's icon shows. To change it, sign in to the community as the bot account and set its avatar.

Embeddings

The embeddings task and the Memory card. Memory turns chat messages into vectors so the bot can recall them; it needs an OpenAI-compatible connection, because Anthropic has no embeddings service. The card turns memory on after a successful probe of the model, shows its state (on, paused or switching), and sets Keep memories for (30 days, 90 days, 1 year or forever; 90 days by default). Once memory is on, its Advanced fold has Change embedder… and the word floor (how many words a message needs to be remembered). Changing the embedding model means Start fresh, which clears what was remembered. See The chat bot and AI features.

The settings behind this group

Setting Default Applies
AI mode Simple At once
Default model none At once
Custom AI connections none At once
Anthropic API key, OpenAI API key not set At once
Bot name "Bot" At once
Chat bot (Answer mentions) Off At once
Bot account, Bot usernames not set At once
Help desk Off At once
Automod Off At once
Automod categories harassment, hate, sexual, threat, self-harm, spam, scam At once
Automod confidence floor 0.7 At once
Automod time budget 1,200 ms At once
Suspicious mark after / window 3 messages / 24 hours At once
Automod skips supporters Off At once
Unreviewed hold expiry 120 s At once
Memory Off At once
Memory retention 90 days At once
Memory word floor 4 words (emotes removed) At once

Next: Admin Panel: Utility

← Customizing