28 lines
742 B
Plaintext
28 lines
742 B
Plaintext
# P2P Wiki AI Configuration
|
|
|
|
# Content paths (for split repo setup)
|
|
# Set HOST_XMLDUMP_DIR to point to the content repo's xmldump directory
|
|
# HOST_XMLDUMP_DIR=/opt/content/p2pfoundation-wiki/xmldump
|
|
# CONTENT_DIR can also be set inside the container to resolve articles_dir and xmldump_dir
|
|
# CONTENT_DIR=/app/content
|
|
|
|
# Ollama (Local LLM)
|
|
OLLAMA_BASE_URL=http://localhost:11434
|
|
OLLAMA_MODEL=llama3.2
|
|
|
|
# Claude API (Optional - for higher quality article drafts)
|
|
ANTHROPIC_API_KEY=
|
|
CLAUDE_MODEL=claude-sonnet-4-20250514
|
|
|
|
# Hybrid Routing
|
|
USE_CLAUDE_FOR_DRAFTS=true
|
|
USE_OLLAMA_FOR_CHAT=true
|
|
|
|
# Server
|
|
HOST=0.0.0.0
|
|
PORT=8420
|
|
|
|
# Infisical (for production — fetches ANTHROPIC_API_KEY at startup)
|
|
# INFISICAL_CLIENT_ID=
|
|
# INFISICAL_CLIENT_SECRET=
|