From 3ed85330dbb0034abeb61a659a73a6445b3d593c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 5 Feb 2025 13:21:45 +0100 Subject: [PATCH] Use pgvector for openwebui RAG --- hosts/gunter/ollama.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/gunter/ollama.nix b/hosts/gunter/ollama.nix index bd9385e..778d8f9 100644 --- a/hosts/gunter/ollama.nix +++ b/hosts/gunter/ollama.nix @@ -7,6 +7,8 @@ services.open-webui = { enable = true; environment = { + VECTOR_DB = "pgvector"; + PGVECTOR_DB_URL = "postgresql://openwebui:openwebui@pgdb1.home.2rjus.net:5432/openwebui"; DO_NOT_TRACK = "True"; SCARF_NO_ANALYTICS = "True"; OLLAMA_API_BASE_URL = "http://127.0.0.1:11434";