.. _settings ai_summary: =============== ``ai_summary:`` =============== Default configuration of the :ref:`AI summary plugin `. Users configure the LLM server URL (any server implementing the OpenAI chat completions API: Ollama, vLLM, llama.cpp, LM Studio, Hugging Face TGI, ...) and the model in the *AI Summary* tab of their preferences; the values below only act as instance wide defaults. .. code:: yaml ai_summary: base_url: "http://127.0.0.1:11434" model: "llama3.2:3b" .. attention:: A user configurable server URL allows any user of the instance to make the SearXNG server send requests to a URL of their choice (`SSRF`_), and each summary is real LLM work. This plugin is intended for private instances -- on a public instance lock the related preferences (:ref:`settings preferences`): .. code:: yaml preferences: lock: - ai_summary_server - ai_summary_model - ai_summary_grounding .. _SSRF: https://owasp.org/www-community/attacks/Server_Side_Request_Forgery .. autoclass:: searx.ai_summary.SettingsAISummary :members: