pyproject.toml (Python 3.12, uv), codex/ package (config, db, models), infra/ (docker-compose + schema), .env.example, .gitignore, README. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
1.0 KiB
Plaintext
26 lines
1.0 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
|
|
|
|
# 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
|