High-Level Pipelines (maticlib.pipelines)
The ultimate orchestration layer tying everything together.
RAGPipeline
A complete wrapper handling Query Transformation, Hybrid Keyword Retrieval, and Generation.
from maticlib.pipelines.rag_pipeline import RAGPipeline
pipeline = RAGPipeline(
llm_client=client,
vector_index=vector_index,
use_hybrid=True,
use_query_transform=True
)
answer = pipeline.generate("What is Maticlib?")
Text2SQLPipeline
A complete wrapper handling Schema loading, LLM SQL Generation, SQL Injection Guarding, and Execution.