58 lines
1.6 KiB
Bash
58 lines
1.6 KiB
Bash
# =============================================================================
|
|
# NoteGraph Configuration
|
|
# =============================================================================
|
|
|
|
# --- SilverBullet ---
|
|
# Format: "username:password" for basic auth
|
|
SB_USER=admin:changeme
|
|
|
|
# Domain (for reverse proxy / Caddy)
|
|
DOMAIN=notes.andreknie.de
|
|
|
|
# Git auto-commit (optional)
|
|
GIT_AUTOCOMMIT=true
|
|
GIT_REMOTE=https://github.com/DoctoDre/NoteGraph.git
|
|
|
|
# --- LLM Provider ---
|
|
# Supported: openai, anthropic, google, mistral, ollama
|
|
LLM_PROVIDER=openai
|
|
LLM_MODEL=gpt-4o
|
|
|
|
# Provider API keys (set the one matching your LLM_PROVIDER)
|
|
OPENAI_API_KEY=
|
|
ANTHROPIC_API_KEY=
|
|
GOOGLE_API_KEY=
|
|
MISTRAL_API_KEY=
|
|
|
|
# Ollama (local models, no API key needed)
|
|
OLLAMA_BASE_URL=http://localhost:11434
|
|
|
|
# --- OrgMyLife Integration ---
|
|
# API endpoint and key for creating tasks from action items
|
|
ORGMYLIFE_API_URL=https://api.andreknie.de
|
|
ORGMYLIFE_API_KEY=
|
|
|
|
# --- Nextcloud Inbox ---
|
|
# WebDAV URL to poll for new documents (e.g., https://cloud.example.com/remote.php/dav/files/user/Inbox/)
|
|
NEXTCLOUD_INBOX_URL=
|
|
NEXTCLOUD_INBOX_USER=
|
|
NEXTCLOUD_INBOX_PASSWORD=
|
|
|
|
# --- Paths ---
|
|
# Directory containing the NoteGraph markdown files
|
|
NOTES_DIR=./notes
|
|
# Directory where incoming files are dropped for processing
|
|
INBOX_DIR=./ingestion/inbox
|
|
|
|
# --- OCR ---
|
|
# Enable/disable OCR for scanned documents and images
|
|
OCR_ENABLED=true
|
|
# Tesseract language codes (+ separated)
|
|
OCR_LANGUAGE=deu+eng
|
|
|
|
# --- Behavior ---
|
|
# Minimum confidence score (0.0-1.0) for entity detection
|
|
CONFIDENCE_THRESHOLD=0.7
|
|
# Automatically git commit after processing
|
|
AUTO_COMMIT=true
|