Each item's provider directives. A provider may refuse an item (a mandatory routing value is missing); that item is reported, never written to a default namespace, and the rest proceed.
The VectorDBBase for a MJ: Vector Databases row, keyed from its credential or the env var.
Items grouped by their (embedding model, vector index) key.
The infrastructure for a group key.
Resolve the target MJ: Vector Indexes row ID for a content source using the pipeline's
vector-index resolution cascade (groupKeyFor):
ContentSource.VectorIndexIDContentType.VectorIndexIDContentPipeline.DefaultVectorIndexID on the active default MJ: AI Configurations row,
or the sole vector index when VectorIndexes.length === 1.Returns null (and logs) when no default index can be unambiguously resolved; the caller
decides what that means (creating an Entity Record Document treats it as a configuration error).
Resolves and caches vector infrastructure for content items.
One instance per pass (the autotagger) or per run (a pipeline stage): each group's database instance and credential lookup are built once, and a failed build is not cached.