Learn how to build and customize R2R
R2RBuilder
and a set of factory classes, R2RFactory*
. These components work together to provide a flexible and intuitive way to construct R2R instances with custom configurations, providers, pipes, and pipelines.
R2RBuilder
is the central component for assembling R2R applications. It employs the Builder pattern for simple application customization.
R2RPipeFactory
includes methods like:
create_parsing_pipe()
create_embedding_pipe()
create_vector_search_pipe()
create_rag_pipe()
R2RPipeFactory
:
with_auth_provider
with_database_provider
with_embedding_provider
with_eval_provider
with_llm_provider
with_prompt_provider
with_kg_provider
with_crypto_provider
with_parsing_pipe
with_embedding_pipe
with_vector_storage_pipe
with_vector_search_pipe
with_rag_pipe
with_streaming_rag_pipe
with_eval_pipe
with_kg_pipe
with_kg_storage_pipe
with_kg_search_pipe
with_ingestion_pipeline
with_search_pipeline
with_rag_pipeline
with_streaming_rag_pipeline
with_eval_pipeline