# Memory service minimal configuration. # # Docker Compose maps this file to /app/.env inside the container. # Wheel package and source-tree startup require: # INSIGHT_MEMORY_ENV=/absolute/path/to/.env # Runtime files default to $HOME/.insight_memory/. # Most runtime settings have safe defaults in `insight_memory/config.py`. # Required: configure an OpenAI-compatible chat/completions provider. MEMORY_LLM_PROVIDER=deepseek MEMORY_LLM_MODEL=deepseek-chat MEMORY_LLM_API_KEY= MEMORY_LLM_BASE_URL=https://api.deepseek.com # Optional: uncomment only when running host-side scripts that need to connect # directly to the Compose database instead of connecting from inside a container. # MEMORY_DATABASE_URL=postgresql+asyncpg://postgres:password@127.0.0.1:5433/memory # MEMORY_SERVICE_PORT=8010 # MEMORY_APP_RELOAD=true # Optional: local embedding overrides. Defaults are provided by insight_memory/config.py. # MEMORY_EMBEDDING_PROVIDER=local # MEMORY_EMBEDDING_MODEL=BAAI/bge-base-zh-v1.5 # MEMORY_EMBEDDING_DIM=768 # MEMORY_EMBEDDING_CACHE_DIR=$HOME/.insight_memory/data/models # MEMORY_EMBEDDING_LOCAL_FILES_ONLY=false # MEMORY_EMBEDDING_MAX_CONCURRENCY=8 # MEMORY_EMBEDDING_BATCH_SIZE=32 # Optional: OpenAI-compatible embedding mode. # MEMORY_EMBEDDING_PROVIDER=openai_compatible # MEMORY_EMBEDDING_MODEL=text-embedding-3-small # MEMORY_EMBEDDING_DIM=1536 # MEMORY_EMBEDDING_API_KEY= # MEMORY_EMBEDDING_BASE_URL=https://api.openai.com/v1 # MEMORY_EMBEDDING_TIMEOUT_SECONDS=30 # MEMORY_EMBEDDING_MAX_CONCURRENCY=32 # MEMORY_EMBEDDING_BATCH_SIZE=128