Uses of Interface
dev.langchain4j.rag.query.transformer.QueryTransformer
-
Uses of QueryTransformer in dev.langchain4j.rag
Modifier and TypeMethodDescriptionDefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder.queryTransformer
(QueryTransformer queryTransformer) ModifierConstructorDescriptionDefaultRetrievalAugmentor
(QueryTransformer queryTransformer, QueryRouter queryRouter, ContentAggregator contentAggregator, ContentInjector contentInjector, Executor executor) -
Uses of QueryTransformer in dev.langchain4j.rag.query.transformer
Modifier and TypeClassDescriptionclass
AQueryTransformer
that leverages aChatLanguageModel
to condense a givenQuery
along with a chat memory (previous conversation history) into a conciseQuery
.class
Default implementation ofQueryTransformer
intended to be suitable for the majority of use cases.class