init: llm-wiki-web con FastAPI + Ollama
This commit is contained in:
commit
08291b578c
19 files changed
+1030
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user