Skip to content

Document config.yaml #167

Description

@Ismael

Based on the code, this seems to be the shape of the config, and it is expected to be at ~/.config/lumen/config.yaml

log_level: info          # string: debug | info | warn | error
max_chunk_tokens: 512    # int
freshness_ttl: 60s       # duration string (e.g. "30s", "5m")
reindex_timeout: 0s      # duration string; 0s = no timeout

servers:
  - backend: ollama        # required: "ollama" | "lmstudio"
    host: http://localhost:11434  # required: http/https URL
    model: nomic-embed-text       # required
    dims: 768              # int, optional — inferred from known models if omitted
    ctx_length: 2048       # int, optional — inferred from known models if omitted
    min_score: 0.0         # float, optional — inferred from dims if omitted

  - backend: lmstudio
    host: http://localhost:1234
    model: text-embedding-nomic-embed-text-v1.5
    dims: 768
    ctx_length: 2048
    min_score: 0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions