Class RegisterAiService.BeanModerationModelSupplier

java.lang.Object
io.quarkiverse.langchain4j.RegisterAiService.BeanModerationModelSupplier
All Implemented Interfaces:
Supplier<dev.langchain4j.model.moderation.ModerationModel>
Enclosing class:
RegisterAiService

public static final class RegisterAiService.BeanModerationModelSupplier extends Object implements Supplier<dev.langchain4j.model.moderation.ModerationModel>
Marker that is used to tell Quarkus to use the ModerationModel that has been configured as a CDI bean by any of the extensions providing such capability (such as quarkus-langchain4j-openai and quarkus-langchain4j-azure-openai).
  • Constructor Details

    • BeanModerationModelSupplier

      public BeanModerationModelSupplier()
  • Method Details

    • get

      public dev.langchain4j.model.moderation.ModerationModel get()
      Specified by:
      get in interface Supplier<dev.langchain4j.model.moderation.ModerationModel>