70 lines
2.2 KiB
Bash
70 lines
2.2 KiB
Bash
# Memory V2 local canary example.
|
|
# Copy the variables you need into your local shell or .env.
|
|
# Do not use the local hash embedding module for production retrieval quality.
|
|
|
|
MEMORY_ENABLED=1
|
|
MEMORY_FAIL_OPEN=1
|
|
|
|
# Legacy-safe default canary.
|
|
MEMORY_BACKEND=legacy
|
|
|
|
# pgvector local canary.
|
|
# MEMORY_BACKEND=pgvector
|
|
# MEMORY_VECTOR_ENABLED=1
|
|
# Homebrew PostgreSQL local default on John's machine:
|
|
# MEMORY_PGVECTOR_DATABASE_URL=postgresql://john@127.0.0.1:5432/memind_memory
|
|
# Password-based PostgreSQL example:
|
|
# MEMORY_PGVECTOR_DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/memind_memory
|
|
# MEMORY_PGVECTOR_TABLE=memory_embeddings
|
|
# MEMORY_PGVECTOR_EMBEDDING_MODULE=./scripts/embed-memory-v2-local-hash.mjs
|
|
# MEMORY_V2_LOCAL_EMBEDDING_DIMENSIONS=3
|
|
|
|
# Qdrant read-only canary.
|
|
# MEMORY_BACKEND=qdrant
|
|
# MEMORY_QDRANT_ENABLED=1
|
|
# MEMORY_QDRANT_URL=http://127.0.0.1:6333
|
|
# MEMORY_QDRANT_COLLECTION=memind_memory
|
|
# MEMORY_QDRANT_EMBEDDING_MODULE=./scripts/embed-memory-v2-local-hash.mjs
|
|
|
|
# Weaviate read-only canary.
|
|
# MEMORY_BACKEND=weaviate
|
|
# MEMORY_WEAVIATE_ENABLED=1
|
|
# MEMORY_WEAVIATE_URL=http://127.0.0.1:8080
|
|
# MEMORY_WEAVIATE_COLLECTION=MemindMemory
|
|
# MEMORY_WEAVIATE_EMBEDDING_MODULE=./scripts/embed-memory-v2-local-hash.mjs
|
|
|
|
# Mem0 write/compact canary.
|
|
# MEMORY_BACKEND=mem0
|
|
# MEMORY_MEM0_ENABLED=1
|
|
# MEMORY_MEM0_API_KEY=replace-me
|
|
# MEMORY_MEM0_PROJECT_ID=memind_project
|
|
# MEMORY_MEM0_BASE_URL=https://api.mem0.ai
|
|
|
|
# Letta lifecycle canary.
|
|
# MEMORY_BACKEND=letta
|
|
# MEMORY_LETTA_ENABLED=1
|
|
# MEMORY_LETTA_API_KEY=replace-me
|
|
# MEMORY_LETTA_AGENT_ID=agent_1
|
|
# MEMORY_LETTA_PROJECT_ID=memind_project
|
|
# MEMORY_LETTA_BASE_URL=https://api.letta.com
|
|
|
|
# Neo4j behavior graph canary.
|
|
# MEMORY_BACKEND=neo4j
|
|
# MEMORY_NEO4J_ENABLED=1
|
|
# MEMORY_NEO4J_HTTP_URL=http://127.0.0.1:7474
|
|
# MEMORY_NEO4J_USER=neo4j
|
|
# MEMORY_NEO4J_PASSWORD=replace-me
|
|
# MEMORY_NEO4J_DATABASE=neo4j
|
|
|
|
# Redis Streams event canary.
|
|
# MEMORY_BACKEND=redis-streams
|
|
# MEMORY_REDIS_STREAMS_ENABLED=1
|
|
# MEMORY_REDIS_STREAMS_URL=redis://127.0.0.1:6379
|
|
# MEMORY_REDIS_STREAMS_STREAM=memind:memory-events
|
|
|
|
# LangGraph policy canary.
|
|
# MEMORY_BACKEND=langgraph
|
|
# MEMORY_LANGGRAPH_ENABLED=1
|
|
# MEMORY_LANGGRAPH_URL=http://127.0.0.1:2024
|
|
# MEMORY_LANGGRAPH_POLICY_ID=memory_policy
|