Skip to main content

Module backend_choice

Module backend_choice 

Source
Expand description

clap definitions for the top-level sqlite-graphrag binary. LLM / embedding backend CLI choices (Wave C1).

Enums§

EmbeddingBackendChoice
v1.0.93: embedding backend selector. Separate from --llm-backend which controls enrichment (entity extraction, body enrichment) via subprocess. auto tries OpenRouter if API key is available, falls back to LLM subprocess. openrouter requires API key (exit 78 if absent). llm forces subprocess (codex/claude/opencode) — legacy behaviour.
LlmBackendChoice
v1.0.82 (GAP-003): LLM backend for embedding. Accepts auto (default — detects codex or claude on the PATH), codex (forces codex exec), claude (forces claude -p), or none (skips embedding; useful for tests).