36 lines
1.5 KiB
Text
36 lines
1.5 KiB
Text
# Copy to .env and fill in your values. .env is gitignored.
|
|
|
|
# Path to your PDF library on the host machine
|
|
PAGEPIPER_BOOKS_DIR=/path/to/your/pdfs
|
|
|
|
# Data directory (SQLite + vector DB stored here)
|
|
PAGEPIPER_DATA_DIR=data
|
|
|
|
# LLM backend — either option (or both) unlocks semantic search and RAG chat.
|
|
#
|
|
# Option A: direct Ollama URL
|
|
# PAGEPIPER_OLLAMA_URL=http://localhost:11434
|
|
#
|
|
# Option B: cf-orch coordinator (resolves service URL via GPU allocation).
|
|
# Set CF_ORCH_URL alone — no PAGEPIPER_OLLAMA_URL needed.
|
|
# PAGEPIPER_OLLAMA_URL is used as a fallback if cf-orch is unreachable.
|
|
# CF_ORCH_URL=http://localhost:7700
|
|
# CF_APP_NAME=pagepiper
|
|
# PAGEPIPER_ORCH_SERVICE=ollama # or cf-text for managed transformer inference
|
|
#
|
|
PAGEPIPER_CHAT_MODEL=mistral:7b
|
|
PAGEPIPER_EMBED_MODEL=nomic-embed-text
|
|
|
|
# Self-hosted GPU rig URL — set this instead of PAGEPIPER_OLLAMA_URL if you're
|
|
# running a cf-orch coordinator (e.g. a home GPU rack). The coordinator resolves
|
|
# the actual service URL at allocation time. (CF_ORCH_URL is still honoured as
|
|
# a legacy alias if you already have it set.)
|
|
# GPU_SERVER_URL=http://localhost:7700
|
|
|
|
# Forgejo API token — enables the in-app feedback button (files Forgejo issues)
|
|
# Create a token at https://git.opensourcesolarpunk.com/user/settings/applications
|
|
# FORGEJO_API_TOKEN=
|
|
|
|
# Enable thumbs up/down on chat answers (stores retrieval quality signals locally)
|
|
# Off by default — opt in when you want to collect correction data
|
|
# PAGEPIPER_CHAT_FEEDBACK=true
|