Class RegisterAiService.BeanIfExistsRetrievalAugmentorSupplier

java.lang.Object
io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsRetrievalAugmentorSupplier
All Implemented Interfaces:
Supplier<dev.langchain4j.rag.RetrievalAugmentor>
Enclosing class:
RegisterAiService

public static final class RegisterAiService.BeanIfExistsRetrievalAugmentorSupplier extends Object implements Supplier<dev.langchain4j.rag.RetrievalAugmentor>
Marker that is used to tell Quarkus to use the RetrievalAugmentor that the user has configured as a CDI bean. If no such bean exists, then no retrieval augmentor will be used.
  • Constructor Details

    • BeanIfExistsRetrievalAugmentorSupplier

      public BeanIfExistsRetrievalAugmentorSupplier()
  • Method Details

    • get

      public dev.langchain4j.rag.RetrievalAugmentor get()
      Specified by:
      get in interface Supplier<dev.langchain4j.rag.RetrievalAugmentor>