Skip to content

Configuration

Settings are stored in the database, so each database has its own. config set checks the key and the value; an unknown key or a bad value is refused.

1
2
3
4
notecast config get                     # every key, with defaults filled in
notecast config get gen_model
notecast config set gen_model qwen2.5:3b
notecast config set split_threshold 20
Key Default
ollama_url http://localhost:11434 Ollama's base URL; must start with http:// or https://
gen_model llama3.2:3b model for summaries, classification and subtopics
embed_model nomic-embed-text model for embeddings
ollama_timeout 120 seconds per request; raise it for big models on a CPU
num_ctx 8192 context window requested from Ollama; 0 uses the model's default
max_note_chars 12000 characters of a note sent to the model; the rest is cut
classify_every 10 auto scan: processed notes needed before classifying
organize_after 2 auto scan: classify runs before organizing
consolidate_after 3 auto scan: organize runs (that created subthemes) before consolidating
split_threshold 15 notes a theme needs before organize considers splitting it
consolidate_min_notes 3 notes a theme needs before consolidate links it under another
similar_threshold 0.7 cosine similarity a note needs to show up in search --similar (0–1)
language english language the model writes summaries in
context (empty) a line about your notes added to the summary prompt, e.g. platform engineering notes

Environment

Variable
NOTECAST_DB path of the database; default ./notecast.db in the current directory

Choosing models

llama3.2:3b runs on a laptop CPU (about 2 GB) and classified every sample note correctly in the live tests. llama3.2:1b is about twice as fast and fine for summaries and keywords, but it put notes in the wrong theme noticeably often (a Kubernetes note under Work, for example). Larger models are worth trying if your machine runs them; check them with the live tests. Every answer is constrained to a JSON schema (Ollama's structured outputs), so even small models reply in the expected shape; the model size decides how good the answers are.

Changing embed_model after notes are processed mixes embeddings from two models, which makes "similar notes" meaningless; run notecast reset --full and re-import.

num_ctx and max_note_chars go together: about 4 characters make a token, so the default 12 000 characters fit easily in 8 192 tokens with the prompt. A larger window costs memory in Ollama.