Compare commits

..

No commits in common. "dev" and "main" have entirely different histories.
dev ... main

4 changed files with 23712 additions and 11 deletions

View File

@ -1,9 +1,10 @@
# P2P Wiki AI Configuration # P2P Wiki AI Configuration
# Content repo path (host path to p2pfoundation-wiki checkout) # Content paths (for split repo setup)
# Default: ../p2pfoundation-wiki (sibling directory) # Set HOST_XMLDUMP_DIR to point to the content repo's xmldump directory
# On Netcup: /opt/content/p2pfoundation-wiki # HOST_XMLDUMP_DIR=/opt/content/p2pfoundation-wiki/xmldump
# CONTENT_REPO_PATH=../p2pfoundation-wiki # CONTENT_DIR can also be set inside the container to resolve articles_dir and xmldump_dir
# CONTENT_DIR=/app/content
# Ollama (Local LLM) # Ollama (Local LLM)
OLLAMA_BASE_URL=http://localhost:11434 OLLAMA_BASE_URL=http://localhost:11434

4
.gitignore vendored
View File

@ -17,11 +17,9 @@ xmldump-2014.tar.gz
articles/ articles/
articles.tar.gz articles.tar.gz
# Content lives in p2pfoundation-wiki repo (mounted via CONTENT_REPO_PATH) # Content moved to p2pfoundation-wiki repo
blog_static/ blog_static/
blog_sample/ blog_sample/
wikifr_static/
pagenames.txt
# Environment # Environment
.env .env

View File

@ -11,11 +11,9 @@ services:
volumes: volumes:
# Persist vector store and review queue # Persist vector store and review queue
- ./data:/app/data - ./data:/app/data
# Content from canonical p2pfoundation-wiki repo (wiki articles + xmldump) # XML dumps for parsing (set HOST_XMLDUMP_DIR to content repo path)
- ${CONTENT_REPO_PATH:-../p2pfoundation-wiki}:/app/content:ro - ${HOST_XMLDUMP_DIR:-./xmldump}:/app/xmldump:ro
environment: environment:
# Content directory (points to mounted p2pfoundation-wiki repo)
- CONTENT_DIR=/app/content
# Ollama connection (adjust host for your setup) # Ollama connection (adjust host for your setup)
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434} - OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
- OLLAMA_MODEL=${OLLAMA_MODEL:-llama3.2} - OLLAMA_MODEL=${OLLAMA_MODEL:-llama3.2}

23704
pagenames.txt Normal file

File diff suppressed because it is too large Load Diff