# Copy this file to ./EverOS/methods/EverCore/.env.
# Do not commit the copied .env file because it contains provider keys.

# Required by EverCore for memory extraction.
LLM_PROVIDER=openai
LLM_MODEL=<LLM_MODEL_NAME>
LLM_BASE_URL=<LLM_BASE_URL>
LLM_API_KEY=<LLM_API_KEY>
LLM_TEMPERATURE=0.3
LLM_MAX_TOKENS=1000000

# Required by EverCore for embedding and rerank.

VECTORIZE_PROVIDER=vllm
VECTORIZE_API_KEY=<EMBEDDING_API_KEY>
VECTORIZE_BASE_URL=<EMBEDDING_BASE_URL>
VECTORIZE_MODEL=Qwen3-VL-Embedding-2B
VECTORIZE_FALLBACK_PROVIDER=none
VECTORIZE_TIMEOUT=30
VECTORIZE_MAX_RETRIES=3
VECTORIZE_BATCH_SIZE=10
VECTORIZE_MAX_CONCURRENT=5
VECTORIZE_ENCODING_FORMAT=float
VECTORIZE_DIMENSIONS=1024

RERANK_PROVIDER=vllm
RERANK_API_KEY=<RERANK_API_KEY>
RERANK_BASE_URL=<RERANK_BASE_URL>
RERANK_MODEL=Qwen3-VL-Reranker-2B

# EverCore API server.
API_BASE_URL=http://localhost:1995
LOG_LEVEL=INFO
ENV=dev
PYTHONASYNCIODEBUG=1
MEMORY_LANGUAGE=en

# Docker compose default dependencies.

# ===================
# Redis Configuration
# ===================

TENANT_SINGLE_TENANT_ID=t_tom
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=8
REDIS_SSL=false

# ===================
# MongoDB Configuration
# ===================

MONGODB_HOST=localhost
MONGODB_PORT=27017
MONGODB_USERNAME=admin
MONGODB_PASSWORD=memsys123
MONGODB_DATABASE=memsys
MONGODB_URI_PARAMS=socketTimeoutMS=15000&authSource=admin

# ===================
# Elasticsearch Configuration
# ===================

ES_HOSTS=http://localhost:19200
ES_USERNAME=
ES_PASSWORD=
ES_VERIFY_CERTS=false
SELF_ES_INDEX_NS=memsys

# ===================
# Milvus Vector Database Configuration
# ===================

MILVUS_HOST=localhost
MILVUS_PORT=19530
SELF_MILVUS_COLLECTION_NS=memsys
