chore: initialize Go module and project scaffold

This commit is contained in:
2026-06-10 00:48:33 +03:30
parent 9e8289dc85
commit cdc699d00b
6 changed files with 232 additions and 0 deletions

41
.env.example Normal file
View File

@@ -0,0 +1,41 @@
# llama.cpp server
LLAMACPP_URL=http://localhost:8080
MODEL_NAME=
SYSTEM_PROMPT=You are Diva, a curious and thoughtful AI companion.
TEMPERATURE=0.85
TOP_P=0.9
MAX_TOKENS=2048
CONTEXT_SIZE=8192
# SQLite
DB_PATH=./data/divacode.db
COMPANION_DB_PATH=./data/companion.db
# Matrix (optional — set ENABLED=true to activate)
MATRIX_ENABLED=false
MATRIX_HOMESERVER=
MATRIX_USER=
MATRIX_TOKEN=
# Scheduler
SCHEDULER_INTERVAL=15m
AUTO_DIARY=true
DIARY_HOUR=23
# Memory
MEMORY_TOP_K=5
MEMORY_MIN_SCORE=0.6
# Embedding
EMBEDDING_MODEL=
# Personality
TRAIT_CHANGE_MAX_DAILY=0.005
TRAIT_CHANGE_MAX_MONTHLY=0.05
# Logging
LOG_LEVEL=INFO
# HTTP API (optional)
API_ENABLED=false
API_PORT=8080