Ersetzt die private LAN-IP des Jetson durch jetson.local in Doku, Shell-Skripten, .env.example und Docstrings. Funktional betroffen ist nur ein os.environ.setdefault-Fallback im Spike; gesetzte Env-Vars (OLLAMA_BASE_URL, GROBID_URL) haben weiterhin Vorrang. uv.lock bleibt unveraendert (enthaelt Versionsnummern, keine Adressen). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
# Copy this file to .env and fill in your values.
|
|
# Never commit .env to version control.
|
|
|
|
# PostgreSQL connection string (psycopg / asyncpg format)
|
|
# Example: postgresql://researcher:change_me@localhost:5432/papers
|
|
DATABASE_URL=postgresql://researcher:change_me@localhost:5432/papers
|
|
|
|
# Optional: privileged connection used by `codex migrate` to apply schema DDL.
|
|
# The app DATABASE_URL is often a least-privilege DML role that cannot CREATE/
|
|
# ALTER owner-held tables; point this at an owner/superuser connection.
|
|
# Falls back to DATABASE_URL when unset.
|
|
# MIGRATION_DATABASE_URL=postgresql://postgres:change_me@localhost:5432/papers
|
|
|
|
# GROBID service base URL (containerised — see infra/docker-compose.yml)
|
|
GROBID_URL=http://localhost:8070
|
|
|
|
# Ollama base URL for optional local LLM Q&A layer
|
|
OLLAMA_BASE_URL=http://localhost:11434
|
|
|
|
# Sentence-transformers model for dense embeddings.
|
|
# BGE-M3 (BAAI/bge-m3) produces 1024-dimensional vectors and supports
|
|
# dense + sparse (hybrid) retrieval. Change together with EMBEDDING_DIM.
|
|
EMBEDDING_MODEL=BAAI/bge-m3
|
|
|
|
# Dimension of the embedding vectors. Must match EMBEDDING_MODEL output.
|
|
# BGE-M3 = 1024 | Jina v4 = 2048 | Qwen3-Embedding-0.6B = 1024
|
|
EMBEDDING_DIM=1024
|
|
|
|
# E-mail address for the OpenAlex Polite Pool (faster rate limits).
|
|
# Required by OpenAlex ToS when making automated requests.
|
|
OPENALEX_MAILTO=you@example.com
|
|
|
|
# Nougat HTTP-Server (Jetson: http://jetson.local:8080 | lokal: http://localhost:8080)
|
|
# Used by `codex ingest <id> --rich` for full-PDF Mathpix Markdown output.
|
|
NOUGAT_URL=http://localhost:8080
|
|
|
|
# F-16 Chunk Quality Gate thresholds (all optional — defaults shown)
|
|
CHUNK_MIN_CHARS=60 # Discard chunks shorter than this many characters
|
|
CHUNK_MIN_ALPHA_RATIO=0.40 # Discard chunks with < 40% alphabetic characters
|
|
CHUNK_MAX_BIB_SCORE=0.70 # Discard chunks scoring above this bibliography threshold
|