Your help site can answer readers' questions with AI in two ways, each switched on separately:
Feature | What readers see |
|---|---|
AI answers in search | Typing a question into the search box shows an Ask AI line above the results. It gives a short answer, written from your published articles, with numbered links to them. |
AI chat | A button in the corner of every page (Ask AI Assistant unless you change it) opens a chat. Readers can ask follow-up questions; the assistant looks things up in your articles, knows which article the reader has open, and links the articles it used. |
Both answer only from your published articles, in the reader's language and territory (unless you choose to send the model only the reader's question, see Using a model that already knows your content), and both are off until an admin switches them on. They need the AI user licence and an AI model.
Step 1: set up the AI models
Open Connections › AI models (admins by default). There are two models:
The editor model is used for writing help in the editor (see Writing with AI in the editor). Until you link a customer-facing model, it also writes the AI answers in search.
The customer-facing model is optional and used for everything readers see: AI answers in search and the AI chat. It has its own Instructions, so you can set its tone and what it should and shouldn't do. The AI chat needs one.
Each model's panel has a Used for box that shows what it's doing with your current settings.
The editor model
Under Editor model, choose:
Anthropic (Claude): paste an API key from your Anthropic account. The default model is
claude-opus-5-5; you can type another Claude model name. Article text and questions are sent to Anthropic.An OpenAI-compatible API: either a model on your own network (Ollama, vLLM, LM Studio or the llama.cpp server), where nothing leaves your network, or another provider's OpenAI-compatible API, such as Google Gemini, which then receives the article text and questions. Enter its address (for example
http://ollama:11434/v1), the model's name and, if it needs one, a key.
Click Save, then Test connection.
The customer-facing model
Under Customer-facing model:
Tick Link a customer-facing model.
Choose its Connection:
The editor model's connection: the same provider and key. Type a Model name to use a different model (for example a faster, cheaper one for readers), or leave it blank to use the editor model's.
A connection of its own: another Anthropic key (for example, to see its costs separately) or another OpenAI-compatible API.
Write its Instructions (up to 4,000 characters), for example: "You're the assistant for Acme Cloud. Be friendly and brief. Call the product 'Acme Cloud', never 'the platform'." They're added after HAIMDALL's own rules: answer only from the help centre, link the articles used, and write in the reader's language.
Click Save, then Test connection.
Note
Keys are stored encrypted. They're never shown again and aren't included in data backups. Your server administrator can set one with the AI_API_KEY setting instead (see Configuration Reference).
Step 2: switch the features on
Open Customer site › AI search & chat (admins by default). Each feature has a section with an On or Off badge, what readers see, and the model it Uses (with a Change model › link to Connections › AI models).
AI answers in search: tick Show AI answers in the search box.
AI chat: tick Show the AI chat button on every page. This needs a linked customer-facing model. Button label changes the button's text and the chat's title; leave it blank to show Ask AI Assistant in each reader's language.
Under Settings for both:
What the model is given: Your help site's content (the default and recommended) sends the best-matching passages of your articles with each question, or Only the reader's question sends nothing from your articles. See Using a model that already knows your content below.
"Still need help?" link (optional): your support form or contact page. It's shown under search answers, and the chat offers it when it can't help.
Questions per hour from one address: 20 by default. Each search answer and each chat message counts as one. This stops one visitor from running up your bill.
Daily token budget: how many tokens (the units AI models are charged by) both features may use each day across the whole site. When the budget runs out, search shows plain results and the chat rests until midnight UTC. The panel shows how much has been used today.
Include the question's words in events: see What's kept below.
Click Save. Changes reach the help site within a few seconds.
AI answers in search
When a reader types a question in the search box, an Ask AI row appears above the results; they can click it or press Enter. The answer appears as it's written, with small numbered links to the articles it used, a list of sources, Was this answer helpful? buttons and your Still need help? link. It works the same way in the home page's big search box, the header's search box and the phone search panel.
HAIMDALL finds the most relevant sections of your articles for the question and gives up to eight of them to the model, which is told to use only those, cite them, and say so if they don't cover the question. If no article shares any words with the question, the reader is told the answer wasn't found without asking the model at all.
The AI chat
The chat button sits in the bottom corner of every help-site page (just above the cookie banner while that's showing). It opens a panel on the right; on a phone it fills the screen.
Readers type a question and press Enter (Shift+Enter starts a new line). They can ask follow-up questions in the same conversation.
While the assistant looks something up, the panel says Searching the help centre…. Replies link the articles they used, list them under Sources, and ask Was this answer helpful?.
Clicking a link opens the article with the chat still open, so readers can carry on.
New conversation starts again; Esc or × closes the panel.
The assistant knows which article the reader has open, so "How do I do what this page describes?" works.
How the assistant finds its answers depends on the customer-facing model:
Model | How it finds answers |
|---|---|
Anthropic (Claude) | It searches your help centre and reads whole articles itself, as many times as it needs, before answering. |
Through an OpenAI-compatible API | For each question, HAIMDALL gives it the best-matching passages, like AI answers in search. |
The conversation is kept only in the reader's browser tab: it's gone when they close the tab, and HAIMDALL doesn't store it.
You can change and translate the wording readers see in Customer site › Languages › Interface text: search answers use keys starting with answer. and the chat with assistant..
Where answers come from
Both features follow the same rules:
Published content only. Drafts never reach the AI.
The reader's language. Articles are read in the reader's language, and answers are written in it.
The reader's territory. Text and articles limited to other territories are removed before the model sees anything, exactly as in search.
The product version being read. Answers never mix versions.
Templates: their text is used only where an article embeds them.
Tip
The quickest way to get better answers is to use the words your readers use. If people ask about "cost" and your article only says "pricing", add cost as a search keyword (see Search Optimization & Keywords).
Using a model that already knows your content
Normally HAIMDALL sends the model the parts of your articles that answer the question. If your customer-facing model already has your content, because it was trained on it or reads it another way (for example, your own AI service with its own copy of the help centre), you can stop HAIMDALL sending it:
Open Customer site › AI search & chat.
Under Settings for both › What the model is given, choose Only the reader's question.
Click Save.
Then:
AI answers in search sends only the question. The model answers from what it knows, or says it doesn't know. Answers have no numbered sources, and a question that matches none of your articles still goes to the model.
The AI chat sends only the conversation, with no search or article reading. The model is told the title and address of the page the reader has open, and nothing else from your help site.
HAIMDALL's own rules still apply: write in the reader's language, don't guess, stay on the help centre's subject. Your Instructions for the customer-facing model are still added.
Warning
Choose this only for a model that really knows your content. A general model, such as the editor model, doesn't know your product and will mostly answer that it doesn't know. The panel warns you when search answers would use the editor model.
What's kept
HAIMDALL doesn't store questions, answers or conversations. If you've set them up, it sends events to your own systems:
to your log export (Exporting Logs and Events):
ai.questionfor each search question and each chat message (language, territory, version, whether it was answered, which articles were cited,feature: "assistant"for the chat,siteContent: falsewhen only the question was sent and, unless you untick Include the question's words in events, the question itself),ai.feedback(a search answer's Yes or No) andai.usage(the tokens each AI call used);to your analytics tool (Connecting your analytics):
help_ai_question,help_ai_chat_messageandhelp_ai_feedback.
Questions that weren't answered show where your help content has gaps. The only number HAIMDALL keeps is today's running token total for the daily budget, and it starts again from zero each day.
Good to know
AI answers can be wrong. They come only from your articles, but a model can still misread them. That's why every answer and reply links to its sources, and readers see a note saying it was written by AI.
Costs depend on your model and how much readers ask. The daily budget and the hourly limit put a ceiling on them, and System › Health shows today's usage. A chat conversation costs more than a search answer, because each reply includes the conversation so far and, with Claude, its look-ups.
Closing the help site (Customer site › Site on/off) closes both features too.
Turning them off: untick the feature on Customer site › AI search & chat, or set the editor model to None on Connections › AI models, which switches off every AI feature that uses it.