Skip to content

latent.rag.components

Component registry for RAG pipeline building blocks.

Provides a static catalogue of available components, their valid config ranges, and validation rules for pipeline configurations.

Classes

ComponentRegistry

ComponentRegistry()

Static registry of available RAG pipeline components and validation.

Methods

ComponentRegistry.get_available_components

get_available_components() -> dict[str, Any]

Return the full component catalogue for agent consumption.

ComponentRegistry.validate

validate(config: dict[str, Any]) -> list[str]

Validate a nested pipeline config dict. Returns list of error strings (empty = valid).