-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (27 loc) · 1.19 KB
/
Copy path.env.example
File metadata and controls
36 lines (27 loc) · 1.19 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
# Copy this file to .env only when you want to change defaults.
# ChatVault can launch, import, and search local data without a .env file.
# Optional DB path override. By default the desktop launcher stores data in:
# Windows: %LOCALAPPDATA%\ChatVault\chatvault.sqlite3
# macOS/Linux: ~/.local/share/chatvault/chatvault.sqlite3
# CHATVAULT_DB=chatvault.sqlite3
# LLM backend: "openai", "anthropic", or "ollama"
CHATVAULT_LLM_BACKEND=openai
# First-run setup wizard state. You can also set this in the app.
CHATVAULT_SETUP_COMPLETE=false
# Offline mode: if "true", never call remote LLM APIs. Use this with Ollama.
CHATVAULT_OFFLINE=false
# OpenAI backend
OPENAI_API_KEY=your_openai_key_here
OPENAI_MODEL_DEFAULT=gpt-4o-mini
# Anthropic backend
# ANTHROPIC_API_KEY=your_anthropic_key
# ANTHROPIC_MODEL_DEFAULT=claude-3-5-sonnet-20241022
# For ollama backend:
# CHATVAULT_LLM_BACKEND=ollama
# CHATVAULT_OFFLINE=true
# OLLAMA_MODEL=llama3
# OLLAMA_HOST=http://127.0.0.1:11434
# Embeddings backend: currently only "sentence-transformers" is supported.
CHATVAULT_EMBEDDINGS_BACKEND=sentence-transformers
# Local model name to use for embeddings:
CHATVAULT_EMBEDDINGS_MODEL=sentence-transformers/all-MiniLM-L6-v2