Skip to content

Commit 5cd40e5

Browse files
committed
skipped files starting with a dot
1 parent dce76dc commit 5cd40e5

3 files changed

Lines changed: 45 additions & 0 deletions

File tree

.env.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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-...

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules/
2+
dist/
3+
.env
4+
.betterdb_context.md
5+
.mcp.json
6+
*.log
7+
bun.lockb

.npmignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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

0 commit comments

Comments
 (0)