Package io.quarkiverse.langchain4j
Class RegisterAiService.BeanIfExistsRetrieverSupplier
java.lang.Object
io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsRetrieverSupplier
- All Implemented Interfaces:
Supplier<dev.langchain4j.retriever.Retriever<dev.langchain4j.data.segment.TextSegment>>
- Enclosing class:
- RegisterAiService
public static final class RegisterAiService.BeanIfExistsRetrieverSupplier
extends Object
implements Supplier<dev.langchain4j.retriever.Retriever<dev.langchain4j.data.segment.TextSegment>>
Marker that is used to tell Quarkus to use the
Retriever that the user has configured as a CDI bean.
If no such bean exists, then no retriever will be used.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondev.langchain4j.retriever.Retriever<dev.langchain4j.data.segment.TextSegment>get()
-
Constructor Details
-
BeanIfExistsRetrieverSupplier
public BeanIfExistsRetrieverSupplier()
-
-
Method Details