22 lines
449 B
Python
22 lines
449 B
Python
"""
|
|
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" |