You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.9 KiB

# =============================================================================
# AI Second Brain — Environment Configuration
# Copy this file to .env and adjust values for your setup.
# =============================================================================
# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
POSTGRES_PASSWORD=brain
POSTGRES_PORT=5432
# ---------------------------------------------------------------------------
# Ollama (local LLM)
# ---------------------------------------------------------------------------
OLLAMA_PORT=11434
EMBEDDING_MODEL=nomic-embed-text
CHAT_MODEL=mistral
# ---------------------------------------------------------------------------
# RAG API
# ---------------------------------------------------------------------------
API_PORT=8000
LOG_LEVEL=INFO
# Retrieval defaults
SEARCH_TOP_K=10
SEARCH_THRESHOLD=0.65
RERANK_ENABLED=false
# Embedding provider: ollama | sentence_transformers
EMBEDDING_PROVIDER=ollama
EMBEDDING_DIMENSIONS=768
# CORS — comma-separated origins allowed to access the API
CORS_ORIGINS=http://localhost:3000
# ---------------------------------------------------------------------------
# Web UI
# ---------------------------------------------------------------------------
UI_PORT=3000
# ---------------------------------------------------------------------------
# Ingestion Worker
# ---------------------------------------------------------------------------
VAULT_PATH=/vault
CHUNK_SIZE=700
CHUNK_OVERLAP=70
POLL_INTERVAL=30
# ---------------------------------------------------------------------------
# AI Agents
# ---------------------------------------------------------------------------
INGESTION_POLL=15
LINKING_POLL=60
TAGGING_POLL=120
SUMMARIZATION_POLL=300
MAINTENANCE_POLL=3600
# Enable auto-tagging and summarization by agents
AUTO_TAG=true
AUTO_SUMMARIZE=true

Powered by TurnKey Linux.