Nous.Eval.Store.DuckDB (nous v0.21.1)

Copy Markdown View Source

DuckDB-backed Nous.Eval.Store using duckdbex.

{:ok, store} = Nous.Eval.Store.DuckDB.init(path: "priv/eval.duckdb")

Same layout as Nous.Eval.Store.SQLite: runs are rows of nous_eval_runs holding the Nous.Eval.Codec JSON text of the run (payload) and of its summary (summary), baselines are rows of nous_eval_baselines, only ever inserted, judge calibrations rows of nous_eval_calibrations (latest row per fingerprint id wins), profiles rows of nous_eval_profiles (unique by id and by (name, version)) and profile labels rows of nous_eval_profile_labels, only ever inserted. Payloads are plain JSON text, so DuckDB's json_extract can query stored runs directly.

Options

  • :path - database file path (default: ":memory:")