File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Valkey connection
2+ BETTERDB_VALKEY_URL = redis://localhost:6390
3+ BETTERDB_VALKEY_INDEX_NAME = betterdb-memory-index
4+
5+ # Ollama
6+ BETTERDB_OLLAMA_URL = http://localhost:11434
7+ BETTERDB_EMBED_MODEL = mxbai-embed-large
8+ BETTERDB_SUMMARIZE_MODEL = mistral:7b
9+ BETTERDB_EMBED_DIM = 1024
10+
11+ # Memory settings
12+ BETTERDB_MAX_CONTEXT_MEMORIES = 5
13+ BETTERDB_DECAY_RATE = 0.95
14+ BETTERDB_COMPRESS_THRESHOLD = 0.3
15+ BETTERDB_DISTILL_MIN_SESSIONS = 5
16+ BETTERDB_CONTEXT_FILE = .betterdb_context.md
17+ BETTERDB_AGING_INTERVAL_HOURS = 6
18+
19+ # Remote fallback (optional)
20+ BETTERDB_ALLOW_REMOTE_FALLBACK = true
21+ # OPENAI_API_KEY=sk-...
Original file line number Diff line number Diff line change 1+ node_modules /
2+ dist /
3+ .env
4+ .betterdb_context.md
5+ .mcp.json
6+ * .log
7+ bun.lockb
Original file line number Diff line number Diff line change 1+ tests /
2+ * .test.ts
3+ * .spec.ts
4+ jest.config. *
5+ .eslintrc *
6+ .prettierrc *
7+ .env *
8+ .env.example
9+ .github /
10+ .git /
11+ .DS_Store
12+ Thumbs.db
13+ dist /
14+ * .compiled
15+ Dockerfile
16+ .dockerignore
17+ docker-compose * .yml
You can’t perform that action at this time.
0 commit comments