mix llm_db.build (LLM DB v2025.12.4)

View Source

Builds snapshot.json from configured sources using the Engine ETL pipeline.

Runs the complete ETL pipeline (Ingest → Normalize → Validate → Merge → Enrich → Filter → Index) on configured sources to generate a fresh snapshot.json file.

Usage

mix llm_db.build

Configuration

Configure sources in your application config:

config :llm_db,
  sources: [
    {LLMDB.Sources.Packaged, %{}},
    {LLMDB.Sources.ModelsDev, %{url: "https://models.dev/api.json"}},
    {LLMDB.Sources.JSONFile, %{paths: ["priv/custom.json"]}}
  ],
  allow: :all,
  deny: %{},
  prefer: [:openai, :anthropic]