init: llm-wiki-web con FastAPI + Ollama

This commit is contained in:
truetype committed 2026-05-10 21:52:43 +02:00
commit 08291b578c
19 files changed
+1030

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
"""
Configurazione per llm-wiki-web
"""
import os
from pathlib import Path
# Path alla directory della wiki
WIKI_ROOT = Path("/home/codex/llmwiki")
# URL del server Ollama
OLLAMA_URL = "http://192.168.0.50:11434"
# Modello LLM da usare
OLLAMA_MODEL = "gemma2:9b"
# Porta per il server web
WEB_PORT = 8086
# Directory per i file statici e template
STATIC_DIR = Path(__file__).parent / "static"
TEMPLATE_DIR = Path(__file__).parent / "templates"