-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathconfig.example.toml
More file actions
55 lines (44 loc) · 1.5 KB
/
Copy pathconfig.example.toml
File metadata and controls
55 lines (44 loc) · 1.5 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Dwata Configuration
# Copy this file to project.toml in the project root and fill in your values.
# project.toml is gitignored — each environment (local dev, server) has its own copy.
[deploy]
server_ip = "203.0.113.10"
ssh_user = "dwata"
domain_name = "app.example.com"
letsencrypt_email = "admin@example.com"
[database]
# SQLite database path (relative or absolute)
# If omitted, defaults to OS local data dir + dwata/db.sqlite
path = "dwata.db"
[server]
host = "127.0.0.1"
port = 8080
[gui]
port = 3030
[jwt]
secret = "your-super-secret-jwt-key-change-this-in-production"
expiration_hours = 24
[cors]
allowed_origins = ["http://localhost:3030"]
[google_oauth]
# Google Cloud Console OAuth2 client ID for Gmail
client_id = "YOUR_CLIENT_ID.apps.googleusercontent.com"
client_secret = "YOUR_CLIENT_SECRET"
# Redirect URI is automatically constructed from server host and port
[downloads]
# When false, the API will not auto-start download jobs on startup.
auto_start = false
[search]
# Optional absolute path for Tantivy index directory.
# If omitted, defaults to OS local data dir + dwata/tantivy-index
# index_path = "/absolute/path/to/tantivy-index"
[ai_provider_api_keys]
# openai_api_key = "your-openai-key"
# gemini_api_key = "your-gemini-key"
[selected_llm]
# Controls the model used by KG extraction agents.
# Providers: "ollama", "openai", "gemini"
# OpenAI model allowed: "gpt-5-mini"
# Gemini model allowed: "gemini-3-flash-preview"
provider = "ollama"
model = "qwen3.5:2b"