Skip to content

Configuration

Retold.open("memory.sqlite") uses the measured BGE-M3 retrieval defaults. Use profile="lite" for the calibrated MiniLM profile. Pass a RetoldConfig or the path to a YAML file through config= when an application needs different models, budgets, lifecycle settings, or trigger behavior.

from retold import Retold

retold = Retold.open("memory.sqlite", config="retold.yaml")

The complete configuration contract and the reasoning behind each default live in section 2 of the low-level design. The generated configuration API lists every typed field.

The utility-aware path uses host-owned model clients and UtilityAwareConfig, so its planner, admission, timeout, and bundle settings do not live in this YAML file. See the utility-aware architecture.