KLXM Studio – Home
Get in touch

Agencies & network · Advanced · 0:59 min

Setting up AI (Ollama, whisper.cpp, privacy)

Capabilities per website, the installation’s provider, testing the connection, privacy.

No sound, with subtitles German and English captionsText of what is spoken in a video, shown in sync. On the web usually a WebVTT file; captions help deaf people and anyone watching without sound.developer.mozilla.org (opens in a new tab) – switch them on and off with “CC” in the player. The video is hosted on this server and only loads when you press play. The steps below are the full text of the video.

Goal

The AI features run – preferably on your own server – and every website only uses what is enabled.

Prerequisites

  • Feature “ai” in the feature set.
  • An AI provider: OllamaFree software for running AI language models on your own computers or servers – without texts being sent to external cloud providers.ollama.com (opens in a new tab) (own server), whisper.cpp for captions or an external service with a data processing agreementIf a service provider processes personal data on your behalf (e.g. hosting), you need a contract with it under Art. 28 GDPR – the data processing agreement (DPA).eur-lex.europa.eu (opens in a new tab).

Step by step

Transcript: every step matches one subtitle in the video.

  1. System › Grundeinstellungen › KI: the overview per purpose – texts, visitor chat, search, alt textShort description of an image in the page’s code. Screen readers read it aloud, search engines evaluate it; purely decorative images get an empty alt text.w3.org (opens in a new tab), captions – with connection and model.
  2. “Bleibt auf dem Server” (stays on the server): with local models (e.g. Ollama, whisper.cpp) content never leaves your premises. External services are marked.
  3. “Verbindungen” (connections) and “Verwendung” (usage): providers for the whole installation – one connection and model per purpose, optionally with a fallback.
  4. “Diese Website” (this website): switch AI and single capabilities on or off. A daily limit, notes on audience and style and a glossary steer the assistant.
  5. “Datenschutz” (privacy) shows where data goes – and the text for the privacy policy.
  6. Configuration and commands (ai:test, search:index) are in the technical documentation › KLXM AI.

Commands & configuration

// config/config.local.php (Installation) oder config/sites/{website}.php
'ai' => [
    'provider' => 'ollama',
    'base_url' => 'http://127.0.0.1:11434',
    'models'   => ['text' => 'gemma3', 'embed' => 'bge-m3', 'vision' => 'gemma3'],
    'transcribe' => ['backend' => 'whisper_cpp', 'model_path' => '…/ggml-large-v3-turbo-q5_0.bin'],
],

php bin/console ai:test --cap=text
php bin/console search:index --all

Tips & pitfalls

Tip

The permissions “use AI features” and “review submitted changes” are granted per role.

Watch out

Name external providers (OpenAI, Mistral …) in the privacy policy and sign a data processing agreement.

Watch out

APIApplication programming interface: programs use it to exchange data without the user interface – for example to take over entries from another system.en.wikipedia.org (opens in a new tab) keys belong in the configuration only – never in kitIn KLXM Studio, the package of design and building blocks for a website: layout, colours, fonts and the matching blocks. A kit can be adapted or switched – the content stays. or the repository.