configuration

funes is configured via a TOML file at ~/.funes/config.toml. it is created automatically on first run with sensible defaults.

default config

[core]
watch_dirs = []
exclude = ["*.env", "*.secret", "node_modules", ".git", "target"]
auto_start = false
[embedder]
provider = "ollama"
model = "nomic-embed-text"
endpoint = "http://localhost:11434"
[llm]
provider = "ollama"
model = "llama3"
endpoint = "http://localhost:11434"
[store]
path = "~/.funes/db"
max_size_gb = 5

reference

[core]

watch_dirs

array of strings

directories funes watches for file changes when the daemon is running.

watch_dirs = ["~/projects", "~/notes"]

default: []

exclude

array of strings

glob patterns for files and directories to never index. supports * wildcards.

exclude = ["*.env", "*.secret", "node_modules", ".git"]

default: ["*.env", "*.secret", "node_modules", ".git", "target"]

auto_start

boolean

automatically start the watcher daemon on login. coming in v1.1.

auto_start = false

default: false

[embedder]

provider

string

the embedding provider to use. currently only ollama is supported.

provider = "ollama"

default: "ollama"

model

string

the embedding model to use. nomic-embed-text produces 768-dimensional vectors and is recommended.

model = "nomic-embed-text"

default: "nomic-embed-text"

endpoint

string

the ollama API endpoint. change this if you run ollama on a different port.

endpoint = "http://localhost:11434"

default: "http://localhost:11434"

[llm]

provider

string

the LLM provider for --llm synthesis mode.

provider = "ollama"

default: "ollama"

model

string

the model used for synthesizing plain English answers in --llm mode.

model = "llama3"

default: "llama3"

endpoint

string

the ollama API endpoint for LLM calls.

endpoint = "http://localhost:11434"

default: "http://localhost:11434"

[store]

path

string

path to the local SQLite vector database.

path = "~/.funes/db"

default: "~/.funes/db"

max_size_gb

integer

maximum size of the database in gigabytes.

max_size_gb = 5

default: 5