Package dev.langchain4j.rag
Class DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
java.lang.Object
dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
- Enclosing class:
DefaultRetrievalAugmentor
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contentAggregator
(ContentAggregator contentAggregator) contentInjector
(ContentInjector contentInjector) contentRetriever
(ContentRetriever contentRetriever) queryRouter
(QueryRouter queryRouter) queryTransformer
(QueryTransformer queryTransformer) toString()
-
Method Details
-
contentRetriever
public DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder contentRetriever(ContentRetriever contentRetriever) -
queryTransformer
public DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder queryTransformer(QueryTransformer queryTransformer) -
queryRouter
public DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder queryRouter(QueryRouter queryRouter) -
contentAggregator
public DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder contentAggregator(ContentAggregator contentAggregator) -
contentInjector
public DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder contentInjector(ContentInjector contentInjector) -
executor
-
build
-
toString
-