-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (34 loc) · 1.52 KB
/
Copy path.env.example
File metadata and controls
38 lines (34 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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